@angular/compiler-cli 13.1.0-next.0 → 13.1.0-next.1

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 (59) hide show
  1. package/bundles/{chunk-AMD3PZ5E.js → chunk-2DL256T3.js} +84 -73
  2. package/bundles/chunk-2DL256T3.js.map +6 -0
  3. package/bundles/{chunk-GKA4YGOR.js → chunk-ACINBTQB.js} +5 -5
  4. package/bundles/{chunk-GKA4YGOR.js.map → chunk-ACINBTQB.js.map} +0 -0
  5. package/bundles/{chunk-XPUO7JIT.js → chunk-BUHTODFL.js} +6 -6
  6. package/bundles/{chunk-XPUO7JIT.js.map → chunk-BUHTODFL.js.map} +0 -0
  7. package/bundles/{chunk-DLQQUCPJ.js → chunk-EP5JHXG2.js} +8 -8
  8. package/bundles/{chunk-DLQQUCPJ.js.map → chunk-EP5JHXG2.js.map} +0 -0
  9. package/bundles/{chunk-J6CW3T62.js → chunk-GLCRIILX.js} +5 -5
  10. package/bundles/{chunk-J6CW3T62.js.map → chunk-GLCRIILX.js.map} +0 -0
  11. package/bundles/{chunk-E64KJMKN.js → chunk-JNWO3JB2.js} +42 -42
  12. package/bundles/chunk-JNWO3JB2.js.map +6 -0
  13. package/bundles/{chunk-DDB2HQYR.js → chunk-MIQ5UCHZ.js} +66 -66
  14. package/bundles/{chunk-DDB2HQYR.js.map → chunk-MIQ5UCHZ.js.map} +1 -1
  15. package/bundles/{chunk-M7P4HAA4.js → chunk-PBA67OV4.js} +4 -4
  16. package/bundles/{chunk-M7P4HAA4.js.map → chunk-PBA67OV4.js.map} +0 -0
  17. package/bundles/{chunk-BPCUCINV.js → chunk-QDWL7SZJ.js} +2 -2
  18. package/bundles/{chunk-BPCUCINV.js.map → chunk-QDWL7SZJ.js.map} +0 -0
  19. package/bundles/{chunk-IG72ZKR7.js → chunk-QL6ZC3U3.js} +8 -8
  20. package/bundles/{chunk-IG72ZKR7.js.map → chunk-QL6ZC3U3.js.map} +0 -0
  21. package/bundles/{chunk-CRTDZEUV.js → chunk-S3QIIFH7.js} +6 -6
  22. package/bundles/{chunk-CRTDZEUV.js.map → chunk-S3QIIFH7.js.map} +0 -0
  23. package/bundles/{chunk-JTYUTYS2.js → chunk-SKBLJA43.js} +3 -3
  24. package/bundles/{chunk-JTYUTYS2.js.map → chunk-SKBLJA43.js.map} +0 -0
  25. package/bundles/{chunk-XKKOHZ3B.js → chunk-UMUIU7TE.js} +4 -4
  26. package/bundles/{chunk-XKKOHZ3B.js.map → chunk-UMUIU7TE.js.map} +0 -0
  27. package/bundles/{chunk-QLSZVEIC.js → chunk-VKIZ4TCJ.js} +137 -132
  28. package/bundles/chunk-VKIZ4TCJ.js.map +6 -0
  29. package/bundles/{chunk-WOCQ7IIB.js → chunk-WOC6KEUY.js} +43 -41
  30. package/bundles/{chunk-WOCQ7IIB.js.map → chunk-WOC6KEUY.js.map} +1 -1
  31. package/bundles/{chunk-QKLPWCHI.js → chunk-WYO7JO2T.js} +19 -19
  32. package/bundles/{chunk-QKLPWCHI.js.map → chunk-WYO7JO2T.js.map} +0 -0
  33. package/bundles/{chunk-5VGHS4A4.js → chunk-XA5IZLLC.js} +1 -1
  34. package/bundles/{chunk-5VGHS4A4.js.map → chunk-XA5IZLLC.js.map} +0 -0
  35. package/bundles/index.js +15 -15
  36. package/bundles/linker/babel/index.js +13 -13
  37. package/bundles/linker/index.js +5 -5
  38. package/bundles/ngcc/index.js +14 -14
  39. package/bundles/ngcc/main-ngcc.js +15 -15
  40. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +15 -15
  41. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -5
  42. package/bundles/private/bazel.js +2 -2
  43. package/bundles/private/localize.js +4 -4
  44. package/bundles/private/migrations.js +6 -6
  45. package/bundles/private/tooling.js +4 -4
  46. package/bundles/src/bin/ng_xi18n.js +12 -12
  47. package/bundles/src/bin/ngc.js +10 -10
  48. package/bundles_metadata.json +1 -1
  49. package/linker/src/file_linker/partial_linkers/util.d.ts +2 -2
  50. package/linker/src/file_linker/translator.d.ts +1 -1
  51. package/ngcc/src/packages/build_marker.d.ts +1 -1
  52. package/ngcc/src/packages/entry_point.d.ts +5 -0
  53. package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +1 -1
  54. package/package.json +2 -2
  55. package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
  56. package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
  57. package/bundles/chunk-AMD3PZ5E.js.map +0 -6
  58. package/bundles/chunk-E64KJMKN.js.map +0 -6
  59. package/bundles/chunk-QLSZVEIC.js.map +0 -6
