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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/bundles/{chunk-JZC4T2RR.js → chunk-3O3O4L34.js} +1 -1
  2. package/bundles/{chunk-UTWZHLA4.js → chunk-5ASJ74IM.js} +30 -30
  3. package/bundles/{chunk-EMC3QXAT.js → chunk-5JRMFWYO.js} +4 -4
  4. package/bundles/{chunk-LYJKWJUC.js → chunk-CF2CT7RQ.js} +3 -3
  5. package/bundles/{chunk-MTZGVQDN.js → chunk-DV5CKGO6.js} +241 -129
  6. package/bundles/chunk-DV5CKGO6.js.map +6 -0
  7. package/bundles/{chunk-VHIKXGRX.js → chunk-EVIA54WP.js} +29 -27
  8. package/bundles/{chunk-VHIKXGRX.js.map → chunk-EVIA54WP.js.map} +1 -1
  9. package/bundles/{chunk-DUY2FPLZ.js → chunk-I3M5LXMW.js} +7 -7
  10. package/bundles/{chunk-64JBPJBS.js → chunk-JOIB3454.js} +5 -5
  11. package/bundles/{chunk-2UJEML3U.js → chunk-LJKJD6DP.js} +97 -85
  12. package/bundles/chunk-LJKJD6DP.js.map +6 -0
  13. package/bundles/{chunk-2WQIUGOU.js → chunk-WMUBJYYX.js} +7 -7
  14. package/bundles/{chunk-XCEXKEDO.js → chunk-XI2N3MV4.js} +11 -11
  15. package/bundles/{chunk-U6JZJXY2.js → chunk-ZH5AJH3B.js} +5 -5
  16. package/bundles/index.js +13 -13
  17. package/bundles/linker/babel/index.js +13 -13
  18. package/bundles/linker/index.js +5 -5
  19. package/bundles/ngcc/index.js +1 -1
  20. package/bundles/private/bazel.js +1 -1
  21. package/bundles/private/localize.js +3 -3
  22. package/bundles/private/migrations.js +6 -6
  23. package/bundles/private/tooling.js +4 -4
  24. package/bundles/src/bin/ng_xi18n.js +11 -11
  25. package/bundles/src/bin/ngc.js +9 -9
  26. package/bundles_metadata.json +1 -1
  27. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  28. package/package.json +2 -2
  29. package/src/bin/ng_xi18n.d.ts +1 -1
  30. package/src/bin/ngc.d.ts +1 -1
  31. package/src/ngtsc/core/src/host.d.ts +3 -2
  32. package/src/ngtsc/diagnostics/src/error_code.d.ts +14 -0
  33. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
  34. package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +2 -1
  35. package/src/ngtsc/typecheck/api/api.d.ts +8 -0
  36. package/src/ngtsc/typecheck/api/context.d.ts +3 -1
  37. package/src/ngtsc/typecheck/extended/index.d.ts +1 -0
  38. package/src/ngtsc/typecheck/src/context.d.ts +1 -1
  39. package/src/ngtsc/typecheck/src/oob.d.ts +7 -1
  40. package/src/ngtsc/typecheck/src/type_check_block.d.ts +5 -2
  41. package/bundles/chunk-2UJEML3U.js.map +0 -6
  42. package/bundles/chunk-MTZGVQDN.js.map +0 -6
  43. /package/bundles/{chunk-JZC4T2RR.js.map → chunk-3O3O4L34.js.map} +0 -0
  44. /package/bundles/{chunk-UTWZHLA4.js.map → chunk-5ASJ74IM.js.map} +0 -0
  45. /package/bundles/{chunk-EMC3QXAT.js.map → chunk-5JRMFWYO.js.map} +0 -0
  46. /package/bundles/{chunk-LYJKWJUC.js.map → chunk-CF2CT7RQ.js.map} +0 -0
  47. /package/bundles/{chunk-DUY2FPLZ.js.map → chunk-I3M5LXMW.js.map} +0 -0
  48. /package/bundles/{chunk-64JBPJBS.js.map → chunk-JOIB3454.js.map} +0 -0
  49. /package/bundles/{chunk-2WQIUGOU.js.map → chunk-WMUBJYYX.js.map} +0 -0
  50. /package/bundles/{chunk-XCEXKEDO.js.map → chunk-XI2N3MV4.js.map} +0 -0
  51. /package/bundles/{chunk-U6JZJXY2.js.map → chunk-ZH5AJH3B.js.map} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  translateExpression,