@@ -13,7 +13,7 @@ import {
13
13
  reflectObjectLiteral,
14
14
  reflectTypeEntityToDeclaration,
15
15
  typeNodeToValueExpr
16
- } from "./chunk-CRTDZEUV.js";
16
+ } from "./chunk-S3QIIFH7.js";
17
17
  import {
18
18
  ImportFlags,
19
19
  ImportManager,
@@ -27,22 +27,22 @@ import {
27
27
  translateExpression,
28
28
  translateStatement,
29
29
  translateType
30
- } from "./chunk-QKLPWCHI.js";
30
+ } from "./chunk-WYO7JO2T.js";
31
31
  import {
32
32
  absoluteFrom,
33
33
  absoluteFromSourceFile,
34
34
  relative
35
- } from "./chunk-DLQQUCPJ.js";
35
+ } from "./chunk-EP5JHXG2.js";
36
36
  import {
37
37
  PerfEvent,
38
38
  PerfPhase
39
- } from "./chunk-J6CW3T62.js";
39
+ } from "./chunk-GLCRIILX.js";
40
40
  import {
41
41
  __spreadProps,
42
42
  __spreadValues
43
- } from "./chunk-5VGHS4A4.js";
43
+ } from "./chunk-XA5IZLLC.js";
44
44
 