8
8
  translateStatement,
9
9
  translateType
10
- } from "./chunk-XCEXKEDO.js";
10
+ } from "./chunk-XI2N3MV4.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-VHIKXGRX.js";
33
+ } from "./chunk-EVIA54WP.js";
34
34
  import {
35
35
  PerfEvent,
36
36
  PerfPhase
37
- } from "./chunk-64JBPJBS.js";
37
+ } from "./chunk-JOIB3454.js";
38
38
  import {
39
39
  absoluteFrom,
40
40
  absoluteFromSourceFile,
41
41
  relative
42
- } from "./chunk-DUY2FPLZ.js";
42
+ } from "./chunk-I3M5LXMW.js";
43
43
 
44
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
44
+ // bazel-out/darwin-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) {
@@ -286,7 +286,7 @@ function isAbstractClassDeclaration(clazz) {
286
286
  return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
287
287
  }
288
288
 
289
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
289
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
290
290
  var DynamicValue = class {
291
291
  constructor(node, reason, code) {
292
292
  this.node = node;
@@ -376,10 +376,10 @@ var DynamicValue = class {
376
376
  }
377
377
  };
378
378
 
379
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
379
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
380
380
  import ts2 from "typescript";
381
381
 
382
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
382
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
383
383
  var ResolvedModule = class {
384
384
  constructor(exports, evaluate) {
385
385
  this.exports = exports;
@@ -409,7 +409,7 @@ var EnumValue = class {
409
409
  var KnownFn = class {
410
410
  };
411
411
 
412
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
412
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
413
413
  var ArraySliceBuiltinFn = class extends KnownFn {
414
414
  constructor(lhs) {
415
415
  super();
@@ -461,14 +461,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
461
461
  }
462
462
  };
463
463
 
464
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
464
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
465
465
  var SyntheticValue = class {
466
466
  constructor(value) {
467
467
  this.value = value;
468
468
  }
469
469
  };
470
470
 
471
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
471
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
472
472
  function literalBinaryOp(op) {
473
473
  return { op, literal: true };
474
474
  }
@@ -1046,7 +1046,7 @@ function owningModule(context, override = null) {
1046
1046
  }
1047
1047
  }
1048
1048
 
1049
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1049
+ // bazel-out/darwin-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1069
+ // bazel-out/darwin-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,7 +1196,7 @@ function getContainerNode(node) {
1196
1196
  return node.getSourceFile();
1197
1197
  }
1198
1198
 
1199
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1199
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1200
1200
  import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
1201
1201
  import ts4 from "typescript";
1202
1202
  function getConstructorDependencies(clazz, reflector, isCore) {
@@ -1340,10 +1340,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
1340
1340
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
1341
1341
  }
1342
1342
 
1343
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1343
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1344
1344
  import ts7 from "typescript";
1345
1345
 
1346
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1346
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1347
1347
  var MetaKind;
1348
1348
  (function(MetaKind2) {
1349
1349
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -1356,10 +1356,10 @@ var MatchSource;
1356
1356
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
1357
1357
  })(MatchSource || (MatchSource = {}));
1358
1358
 
1359
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1359
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1360
1360
  import ts6 from "typescript";
1361
1361
 
1362
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1362
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1363
1363
  var ClassPropertyMapping = class {
1364
1364
  constructor(forwardMap) {
1365
1365
  this.forwardMap = forwardMap;
@@ -1437,7 +1437,7 @@ function reverseMapFromForwardMap(forwardMap) {
1437
1437
  return reverseMap;
1438
1438
  }
1439
1439
 
1440
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1440
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1441
1441
  import ts5 from "typescript";
1442
1442
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
1443
1443
  if (!ts5.isTupleTypeNode(def)) {
@@ -1621,7 +1621,7 @@ function hasInjectableFields(clazz, host) {
1621
1621
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
1622
1622
  }
1623
1623
 
1624
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1624
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1625
1625
  var DtsMetadataReader = class {
1626
1626
  constructor(checker, reflector) {
1627
1627
  this.checker = checker;
@@ -1664,6 +1664,7 @@ var DtsMetadataReader = class {
1664
1664
  const isStructural = !isComponent && ctorParams !== null && ctorParams.some((param) => {
1665
1665
  return param.typeValueReference.kind === 1 && param.typeValueReference.moduleName === "@angular/core" && param.typeValueReference.importedName === "TemplateRef";
1666
1666
  });
1667
+ const ngContentSelectors = def.type.typeArguments.length > 6 ? readStringArrayType(def.type.typeArguments[6]) : null;
1667
1668
  const isStandalone = def.type.typeArguments.length > 7 && ((_a = readBooleanType(def.type.typeArguments[7])) != null ? _a : false);
1668
1669
  const inputs = ClassPropertyMapping.fromMappedObject(readInputsType(def.type.typeArguments[3]));
1669
1670
  const outputs = ClassPropertyMapping.fromMappedObject(readMapType(def.type.typeArguments[4], readStringType));
@@ -1686,12 +1687,14 @@ var DtsMetadataReader = class {
1686
1687
  isPoisoned: false,
1687
1688
  isStructural,
1688
1689
  animationTriggerNames: null,
1690
+ ngContentSelectors,
1689
1691
  isStandalone,
1690
1692
  isSignal,
1691
1693
  imports: null,
1692
1694
  schemas: null,
1693
1695
  decorator: null,
1694
- assumedToExportProviders: isComponent && isStandalone
1696
+ assumedToExportProviders: isComponent && isStandalone,
1697
+ preserveWhitespaces: false
1695
1698
  };
1696
1699
  }
1697
1700
  getPipeMetadata(ref) {
@@ -1796,7 +1799,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
1796
1799
  return result.length > 0 ? result : null;
1797
1800
  }
1798
1801
 
1799
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1802
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1800
1803
  function flattenInheritedDirectiveMetadata(reader, dir) {
1801
1804
  const topMeta = reader.getDirectiveMetadata(dir);
1802
1805
  if (topMeta === null) {
@@ -1809,6 +1812,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
1809
1812
  const undeclaredInputFields = /* @__PURE__ */ new Set();
1810
1813
  const restrictedInputFields = /* @__PURE__ */ new Set();
1811
1814
  const stringLiteralInputFields = /* @__PURE__ */ new Set();
1815
+ let hostDirectives = null;
1812
1816
  let isDynamic = false;
1813
1817
  let inputs = ClassPropertyMapping.empty();
1814
1818
  let outputs = ClassPropertyMapping.empty();
@@ -1839,6 +1843,10 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
1839
1843
  for (const field of meta.stringLiteralInputFields) {
1840
1844
  stringLiteralInputFields.add(field);
1841
1845
  }
1846
+ if (meta.hostDirectives !== null && meta.hostDirectives.length > 0) {
1847
+ hostDirectives != null ? hostDirectives : hostDirectives = [];
1848
+ hostDirectives.push(...meta.hostDirectives);
1849
+ }
1842
1850
  };
1843
1851
  addMetadata(topMeta);
1844
1852
  return {
@@ -1850,11 +1858,12 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
1850
1858
  restrictedInputFields,
1851
1859
  stringLiteralInputFields,
1852
1860
  baseClass: isDynamic ? "dynamic" : null,
1853
- isStructural
1861
+ isStructural,
1862
+ hostDirectives
1854
1863
  };
1855
1864
  }
1856
1865
 
1857
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1866
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1858
1867
  var LocalMetadataRegistry = class {
1859
1868
  constructor() {
1860
1869
  this.directives = /* @__PURE__ */ new Map();
@@ -1911,7 +1920,7 @@ var CompoundMetadataRegistry = class {
1911
1920
  }
1912
1921
  };
1913
1922
 
1914
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
1923
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
1915
1924
  var ResourceRegistry = class {
1916
1925
  constructor() {
1917
1926
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -1976,7 +1985,7 @@ var ResourceRegistry = class {
1976
1985
  }
1977
1986
  };
1978
1987
 
1979
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
1988
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
1980
1989
  var ExportedProviderStatusResolver = class {
1981
1990
  constructor(metaReader) {
1982
1991
  this.metaReader = metaReader;
@@ -2020,7 +2029,7 @@ var ExportedProviderStatusResolver = class {
2020
2029
  }
2021
2030
  };
2022
2031
 
2023
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2032
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2024
2033
  var EMPTY_ARRAY = [];
2025
2034
  var HostDirectivesResolver = class {
2026
2035
  constructor(metaReader) {
@@ -2082,7 +2091,7 @@ function resolveOutput(bindingName) {
2082
2091
  return bindingName;
2083
2092
  }
2084
2093
 
2085
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2094
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2086
2095
  function makeDuplicateDeclarationError(node, data, kind) {
2087
2096
  const context = [];
2088
2097
  for (const decl of data) {
@@ -2278,7 +2287,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
2278
2287
  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}.`);
2279
2288
  }
2280
2289
 
2281
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
2290
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
2282
2291
  import { ViewEncapsulation } from "@angular/compiler";
2283
2292
  import ts8 from "typescript";
2284
2293
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
@@ -2329,7 +2338,7 @@ function resolveLiteral(decorator, literalCache) {
2329
2338
  return meta;
2330
2339
  }
2331
2340
 
2332
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
2341
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
2333
2342
  import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
2334
2343
  function compileNgFactoryDefField(metadata) {
2335
2344
  const res = compileFactoryFunction(metadata);
@@ -2352,7 +2361,7 @@ function compileDeclareFactory(metadata) {
2352
2361
  };
2353
2362
  }
2354
2363
 
2355
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2364
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2356
2365
  var InjectableClassRegistry = class {
2357
2366
  constructor(host, isCore) {
2358
2367
  this.host = host;
@@ -2378,7 +2387,7 @@ var InjectableClassRegistry = class {
2378
2387
  }
2379
2388
  };
2380
2389
 
2381
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2390
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2382
2391
  import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
2383
2392
  import ts9 from "typescript";
2384
2393
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -2463,7 +2472,7 @@ function removeIdentifierReferences(node, names) {
2463
2472
  return result.transformed[0];
2464
2473
  }
2465
2474
 
2466
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
2475
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
2467
2476
  import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
2468
2477
  import * as path from "path";
2469
2478
  function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
@@ -2490,13 +2499,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
2490
2499
  return null;
2491
2500
  }
2492
2501
 
2493
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2502
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2494
2503
  var NoopReferencesRegistry = class {
2495
2504
  add(source, ...references) {
2496
2505
  }
2497
2506
  };
2498
2507
 
2499
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2508
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2500
2509
  import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
2501
2510
  function extractSchemas(rawExpr, evaluator, context) {
2502
2511
  const schemas = [];
@@ -2526,7 +2535,7 @@ function extractSchemas(rawExpr, evaluator, context) {
2526
2535
  return schemas;
2527
2536
  }
2528
2537
 
2529
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
2538
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
2530
2539
  import { outputAst } from "@angular/compiler";
2531
2540
  function compileInputTransformFields(inputs) {
2532
2541
  const extraFields = [];
@@ -2544,11 +2553,11 @@ function compileInputTransformFields(inputs) {
2544
2553
  return extraFields;
2545
2554
  }
2546
2555
 
2547
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2556
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2548
2557
  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";
2549
2558
  import ts24 from "typescript";
2550
2559
 
2551
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2560
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2552
2561
  import ts10 from "typescript";
2553
2562
  var SemanticSymbol = class {
2554
2563
  constructor(decl) {
@@ -2564,7 +2573,7 @@ function getSymbolIdentifier(decl) {
2564
2573
  return decl.name.text;
2565
2574
  }
2566
2575
 
2567
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2576
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2568
2577
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
2569
2578
  var OpaqueSymbol = class extends SemanticSymbol {
2570
2579
  isPublicApiAffected() {
@@ -2707,10 +2716,10 @@ function getImportPath(expr) {
2707
2716
  }
2708
2717
  }
2709
2718
 
2710
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2719
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2711
2720
  import ts11 from "typescript";
2712
2721
 
2713
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2722
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2714
2723
  function isSymbolEqual(a, b) {
2715
2724
  if (a.decl === b.decl) {
2716
2725
  return true;
@@ -2760,7 +2769,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
2760
2769
  return true;
2761
2770
  }
2762
2771
 
2763
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2772
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2764
2773
  function extractSemanticTypeParameters(node) {
2765
2774
  if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
2766
2775
  return null;
@@ -2780,14 +2789,14 @@ function isTypeParameterEqual(a, b) {
2780
2789
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
2781
2790
  }
2782
2791
 
2783
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2792
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2784
2793
  var ComponentScopeKind;
2785
2794
  (function(ComponentScopeKind2) {
2786
2795
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
2787
2796
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
2788
2797
  })(ComponentScopeKind || (ComponentScopeKind = {}));
2789
2798
 
2790
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2799
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2791
2800
  var CompoundComponentScopeReader = class {
2792
2801
  constructor(readers) {
2793
2802
  this.readers = readers;
@@ -2812,7 +2821,7 @@ var CompoundComponentScopeReader = class {
2812
2821
  }
2813
2822
  };
2814
2823
 
2815
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2824
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2816
2825
  var MetadataDtsModuleScopeResolver = class {
2817
2826
  constructor(dtsMetaReader, aliasingHost) {
2818
2827
  this.dtsMetaReader = dtsMetaReader;
@@ -2888,11 +2897,11 @@ var MetadataDtsModuleScopeResolver = class {
2888
2897
  }
2889
2898
  };
2890
2899
 
2891
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2900
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2892
2901
  import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
2893
2902
  import ts12 from "typescript";
2894
2903
 
2895
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2904
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2896
2905
  function getDiagnosticNode(ref, rawExpr) {
2897
2906
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
2898
2907
  }
@@ -2915,7 +2924,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
2915
2924
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
2916
2925
  }
2917
2926
 
2918
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2927
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2919
2928
  var LocalModuleScopeRegistry = class {
2920
2929
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
2921
2930
  this.localReader = localReader;
@@ -3254,7 +3263,7 @@ function reexportCollision(module, refA, refB) {
3254
3263
  ]);
3255
3264
  }
3256
3265
 
3257
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3266
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3258
3267
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
3259
3268
  import ts13 from "typescript";
3260
3269
  var TypeCheckScopeRegistry = class {
@@ -3323,7 +3332,7 @@ var TypeCheckScopeRegistry = class {
3323
3332
  }
3324
3333
  };
3325
3334
 
3326
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3335
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3327
3336
  var CompilationMode;
3328
3337
  (function(CompilationMode2) {
3329
3338
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -3337,7 +3346,7 @@ var HandlerPrecedence;
3337
3346
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
3338
3347
  })(HandlerPrecedence || (HandlerPrecedence = {}));
3339
3348
 
3340
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3349
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3341
3350
  import ts14 from "typescript";
3342
3351
  function aliasTransformFactory(exportStatements) {
3343
3352
  return () => {
@@ -3360,10 +3369,10 @@ function aliasTransformFactory(exportStatements) {
3360
3369
  };
3361
3370
  }
3362
3371
 
3363
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3372
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3364
3373
  import ts15 from "typescript";
3365
3374
 
3366
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3375
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3367
3376
  var TraitState;
3368
3377
  (function(TraitState2) {
3369
3378
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -3420,7 +3429,7 @@ var TraitImpl = class {
3420
3429
  }
3421
3430
  };
3422
3431
 
3423
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3432
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3424
3433
  var TraitCompiler = class {
3425
3434
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
3426
3435
  this.handlers = handlers;
@@ -3868,10 +3877,10 @@ function containsErrors(diagnostics) {
3868
3877
  return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
3869
3878
  }
3870
3879
 
3871
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3880
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3872
3881
  import ts17 from "typescript";
3873
3882
 
3874
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3883
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3875
3884
  import ts16 from "typescript";
3876
3885
  function addImports(importManager, sf, extraStatements = []) {
3877
3886
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -3907,7 +3916,7 @@ function isImportStatement(stmt) {
3907
3916
  return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
3908
3917
  }
3909
3918
 
3910
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3919
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3911
3920
  var DtsTransformRegistry = class {
3912
3921
  constructor() {
3913
3922
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -4054,11 +4063,11 @@ function markForEmitAsSingleLine(node) {
4054
4063
  ts17.forEachChild(node, markForEmitAsSingleLine);
4055
4064
  }
4056
4065
 
4057
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4066
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4058
4067
  import { ConstantPool } from "@angular/compiler";
4059
4068
  import ts19 from "typescript";
4060
4069
 
4061
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
4070
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
4062
4071
  import ts18 from "typescript";
4063
4072
  function visit(node, visitor, context) {
4064
4073
  return visitor._visit(node, context);
@@ -4119,7 +4128,7 @@ var Visitor = class {
4119
4128
  }
4120
4129
  };
4121
4130
 
4122
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4131
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4123
4132
  var NO_DECORATORS = /* @__PURE__ */ new Set();
4124
4133
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
4125
4134
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -4343,10 +4352,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
4343
4352
  return array;
4344
4353
  }
4345
4354
 
4346
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4355
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4347
4356
  import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
4348
4357
 
4349
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4358
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4350
4359
  import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4351
4360
  import ts20 from "typescript";
4352
4361
  var EMPTY_OBJECT = {};
@@ -4939,7 +4948,7 @@ function toR3InputMetadata(mapping) {
4939
4948
  };
4940
4949
  }
4941
4950
 
4942
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4951
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4943
4952
  var DirectiveSymbol = class extends SemanticSymbol {
4944
4953
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
4945
4954
  super(decl);
@@ -5019,7 +5028,7 @@ function isBaseClassEqual(current, previous) {
5019
5028
  return isSymbolEqual(current, previous);
5020
5029
  }
5021
5030
 
5022
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
5031
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
5023
5032
  var FIELD_DECORATORS = [
5024
5033
  "Input",
5025
5034
  "Output",
@@ -5131,7 +5140,9 @@ var DirectiveDecoratorHandler = class {
5131
5140
  isSignal: analysis.meta.isSignal,
5132
5141
  imports: null,
5133
5142
  schemas: null,
5143
+ ngContentSelectors: null,
5134
5144
  decorator: analysis.decorator,
5145
+ preserveWhitespaces: false,
5135
5146
  assumedToExportProviders: false
5136
5147
  });
5137
5148
  this.injectableRegistry.registerInjectable(node, {
@@ -5191,11 +5202,11 @@ var DirectiveDecoratorHandler = class {
5191
5202
  }
5192
5203
  };
5193
5204
 
5194
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5205
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5195
5206
  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";
5196
5207
  import ts22 from "typescript";
5197
5208
 
5198
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5209
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5199
5210
  import ts21 from "typescript";
5200
5211
  function createModuleWithProvidersResolver(reflector, isCore) {
5201
5212
  function _reflectModuleFromTypeParam(type, node) {
@@ -5262,7 +5273,7 @@ function isResolvedModuleWithProviders(sv) {
5262
5273
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
5263
5274
  }
5264
5275
 
5265
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5276
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5266
5277
  var NgModuleSymbol = class extends SemanticSymbol {
5267
5278
  constructor(decl, hasProviders) {
5268
5279
  super(decl);
@@ -5831,7 +5842,7 @@ function isSyntheticReference(ref) {
5831
5842
  return ref.synthetic;
5832
5843
  }
5833
5844
 
5834
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5845
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5835
5846
  function makeCyclicImportInfo(ref, type, cycle) {
5836
5847
  const name = ref.debugName || "(unknown)";
5837
5848
  const path2 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -5854,7 +5865,7 @@ function checkCustomElementSelectorForErrors(selector) {
5854
5865
  return null;
5855
5866
  }
5856
5867
 
5857
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5868
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5858
5869
  import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
5859
5870
  import ts23 from "typescript";
5860
5871
  function getTemplateDeclarationNodeForError(declaration) {
@@ -6213,7 +6224,7 @@ function _extractTemplateStyleUrls(template) {
6213
6224
  return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
6214
6225
  }
6215
6226
 
6216
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
6227
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
6217
6228
  var ComponentSymbol = class extends DirectiveSymbol {
6218
6229
  constructor() {
6219
6230
  super(...arguments);
@@ -6248,7 +6259,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
6248
6259
  }
6249
6260
  };
6250
6261
 
6251
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
6262
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
6252
6263
  function collectAnimationNames(value, animationTriggerNames) {
6253
6264
  if (value instanceof Map) {
6254
6265
  const name = value.get("name");
@@ -6324,7 +6335,7 @@ function isLikelyModuleWithProviders(value) {
6324
6335
  return false;
6325
6336
  }
6326
6337
 
6327
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
6338
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
6328
6339
  var EMPTY_ARRAY2 = [];
6329
6340
  var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
6330
6341
  var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
@@ -6600,10 +6611,7 @@ var ComponentDecoratorHandler = class {
6600
6611
  rawHostDirectives,
6601
6612
  meta: {
6602
6613
  ...metadata,
6603
- template: {
6604
- nodes: template.nodes,
6605
- ngContentSelectors: template.ngContentSelectors
6606
- },
6614
+ template,
6607
6615
  encapsulation,
6608
6616
  changeDetection,
6609
6617
  interpolation: (_c = template.interpolationConfig) != null ? _c : DEFAULT_INTERPOLATION_CONFIG2,
@@ -6647,6 +6655,7 @@ var ComponentDecoratorHandler = class {
6647
6655
  return new ComponentSymbol(node, analysis.meta.selector, analysis.inputs, analysis.outputs, analysis.meta.exportAs, analysis.typeCheckMeta, typeParameters);
6648
6656
  }
6649
6657
  register(node, analysis) {
6658
+ var _a;
6650
6659
  const ref = new Reference(node);
6651
6660
  this.metaRegistry.registerDirectiveMetadata({
6652
6661
  kind: MetaKind.Directive,
@@ -6670,7 +6679,9 @@ var ComponentDecoratorHandler = class {
6670
6679
  animationTriggerNames: analysis.animationTriggerNames,
6671
6680
  schemas: analysis.schemas,
6672
6681
  decorator: analysis.decorator,
6673
- assumedToExportProviders: false
6682
+ assumedToExportProviders: false,
6683
+ ngContentSelectors: analysis.template.ngContentSelectors,
6684
+ preserveWhitespaces: (_a = analysis.template.preserveWhitespaces) != null ? _a : false
6674
6685
  });
6675
6686
  this.resourceRegistry.registerResources(analysis.resources, node);
6676
6687
  this.injectableRegistry.registerInjectable(node, {
@@ -6709,6 +6720,7 @@ var ComponentDecoratorHandler = class {
6709
6720
  return null;
6710
6721
  }
6711
6722
  typeCheck(ctx, node, meta) {
6723
+ var _a;
6712
6724
  if (this.typeCheckScopeRegistry === null || !ts24.isClassDeclaration(node)) {
6713
6725
  return;
6714
6726
  }
@@ -6720,7 +6732,7 @@ var ComponentDecoratorHandler = class {
6720
6732
  return;
6721
6733
  }
6722
6734
  const binder = new R3TargetBinder(scope.matcher);
6723
- ctx.addTemplate(new Reference(node), binder, meta.template.diagNodes, scope.pipes, scope.schemas, meta.template.sourceMapping, meta.template.file, meta.template.errors, meta.meta.isStandalone);
6735
+ ctx.addTemplate(new Reference(node), binder, meta.template.diagNodes, scope.pipes, scope.schemas, meta.template.sourceMapping, meta.template.file, meta.template.errors, meta.meta.isStandalone, (_a = meta.meta.template.preserveWhitespaces) != null ? _a : false);
6724
6736
  }
6725
6737
  extendedTemplateCheck(component, extendedTemplateChecker) {
6726
6738
  return extendedTemplateChecker.getDiagnosticsForComponent(component);
@@ -7136,7 +7148,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
7136
7148
  return diagnostics;
7137
7149
  }
7138
7150
 
7139
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
7151
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
7140
7152
  import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
7141
7153
  import ts25 from "typescript";
7142
7154
  var InjectableDecoratorHandler = class {
@@ -7362,7 +7374,7 @@ function getDep(dep, reflector) {
7362
7374
  return meta;
7363
7375
  }
7364
7376
 
7365
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
7377
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
7366
7378
  import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
7367
7379
  import ts26 from "typescript";
7368
7380
  var PipeSymbol = class extends SemanticSymbol {
@@ -7514,14 +7526,14 @@ var PipeDecoratorHandler = class {
7514
7526
  }
7515
7527
  };
7516
7528
 
7517
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
7529
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
7518
7530
  var OptimizeFor;
7519
7531
  (function(OptimizeFor2) {
7520
7532
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
7521
7533
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
7522
7534
  })(OptimizeFor || (OptimizeFor = {}));
7523
7535
 
7524
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
7536
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
7525
7537
  var PotentialImportKind;
7526
7538
  (function(PotentialImportKind2) {
7527
7539
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -7533,14 +7545,14 @@ var PotentialImportMode;
7533
7545
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
7534
7546
  })(PotentialImportMode || (PotentialImportMode = {}));
7535
7547
 
7536
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
7548
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
7537
7549
  var CompletionKind;
7538
7550
  (function(CompletionKind2) {
7539
7551
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
7540
7552
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
7541
7553
  })(CompletionKind || (CompletionKind = {}));
7542
7554
 
7543
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
7555
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
7544
7556
  var SymbolKind;
7545
7557
  (function(SymbolKind2) {
7546
7558
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -7608,4 +7620,4 @@ export {
7608
7620
  * Use of this source code is governed by an MIT-style license that can be
7609
7621
  * found in the LICENSE file at https://angular.io/license
7610
7622
  */
7611
- //# sourceMappingURL=chunk-2UJEML3U.js.map
7623
+ //# sourceMappingURL=chunk-LJKJD6DP.js.map