45
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
45
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
46
46
  var DynamicValue = class {
47
47
  constructor(node, reason, code) {
48
48
  this.node = node;
@@ -127,10 +127,10 @@ var DynamicValue = class {
127
127
  }
128
128
  };
129
129
 
130
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
130
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
131
131
  import ts from "typescript";
132
132
 
133
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
133
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
134
134
  var ResolvedModule = class {
135
135
  constructor(exports, evaluate) {
136
136
  this.exports = exports;
@@ -160,7 +160,7 @@ var EnumValue = class {
160
160
  var KnownFn = class {
161
161
  };
162
162
 
163
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
163
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
164
164
  var ArraySliceBuiltinFn = class extends KnownFn {
165
165
  constructor(lhs) {
166
166
  super();
@@ -213,7 +213,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
213
213
  }
214
214
  };
215
215
 
216
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
216
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
217
217
  var AssignHelperFn = class extends ObjectAssignBuiltinFn {
218
218
  };
219
219
  var SpreadHelperFn = class extends KnownFn {
@@ -266,7 +266,7 @@ var ReadHelperFn = class extends KnownFn {
266
266
  }
267
267
  };
268
268
 
269
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
269
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
270
270
  var jsGlobalObjectValue = new Map([["assign", new ObjectAssignBuiltinFn()]]);
271
271
  var assignTsHelperFn = new AssignHelperFn();
272
272
  var spreadTsHelperFn = new SpreadHelperFn();
@@ -290,7 +290,7 @@ function resolveKnownDeclaration(decl) {
290
290
  }
291
291
  }
292
292
 
293
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
293
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
294
294
  function literalBinaryOp(op) {
295
295
  return { op, literal: true };
296
296
  }
@@ -875,7 +875,7 @@ function owningModule(context, override = null) {
875
875
  }
876
876
  }
877
877
 
878
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
878
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
879
879
  var PartialEvaluator = class {
880
880
  constructor(host, checker, dependencyTracker) {
881
881
  this.host = host;
@@ -895,10 +895,10 @@ var PartialEvaluator = class {
895
895
  }
896
896
  };
897
897
 
898
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
898
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
899
899
  import ts3 from "typescript";
900
900
 
901
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
901
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
902
902
  var ErrorCode;
903
903
  (function(ErrorCode2) {
904
904
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -949,7 +949,7 @@ var ErrorCode;
949
949
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
950
950
  })(ErrorCode || (ErrorCode = {}));
951
951
 
952
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
952
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
953
953
  var COMPILER_ERRORS_WITH_GUIDES = new Set([
954
954
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
955
955
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -960,10 +960,10 @@ var COMPILER_ERRORS_WITH_GUIDES = new Set([
960
960
  ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
961
961
  ]);
962
962
 
963
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
963
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
964
964
  import ts2 from "typescript";
965
965
 
966
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
966
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
967
967
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
968
968
  function replaceTsWithNgInErrors(errors) {
969
969
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -972,7 +972,7 @@ function ngErrorCode(code) {
972
972
  return parseInt("-99" + code);
973
973
  }
974
974
 
975
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
975
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
976
976
  var FatalDiagnosticError = class {
977
977
  constructor(code, node, message, relatedInformation) {
978
978
  this.code = code;
@@ -1012,10 +1012,10 @@ function isFatalDiagnosticError(err) {
1012
1012
  return err._isFatalDiagnosticError === true;
1013
1013
  }
1014
1014
 
1015
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
1015
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
1016
1016
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
1017
1017
 
1018
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1018
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1019
1019
  function describeResolvedType(value, maxDepth = 1) {
1020
1020
  var _a, _b;
1021
1021
  if (value === null) {
@@ -1141,7 +1141,7 @@ function getContainerNode(node) {
1141
1141
  return node.getSourceFile();
1142
1142
  }
1143
1143
 
1144
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
1144
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
1145
1145
  import { ExternalExpr, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
1146
1146
  import ts4 from "typescript";
1147
1147
  function getConstructorDependencies(clazz, reflector, isCore) {
@@ -1501,11 +1501,11 @@ function toFactoryMetadata(meta, target) {
1501
1501
  };
1502
1502
  }
1503
1503
 
1504
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
1504
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
1505
1505
  import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
1506
1506
  import ts19 from "typescript";
1507
1507
 
1508
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
1508
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
1509
1509
  import ts5 from "typescript";
1510
1510
  var SemanticSymbol = class {
1511
1511
  constructor(decl) {
@@ -1521,7 +1521,7 @@ function getSymbolIdentifier(decl) {
1521
1521
  return decl.name.text;
1522
1522
  }
1523
1523
 
1524
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
1524
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
1525
1525
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
1526
1526
  var OpaqueSymbol = class extends SemanticSymbol {
1527
1527
  isPublicApiAffected() {
@@ -1664,10 +1664,10 @@ function getImportPath(expr) {
1664
1664
  }
1665
1665
  }
1666
1666
 
1667
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
1667
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
1668
1668
  import ts6 from "typescript";
1669
1669
 
1670
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
1670
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
1671
1671
  function isSymbolEqual(a, b) {
1672
1672
  if (a.decl === b.decl) {
1673
1673
  return true;
@@ -1717,7 +1717,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
1717
1717
  return true;
1718
1718
  }
1719
1719
 
1720
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
1720
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
1721
1721
  function extractSemanticTypeParameters(node) {
1722
1722
  if (!ts6.isClassDeclaration(node) || node.typeParameters === void 0) {
1723
1723
  return null;
@@ -1737,17 +1737,17 @@ function isTypeParameterEqual(a, b) {
1737
1737
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
1738
1738
  }
1739
1739
 
1740
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1740
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1741
1741
  var MetaType;
1742
1742
  (function(MetaType2) {
1743
1743
  MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
1744
1744
  MetaType2[MetaType2["Directive"] = 1] = "Directive";
1745
1745
  })(MetaType || (MetaType = {}));
1746
1746
 
1747
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1747
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1748
1748
  import ts8 from "typescript";
1749
1749
 
1750
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1750
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1751
1751
  var ClassPropertyMapping = class {
1752
1752
  constructor(forwardMap) {
1753
1753
  this.forwardMap = forwardMap;
@@ -1823,7 +1823,7 @@ function reverseMapFromForwardMap(forwardMap) {
1823
1823
  return reverseMap;
1824
1824
  }
1825
1825
 
1826
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1826
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1827
1827
  import ts7 from "typescript";
1828
1828
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
1829
1829
  if (!ts7.isTupleTypeNode(def)) {
@@ -1990,7 +1990,7 @@ function hasInjectableFields(clazz, host) {
1990
1990
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
1991
1991
  }
1992
1992
 
1993
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1993
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1994
1994
  var DtsMetadataReader = class {
1995
1995
  constructor(checker, reflector) {
1996
1996
  this.checker = checker;
@@ -2090,7 +2090,7 @@ function readBaseClass2(clazz, checker, reflector) {
2090
2090
  return null;
2091
2091
  }
2092
2092
 
2093
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
2093
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
2094
2094
  function flattenInheritedDirectiveMetadata(reader, dir) {
2095
2095
  const topMeta = reader.getDirectiveMetadata(dir);
2096
2096
  if (topMeta === null) {
@@ -2147,7 +2147,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
2147
2147
  });
2148
2148
  }
2149
2149
 
2150
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
2150
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
2151
2151
  var LocalMetadataRegistry = class {
2152
2152
  constructor() {
2153
2153
  this.directives = new Map();
@@ -2206,7 +2206,7 @@ var InjectableClassRegistry = class {
2206
2206
  }
2207
2207
  };
2208
2208
 
2209
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2209
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2210
2210
  var ResourceRegistry = class {
2211
2211
  constructor() {
2212
2212
  this.externalTemplateToComponentsMap = new Map();
@@ -2271,7 +2271,7 @@ var ResourceRegistry = class {
2271
2271
  }
2272
2272
  };
2273
2273
 
2274
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
2274
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
2275
2275
  var CompilationMode;
2276
2276
  (function(CompilationMode2) {
2277
2277
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -2289,7 +2289,7 @@ var HandlerFlags;
2289
2289
  HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
2290
2290
  })(HandlerFlags || (HandlerFlags = {}));
2291
2291
 
2292
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
2292
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
2293
2293
  import ts9 from "typescript";
2294
2294
  function aliasTransformFactory(exportStatements) {
2295
2295
  return (context) => {
@@ -2307,10 +2307,10 @@ function aliasTransformFactory(exportStatements) {
2307
2307
  };
2308
2308
  }
2309
2309
 
2310
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2310
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2311
2311
  import ts10 from "typescript";
2312
2312
 
2313
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
2313
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
2314
2314
  var TraitState;
2315
2315
  (function(TraitState2) {
2316
2316
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -2365,7 +2365,7 @@ var TraitImpl = class {
2365
2365
  }
2366
2366
  };
2367
2367
 
2368
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2368
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2369
2369
  var TraitCompiler = class {
2370
2370
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
2371
2371
  this.handlers = handlers;
@@ -2802,10 +2802,10 @@ var TraitCompiler = class {
2802
2802
  }
2803
2803
  };
2804
2804
 
2805
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
2805
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
2806
2806
  import ts12 from "typescript";
2807
2807
 
2808
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
2808
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
2809
2809
  import ts11 from "typescript";
2810
2810
  function addImports(importManager, sf, extraStatements = []) {
2811
2811
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -2833,7 +2833,7 @@ function isImportStatement(stmt) {
2833
2833
  return ts11.isImportDeclaration(stmt) || ts11.isImportEqualsDeclaration(stmt) || ts11.isNamespaceImport(stmt);
2834
2834
  }
2835
2835
 
2836
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
2836
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
2837
2837
  var DtsTransformRegistry = class {
2838
2838
  constructor() {
2839
2839
  this.ivyDeclarationTransforms = new Map();
@@ -2958,11 +2958,11 @@ function markForEmitAsSingleLine(node) {
2958
2958
  ts12.forEachChild(node, markForEmitAsSingleLine);
2959
2959
  }
2960
2960
 
2961
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
2961
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
2962
2962
  import { ConstantPool } from "@angular/compiler";
2963
2963
  import ts14 from "typescript";
2964
2964
 
2965
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
2965
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
2966
2966
  import ts13 from "typescript";
2967
2967
  function visit(node, visitor, context) {
2968
2968
  return visitor._visit(node, context);
@@ -3024,7 +3024,7 @@ function hasStatements(node) {
3024
3024
  return block.statements !== void 0 && Array.isArray(block.statements);
3025
3025
  }
3026
3026
 
3027
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3027
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3028
3028
  var NO_DECORATORS = new Set();
3029
3029
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
3030
3030
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -3205,7 +3205,7 @@ function createRecorderFn(defaultImportTracker) {
3205
3205
  };
3206
3206
  }
3207
3207
 
3208
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
3208
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
3209
3209
  import ts15 from "typescript";
3210
3210
  function createValueHasWrongTypeError(node, value, messageText) {
3211
3211
  var _a;
@@ -3302,11 +3302,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
3302
3302
  return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.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 @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
3303
3303
  }
3304
3304
 
3305
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
3306
- import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr3, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
3305
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
3306
+ import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr3, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
3307
3307
  import ts17 from "typescript";
3308
3308
 
3309
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
3309
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
3310
3310
  import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
3311
3311
  function compileNgFactoryDefField(metadata) {
3312
3312
  const res = compileFactoryFunction(metadata);
@@ -3317,7 +3317,7 @@ function compileDeclareFactory(metadata) {
3317
3317
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
3318
3318
  }
3319
3319
 
3320
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
3320
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
3321
3321
  import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
3322
3322
  import ts16 from "typescript";
3323
3323
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -3405,7 +3405,7 @@ function removeIdentifierReferences(node, name) {
3405
3405
  return result.transformed[0];
3406
3406
  }
3407
3407
 
3408
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
3408
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
3409
3409
  var EMPTY_OBJECT = {};
3410
3410
  var FIELD_DECORATORS = [
3411
3411
  "Input",
@@ -3713,17 +3713,17 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, isCore
3713
3713
  };
3714
3714
  }
3715
3715
  function extractQueryMetadata(exprNode, name, args, propertyName, reflector, evaluator) {
3716
- var _a;
3717
3716
  if (args.length === 0) {
3718
3717
  throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, exprNode, `@${name} must have arguments`);
3719
3718
  }
3720
3719
  const first = name === "ViewChild" || name === "ContentChild";
3721
- const node = (_a = tryUnwrapForwardRef(args[0], reflector)) != null ? _a : args[0];
3720
+ const forwardReferenceTarget = tryUnwrapForwardRef(args[0], reflector);
3721
+ const node = forwardReferenceTarget != null ? forwardReferenceTarget : args[0];
3722
3722
  const arg = evaluator.evaluate(node);
3723
3723
  let isStatic = false;
3724
3724
  let predicate = null;
3725
3725
  if (arg instanceof Reference || arg instanceof DynamicValue) {
3726
- predicate = new WrappedNodeExpr3(node);
3726
+ predicate = createMayBeForwardRefExpression(new WrappedNodeExpr3(node), forwardReferenceTarget !== null ? 2 : 0);
3727
3727
  } else if (typeof arg === "string") {
3728
3728
  predicate = [arg];
3729
3729
  } else if (isStringArrayOrDie(arg, `@${name} predicate`, node)) {
@@ -3967,7 +3967,7 @@ var QUERY_TYPES = new Set([
3967
3967
  "ViewChildren"
3968
3968
  ]);
3969
3969
 
3970
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
3970
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
3971
3971
  import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr4, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, NO_ERRORS_SCHEMA, R3Identifiers, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
3972
3972
  import ts18 from "typescript";
3973
3973
  var NgModuleSymbol = class extends SemanticSymbol {
@@ -4401,7 +4401,7 @@ function isNgModule(node, compilation) {
4401
4401
  return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
4402
4402
  }
4403
4403
 
4404
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
4404
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
4405
4405
  var EMPTY_MAP = new Map();
4406
4406
  var EMPTY_ARRAY = [];
4407
4407
  var ComponentSymbol = class extends DirectiveSymbol {
@@ -5285,8 +5285,8 @@ function checkCustomElementSelectorForErrors(selector) {
5285
5285
  return null;
5286
5286
  }
5287
5287
 
5288
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
5289
- import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createR3ProviderExpression, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
5288
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
5289
+ import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
5290
5290
  import ts20 from "typescript";
5291
5291
  var InjectableDecoratorHandler = class {
5292
5292
  constructor(reflector, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
@@ -5374,7 +5374,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
5374
5374
  type,
5375
5375
  typeArgumentCount,
5376
5376
  internalType,
5377
- providedIn: createR3ProviderExpression(new LiteralExpr3(null), false)
5377
+ providedIn: createMayBeForwardRefExpression2(new LiteralExpr3(null), 0)
5378
5378
  };
5379
5379
  } else if (decorator.args.length === 1) {
5380
5380
  const metaNode = decorator.args[0];
@@ -5382,7 +5382,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
5382
5382
  throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, metaNode, `@Injectable argument must be an object literal`);
5383
5383
  }
5384
5384
  const meta = reflectObjectLiteral(metaNode);
5385
- const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createR3ProviderExpression(new LiteralExpr3(null), false);
5385
+ const providedIn = meta.has("providedIn") ? getProviderExpression(meta.get("providedIn"), reflector) : createMayBeForwardRefExpression2(new LiteralExpr3(null), 0);
5386
5386
  let deps = void 0;
5387
5387
  if ((meta.has("useClass") || meta.has("useFactory")) && meta.has("deps")) {
5388
5388
  const depsExpr = meta.get("deps");
@@ -5410,7 +5410,7 @@ function extractInjectableMetadata(clazz, decorator, reflector) {
5410
5410
  }
5411
5411
  function getProviderExpression(expression, reflector) {
5412
5412
  const forwardRefValue = tryUnwrapForwardRef(expression, reflector);
5413
- return createR3ProviderExpression(new WrappedNodeExpr6(forwardRefValue != null ? forwardRefValue : expression), forwardRefValue !== null);
5413
+ return createMayBeForwardRefExpression2(new WrappedNodeExpr6(forwardRefValue != null ? forwardRefValue : expression), forwardRefValue !== null ? 2 : 0);
5414
5414
  }
5415
5415
  function extractInjectableCtorDeps(clazz, meta, decorator, reflector, isCore, strictCtorDeps) {
5416
5416
  if (decorator.args === null) {
@@ -5485,7 +5485,7 @@ function getDep(dep, reflector) {
5485
5485
  return meta;
5486
5486
  }
5487
5487
 
5488
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
5488
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
5489
5489
  import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
5490
5490
  import ts21 from "typescript";
5491
5491
  var PipeSymbol = class extends SemanticSymbol {
@@ -5610,7 +5610,7 @@ var PipeDecoratorHandler = class {
5610
5610
  }
5611
5611
  };
5612
5612
 
5613
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
5613
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
5614
5614
  var NoopReferencesRegistry = class {
5615
5615
  add(source, ...references) {
5616
5616
  }
@@ -5660,4 +5660,4 @@ export {
5660
5660
  * Use of this source code is governed by an MIT-style license that can be
5661
5661
  * found in the LICENSE file at https://angular.io/license
5662
5662
  */
5663
- //# sourceMappingURL=chunk-DDB2HQYR.js.map
5663
+ //# sourceMappingURL=chunk-MIQ5UCHZ.js.map