@angular/compiler-cli 14.0.4 → 14.0.7

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 (65) hide show
  1. package/bundles/{chunk-TV7VZNWL.js → chunk-4JF5LVDW.js} +9 -12
  2. package/bundles/chunk-4JF5LVDW.js.map +6 -0
  3. package/bundles/{chunk-UT3V7UNM.js → chunk-6BM4D47M.js} +122 -118
  4. package/bundles/chunk-6BM4D47M.js.map +6 -0
  5. package/bundles/{chunk-C2OTZTPY.js → chunk-ACDOC2V2.js} +26 -26
  6. package/bundles/chunk-ACDOC2V2.js.map +6 -0
  7. package/bundles/{chunk-LC26KH5A.js → chunk-ACXPVP2W.js} +5 -5
  8. package/bundles/chunk-ACXPVP2W.js.map +6 -0
  9. package/bundles/{chunk-GN23SRRJ.js → chunk-AFKKTW7O.js} +34 -37
  10. package/bundles/chunk-AFKKTW7O.js.map +6 -0
  11. package/bundles/{chunk-Z3OO24P2.js → chunk-BE3ASSIK.js} +46 -47
  12. package/bundles/chunk-BE3ASSIK.js.map +6 -0
  13. package/bundles/{chunk-BU7ESD7N.js → chunk-CBLZTTAI.js} +8 -12
  14. package/bundles/chunk-CBLZTTAI.js.map +6 -0
  15. package/bundles/{chunk-WH4QSABR.js → chunk-CYVTLM4Z.js} +8 -12
  16. package/bundles/chunk-CYVTLM4Z.js.map +6 -0
  17. package/bundles/{chunk-ZCDB56AX.js → chunk-E7NQQTT7.js} +3 -3
  18. package/bundles/{chunk-ZCDB56AX.js.map → chunk-E7NQQTT7.js.map} +1 -1
  19. package/bundles/{chunk-BRHP6XKM.js → chunk-FM6NPN5V.js} +4 -4
  20. package/bundles/{chunk-BRHP6XKM.js.map → chunk-FM6NPN5V.js.map} +0 -0
  21. package/bundles/{chunk-74GV6EUR.js → chunk-GVNR4VIJ.js} +145 -131
  22. package/bundles/chunk-GVNR4VIJ.js.map +6 -0
  23. package/bundles/{chunk-I5XLLSQO.js → chunk-MB7JU6C2.js} +80 -84
  24. package/bundles/chunk-MB7JU6C2.js.map +6 -0
  25. package/bundles/{chunk-5K2JLFXT.js → chunk-NFCN3OZI.js} +6 -6
  26. package/bundles/chunk-NFCN3OZI.js.map +6 -0
  27. package/bundles/{chunk-SJL5HBUW.js → chunk-R3C7RFJ4.js} +2 -2
  28. package/bundles/{chunk-SJL5HBUW.js.map → chunk-R3C7RFJ4.js.map} +0 -0
  29. package/bundles/{chunk-TD64C4QJ.js → chunk-TOKOIIBI.js} +8 -8
  30. package/bundles/chunk-TOKOIIBI.js.map +6 -0
  31. package/bundles/{chunk-GMSUYBZP.js → chunk-XYNRD7NE.js} +1 -33
  32. package/bundles/{chunk-GMSUYBZP.js.map → chunk-XYNRD7NE.js.map} +0 -0
  33. package/bundles/index.js +14 -16
  34. package/bundles/index.js.map +1 -1
  35. package/bundles/linker/babel/index.js +20 -24
  36. package/bundles/linker/babel/index.js.map +1 -1
  37. package/bundles/linker/index.js +5 -5
  38. package/bundles/ngcc/index.js +13 -13
  39. package/bundles/ngcc/main-ngcc.js +14 -14
  40. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
  41. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
  42. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -5
  43. package/bundles/private/bazel.js +2 -2
  44. package/bundles/private/localize.js +4 -4
  45. package/bundles/private/migrations.js +6 -6
  46. package/bundles/private/tooling.js +3 -3
  47. package/bundles/src/bin/ng_xi18n.js +12 -15
  48. package/bundles/src/bin/ng_xi18n.js.map +1 -1
  49. package/bundles/src/bin/ngc.js +9 -9
  50. package/bundles_metadata.json +1 -1
  51. package/ngcc/src/packages/build_marker.d.ts +1 -1
  52. package/package.json +2 -2
  53. package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
  54. package/bundles/chunk-5K2JLFXT.js.map +0 -6
  55. package/bundles/chunk-74GV6EUR.js.map +0 -6
  56. package/bundles/chunk-BU7ESD7N.js.map +0 -6
  57. package/bundles/chunk-C2OTZTPY.js.map +0 -6
  58. package/bundles/chunk-GN23SRRJ.js.map +0 -6
  59. package/bundles/chunk-I5XLLSQO.js.map +0 -6
  60. package/bundles/chunk-LC26KH5A.js.map +0 -6
  61. package/bundles/chunk-TD64C4QJ.js.map +0 -6
  62. package/bundles/chunk-TV7VZNWL.js.map +0 -6
  63. package/bundles/chunk-UT3V7UNM.js.map +0 -6
  64. package/bundles/chunk-WH4QSABR.js.map +0 -6
  65. package/bundles/chunk-Z3OO24P2.js.map +0 -6
@@ -13,7 +13,7 @@ import {
13
13
  reflectObjectLiteral,
14
14
  reflectTypeEntityToDeclaration,
15
15
  typeNodeToValueExpr
16
- } from "./chunk-5K2JLFXT.js";
16
+ } from "./chunk-NFCN3OZI.js";
17
17
  import {
18
18
  ErrorCode,
19
19
  FatalDiagnosticError,
@@ -33,22 +33,18 @@ import {
33
33
  translateExpression,
34
34
  translateStatement,
35
35
  translateType
36
- } from "./chunk-C2OTZTPY.js";
36
+ } from "./chunk-ACDOC2V2.js";
37
37
  import {
38
38
  absoluteFrom,
39
39
  absoluteFromSourceFile,
40
40
  relative
41
- } from "./chunk-TD64C4QJ.js";
41
+ } from "./chunk-TOKOIIBI.js";
42
42
  import {
43
43
  PerfEvent,
44
44
  PerfPhase
45
- } from "./chunk-LC26KH5A.js";
46
- import {
47
- __spreadProps,
48
- __spreadValues
49
- } from "./chunk-GMSUYBZP.js";
45
+ } from "./chunk-ACXPVP2W.js";
50
46
 
51
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
47
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
52
48
  import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
53
49
  import ts from "typescript";
54
50
  function valueReferenceToExpression(valueRef) {
@@ -284,7 +280,7 @@ function getOriginNodeForDiagnostics(expr, container) {
284
280
  }
285
281
  }
286
282
 
287
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
283
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
288
284
  var DynamicValue = class {
289
285
  constructor(node, reason, code) {
290
286
  this.node = node;
@@ -374,10 +370,10 @@ var DynamicValue = class {
374
370
  }
375
371
  };
376
372
 
377
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
373
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
378
374
  import ts2 from "typescript";
379
375
 
380
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
376
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
381
377
  var ResolvedModule = class {
382
378
  constructor(exports, evaluate) {
383
379
  this.exports = exports;
@@ -407,7 +403,7 @@ var EnumValue = class {
407
403
  var KnownFn = class {
408
404
  };
409
405
 
410
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
406
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
411
407
  var ArraySliceBuiltinFn = class extends KnownFn {
412
408
  constructor(lhs) {
413
409
  super();
@@ -478,7 +474,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
478
474
  }
479
475
  };
480
476
 
481
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
477
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
482
478
  var AssignHelperFn = class extends ObjectAssignBuiltinFn {
483
479
  };
484
480
  var SpreadHelperFn = class extends KnownFn {
@@ -531,7 +527,7 @@ var ReadHelperFn = class extends KnownFn {
531
527
  }
532
528
  };
533
529
 
534
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
530
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
535
531
  var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
536
532
  var assignTsHelperFn = new AssignHelperFn();
537
533
  var spreadTsHelperFn = new SpreadHelperFn();
@@ -555,14 +551,14 @@ function resolveKnownDeclaration(decl) {
555
551
  }
556
552
  }
557
553
 
558
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
554
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
559
555
  var SyntheticValue = class {
560
556
  constructor(value) {
561
557
  this.value = value;
562
558
  }
563
559
  };
564
560
 
565
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
561
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
566
562
  function literalBinaryOp(op) {
567
563
  return { op, literal: true };
568
564
  }
@@ -733,7 +729,7 @@ var StaticInterpreter = class {
733
729
  } else if (isConcreteDeclaration(decl) && decl.identity !== null && decl.identity.kind === 0) {
734
730
  return this.getResolvedEnum(decl.node, decl.identity.enumMembers, context);
735
731
  }
736
- const declContext = __spreadValues(__spreadValues({}, context), joinModuleContext(context, node, decl));
732
+ const declContext = { ...context, ...joinModuleContext(context, node, decl) };
737
733
  const result = this.visitAmbiguousDeclaration(decl, declContext);
738
734
  if (result instanceof Reference) {
739
735
  if (!result.synthetic) {
@@ -825,7 +821,10 @@ var StaticInterpreter = class {
825
821
  if (decl.known !== null) {
826
822
  return resolveKnownDeclaration(decl.known);
827
823
  }
828
- const declContext = __spreadValues(__spreadValues({}, context), joinModuleContext(context, node, decl));
824
+ const declContext = {
825
+ ...context,
826
+ ...joinModuleContext(context, node, decl)
827
+ };
829
828
  return this.visitAmbiguousDeclaration(decl, declContext);
830
829
  });
831
830
  }
@@ -908,7 +907,7 @@ var StaticInterpreter = class {
908
907
  resolutionContext: lhs.bestGuessOwningModule.resolutionContext
909
908
  };
910
909
  }
911
- return this.visitFfrExpression(expr, __spreadValues(__spreadValues({}, context), contextExtension));
910
+ return this.visitFfrExpression(expr, { ...context, ...contextExtension });
912
911
  };
913
912
  if (fn.body === null && context.foreignFunctionResolver !== void 0) {
914
913
  const unresolvable = DynamicValue.fromDynamicInput(node, DynamicValue.fromExternalReference(node.expression, lhs));
@@ -937,7 +936,7 @@ var StaticInterpreter = class {
937
936
  const ret = fn.body[0];
938
937
  const args = this.evaluateFunctionArguments(node, context);
939
938
  const newScope = /* @__PURE__ */ new Map();
940
- const calleeContext = __spreadProps(__spreadValues({}, context), { scope: newScope });
939
+ const calleeContext = { ...context, scope: newScope };
941
940
  fn.parameters.forEach((param, index) => {
942
941
  let arg = args[index];
943
942
  if (param.node.dotDotDotToken !== void 0) {
@@ -1144,7 +1143,7 @@ function owningModule(context, override = null) {
1144
1143
  }
1145
1144
  }
1146
1145
 
1147
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1146
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1148
1147
  var PartialEvaluator = class {
1149
1148
  constructor(host, checker, dependencyTracker) {
1150
1149
  this.host = host;
@@ -1164,7 +1163,7 @@ var PartialEvaluator = class {
1164
1163
  }
1165
1164
  };
1166
1165
 
1167
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1166
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1168
1167
  import ts3 from "typescript";
1169
1168
  function describeResolvedType(value, maxDepth = 1) {
1170
1169
  var _a, _b;
@@ -1294,7 +1293,7 @@ function getContainerNode(node) {
1294
1293
  return node.getSourceFile();
1295
1294
  }
1296
1295
 
1297
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1296
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1298
1297
  import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
1299
1298
  import ts4 from "typescript";
1300
1299
  function getConstructorDependencies(clazz, reflector, isCore) {
@@ -1438,7 +1437,7 @@ function createUnsuitableInjectionTokenError(clazz, error) {
1438
1437
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
1439
1438
  }
1440
1439
 
1441
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1440
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1442
1441
  import ts5 from "typescript";
1443
1442
  function makeDuplicateDeclarationError(node, data, kind) {
1444
1443
  const context = [];
@@ -1546,7 +1545,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
1546
1545
  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}.`);
1547
1546
  }
1548
1547
 
1549
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
1548
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
1550
1549
  import ts6 from "typescript";
1551
1550
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
1552
1551
  let resolved = null;
@@ -1579,7 +1578,7 @@ function resolveLiteral(decorator, literalCache) {
1579
1578
  return meta;
1580
1579
  }
1581
1580
 
1582
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
1581
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
1583
1582
  import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
1584
1583
  function compileNgFactoryDefField(metadata) {
1585
1584
  const res = compileFactoryFunction(metadata);
@@ -1590,7 +1589,7 @@ function compileDeclareFactory(metadata) {
1590
1589
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
1591
1590
  }
1592
1591
 
1593
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
1592
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
1594
1593
  import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
1595
1594
  import ts7 from "typescript";
1596
1595
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -1678,13 +1677,13 @@ function removeIdentifierReferences(node, name) {
1678
1677
  return result.transformed[0];
1679
1678
  }
1680
1679
 
1681
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
1680
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
1682
1681
  var NoopReferencesRegistry = class {
1683
1682
  add(source, ...references) {
1684
1683
  }
1685
1684
  };
1686
1685
 
1687
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
1686
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
1688
1687
  import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
1689
1688
  function extractSchemas(rawExpr, evaluator, context) {
1690
1689
  const schemas = [];
@@ -1714,11 +1713,11 @@ function extractSchemas(rawExpr, evaluator, context) {
1714
1713
  return schemas;
1715
1714
  }
1716
1715
 
1717
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
1716
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
1718
1717
  import { compileClassMetadata as compileClassMetadata3, 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, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
1719
1718
  import ts24 from "typescript";
1720
1719
 
1721
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
1720
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
1722
1721
  import ts8 from "typescript";
1723
1722
  var SemanticSymbol = class {
1724
1723
  constructor(decl) {
@@ -1734,7 +1733,7 @@ function getSymbolIdentifier(decl) {
1734
1733
  return decl.name.text;
1735
1734
  }
1736
1735
 
1737
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
1736
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
1738
1737
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
1739
1738
  var OpaqueSymbol = class extends SemanticSymbol {
1740
1739
  isPublicApiAffected() {
@@ -1877,10 +1876,10 @@ function getImportPath(expr) {
1877
1876
  }
1878
1877
  }
1879
1878
 
1880
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
1879
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
1881
1880
  import ts9 from "typescript";
1882
1881
 
1883
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
1882
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
1884
1883
  function isSymbolEqual(a, b) {
1885
1884
  if (a.decl === b.decl) {
1886
1885
  return true;
@@ -1930,7 +1929,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
1930
1929
  return true;
1931
1930
  }
1932
1931
 
1933
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
1932
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
1934
1933
  function extractSemanticTypeParameters(node) {
1935
1934
  if (!ts9.isClassDeclaration(node) || node.typeParameters === void 0) {
1936
1935
  return null;
@@ -1950,7 +1949,7 @@ function isTypeParameterEqual(a, b) {
1950
1949
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
1951
1950
  }
1952
1951
 
1953
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1952
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1954
1953
  var MetaKind;
1955
1954
  (function(MetaKind2) {
1956
1955
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -1958,10 +1957,10 @@ var MetaKind;
1958
1957
  MetaKind2[MetaKind2["NgModule"] = 2] = "NgModule";
1959
1958
  })(MetaKind || (MetaKind = {}));
1960
1959
 
1961
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1960
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1962
1961
  import ts11 from "typescript";
1963
1962
 
1964
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1963
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1965
1964
  var ClassPropertyMapping = class {
1966
1965
  constructor(forwardMap) {
1967
1966
  this.forwardMap = forwardMap;
@@ -2037,7 +2036,7 @@ function reverseMapFromForwardMap(forwardMap) {
2037
2036
  return reverseMap;
2038
2037
  }
2039
2038
 
2040
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
2039
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
2041
2040
  import ts10 from "typescript";
2042
2041
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
2043
2042
  if (!ts10.isTupleTypeNode(def)) {
@@ -2217,7 +2216,7 @@ function hasInjectableFields(clazz, host) {
2217
2216
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
2218
2217
  }
2219
2218
 
2220
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
2219
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
2221
2220
  var DtsMetadataReader = class {
2222
2221
  constructor(checker, reflector) {
2223
2222
  this.checker = checker;
@@ -2261,7 +2260,7 @@ var DtsMetadataReader = class {
2261
2260
  const isStandalone = def.type.typeArguments.length > 7 && ((_a = readBooleanType(def.type.typeArguments[7])) != null ? _a : false);
2262
2261
  const inputs = ClassPropertyMapping.fromMappedObject(readStringMapType(def.type.typeArguments[3]));
2263
2262
  const outputs = ClassPropertyMapping.fromMappedObject(readStringMapType(def.type.typeArguments[4]));
2264
- return __spreadProps(__spreadValues({
2263
+ return {
2265
2264
  kind: MetaKind.Directive,
2266
2265
  ref,
2267
2266
  name: clazz.name.text,
@@ -2270,8 +2269,8 @@ var DtsMetadataReader = class {
2270
2269
  exportAs: readStringArrayType(def.type.typeArguments[2]),
2271
2270
  inputs,
2272
2271
  outputs,
2273
- queries: readStringArrayType(def.type.typeArguments[5])
2274
- }, extractDirectiveTypeCheckMeta(clazz, inputs, this.reflector)), {
2272
+ queries: readStringArrayType(def.type.typeArguments[5]),
2273
+ ...extractDirectiveTypeCheckMeta(clazz, inputs, this.reflector),
2275
2274
  baseClass: readBaseClass2(clazz, this.checker, this.reflector),
2276
2275
  isPoisoned: false,
2277
2276
  isStructural,
@@ -2279,7 +2278,7 @@ var DtsMetadataReader = class {
2279
2278
  isStandalone,
2280
2279
  imports: null,
2281
2280
  schemas: null
2282
- });
2281
+ };
2283
2282
  }
2284
2283
  getPipeMetadata(ref) {
2285
2284
  var _a;
@@ -2329,7 +2328,7 @@ function readBaseClass2(clazz, checker, reflector) {
2329
2328
  return null;
2330
2329
  }
2331
2330
 
2332
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
2331
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
2333
2332
  function flattenInheritedDirectiveMetadata(reader, dir) {
2334
2333
  const topMeta = reader.getDirectiveMetadata(dir);
2335
2334
  if (topMeta === null) {
@@ -2374,7 +2373,8 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
2374
2373
  }
2375
2374
  };
2376
2375
  addMetadata(topMeta);
2377
- return __spreadProps(__spreadValues({}, topMeta), {
2376
+ return {
2377
+ ...topMeta,
2378
2378
  inputs,
2379
2379
  outputs,
2380
2380
  coercedInputFields,
@@ -2383,10 +2383,10 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
2383
2383
  stringLiteralInputFields,
2384
2384
  baseClass: isDynamic ? "dynamic" : null,
2385
2385
  isStructural
2386
- });
2386
+ };
2387
2387
  }
2388
2388
 
2389
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
2389
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
2390
2390
  var LocalMetadataRegistry = class {
2391
2391
  constructor() {
2392
2392
  this.directives = /* @__PURE__ */ new Map();
@@ -2445,7 +2445,7 @@ var InjectableClassRegistry = class {
2445
2445
  }
2446
2446
  };
2447
2447
 
2448
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2448
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2449
2449
  var ResourceRegistry = class {
2450
2450
  constructor() {
2451
2451
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -2510,14 +2510,14 @@ var ResourceRegistry = class {
2510
2510
  }
2511
2511
  };
2512
2512
 
2513
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2513
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2514
2514
  var ComponentScopeKind;
2515
2515
  (function(ComponentScopeKind2) {
2516
2516
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
2517
2517
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
2518
2518
  })(ComponentScopeKind || (ComponentScopeKind = {}));
2519
2519
 
2520
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2520
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2521
2521
  var CompoundComponentScopeReader = class {
2522
2522
  constructor(readers) {
2523
2523
  this.readers = readers;
@@ -2542,7 +2542,7 @@ var CompoundComponentScopeReader = class {
2542
2542
  }
2543
2543
  };
2544
2544
 
2545
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2545
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2546
2546
  var MetadataDtsModuleScopeResolver = class {
2547
2547
  constructor(dtsMetaReader, aliasingHost) {
2548
2548
  this.dtsMetaReader = dtsMetaReader;
@@ -2611,17 +2611,18 @@ var MetadataDtsModuleScopeResolver = class {
2611
2611
  if (alias === null) {
2612
2612
  return dirOrPipe;
2613
2613
  }
2614
- return __spreadProps(__spreadValues({}, dirOrPipe), {
2614
+ return {
2615
+ ...dirOrPipe,
2615
2616
  ref: ref.cloneWithAlias(alias)
2616
- });
2617
+ };
2617
2618
  }
2618
2619
  };
2619
2620
 
2620
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2621
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2621
2622
  import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
2622
2623
  import ts12 from "typescript";
2623
2624
 
2624
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2625
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2625
2626
  function getDiagnosticNode(ref, rawExpr) {
2626
2627
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
2627
2628
  }
@@ -2631,11 +2632,8 @@ function makeNotStandaloneDiagnostic(scopeReader, ref, rawExpr, kind) {
2631
2632
  let relatedInformation = void 0;
2632
2633
  if (scope !== null && scope.kind === ComponentScopeKind.NgModule) {
2633
2634
  const isExported = scope.exported.dependencies.some((dep) => dep.ref.node === ref.node);
2634
- if (isExported) {
2635
- relatedInformation = [makeRelatedInformation(scope.ngModule.name, `It can be imported using its NgModule '${scope.ngModule.name.text}' instead.`)];
2636
- } else {
2637
- relatedInformation = [makeRelatedInformation(scope.ngModule.name, `It's declared in the NgModule '${scope.ngModule.name.text}', but is not exported. Consider exporting it.`)];
2638
- }
2635
+ const relatedInfoMessageText = isExported ? `It can be imported using its '${scope.ngModule.name.text}' NgModule instead.` : `It's declared in the '${scope.ngModule.name.text}' NgModule, but is not exported. Consider exporting it and importing the NgModule instead.`;
2636
+ relatedInformation = [makeRelatedInformation(scope.ngModule.name, relatedInfoMessageText)];
2639
2637
  } else {
2640
2638
  }
2641
2639
  if (relatedInformation === void 0) {
@@ -2647,7 +2645,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
2647
2645
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
2648
2646
  }
2649
2647
 
2650
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2648
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2651
2649
  var LocalModuleScopeRegistry = class {
2652
2650
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
2653
2651
  this.localReader = localReader;
@@ -2790,7 +2788,7 @@ var LocalModuleScopeRegistry = class {
2790
2788
  isPoisoned = true;
2791
2789
  continue;
2792
2790
  }
2793
- compilationDirectives.set(decl.node, __spreadProps(__spreadValues({}, directive), { ref: decl }));
2791
+ compilationDirectives.set(decl.node, { ...directive, ref: decl });
2794
2792
  if (directive.isPoisoned) {
2795
2793
  isPoisoned = true;
2796
2794
  }
@@ -2800,7 +2798,7 @@ var LocalModuleScopeRegistry = class {
2800
2798
  isPoisoned = true;
2801
2799
  continue;
2802
2800
  }
2803
- compilationPipes.set(decl.node, __spreadProps(__spreadValues({}, pipe), { ref: decl }));
2801
+ compilationPipes.set(decl.node, { ...pipe, ref: decl });
2804
2802
  } else {
2805
2803
  const errorNode = decl.getOriginForDiagnostics(ngModule.rawDeclarations);
2806
2804
  diagnostics.push(makeDiagnostic(ErrorCode.NGMODULE_INVALID_DECLARATION, errorNode, `The class '${decl.node.name.text}' is listed in the declarations of the NgModule '${ngModule.ref.node.name.text}', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.`, [makeRelatedInformation(decl.node.name, `'${decl.node.name.text}' is declared here.`)]));
@@ -2986,7 +2984,7 @@ function reexportCollision(module, refA, refB) {
2986
2984
  ]);
2987
2985
  }
2988
2986
 
2989
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
2987
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
2990
2988
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
2991
2989
  import ts13 from "typescript";
2992
2990
  var TypeCheckScopeRegistry = class {
@@ -3048,7 +3046,7 @@ var TypeCheckScopeRegistry = class {
3048
3046
  }
3049
3047
  };
3050
3048
 
3051
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3049
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3052
3050
  var CompilationMode;
3053
3051
  (function(CompilationMode2) {
3054
3052
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -3066,7 +3064,7 @@ var HandlerFlags;
3066
3064
  HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
3067
3065
  })(HandlerFlags || (HandlerFlags = {}));
3068
3066
 
3069
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3067
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3070
3068
  import ts14 from "typescript";
3071
3069
  function aliasTransformFactory(exportStatements) {
3072
3070
  return (context) => {
@@ -3084,10 +3082,10 @@ function aliasTransformFactory(exportStatements) {
3084
3082
  };
3085
3083
  }
3086
3084
 
3087
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3085
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3088
3086
  import ts15 from "typescript";
3089
3087
 
3090
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3088
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3091
3089
  var TraitState;
3092
3090
  (function(TraitState2) {
3093
3091
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -3142,7 +3140,7 @@ var TraitImpl = class {
3142
3140
  }
3143
3141
  };
3144
3142
 
3145
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3143
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3146
3144
  var TraitCompiler = class {
3147
3145
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
3148
3146
  this.handlers = handlers;
@@ -3586,10 +3584,10 @@ function containsErrors(diagnostics) {
3586
3584
  return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
3587
3585
  }
3588
3586
 
3589
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3587
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3590
3588
  import ts17 from "typescript";
3591
3589
 
3592
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3590
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3593
3591
  import ts16 from "typescript";
3594
3592
  function addImports(importManager, sf, extraStatements = []) {
3595
3593
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -3617,7 +3615,7 @@ function isImportStatement(stmt) {
3617
3615
  return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
3618
3616
  }
3619
3617
 
3620
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3618
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3621
3619
  var DtsTransformRegistry = class {
3622
3620
  constructor() {
3623
3621
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -3742,11 +3740,11 @@ function markForEmitAsSingleLine(node) {
3742
3740
  ts17.forEachChild(node, markForEmitAsSingleLine);
3743
3741
  }
3744
3742
 
3745
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3743
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3746
3744
  import { ConstantPool } from "@angular/compiler";
3747
3745
  import ts19 from "typescript";
3748
3746
 
3749
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
3747
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
3750
3748
  import ts18 from "typescript";
3751
3749
  function visit(node, visitor, context) {
3752
3750
  return visitor._visit(node, context);
@@ -3808,7 +3806,7 @@ function hasStatements(node) {
3808
3806
  return block.statements !== void 0 && Array.isArray(block.statements);
3809
3807
  }
3810
3808
 
3811
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3809
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3812
3810
  var NO_DECORATORS = /* @__PURE__ */ new Set();
3813
3811
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
3814
3812
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -3989,10 +3987,10 @@ function createRecorderFn(defaultImportTracker) {
3989
3987
  };
3990
3988
  }
3991
3989
 
3992
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
3990
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
3993
3991
  import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
3994
3992
 
3995
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
3993
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
3996
3994
  import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
3997
3995
  import ts20 from "typescript";
3998
3996
  var EMPTY_OBJECT = {};
@@ -4075,8 +4073,8 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, isCore
4075
4073
  const usesInheritance = reflector.hasBaseClass(clazz);
4076
4074
  const type = wrapTypeReference(reflector, clazz);
4077
4075
  const internalType = new WrappedNodeExpr4(reflector.getInternalNameOfClass(clazz));
4078
- const inputs = ClassPropertyMapping.fromMappedObject(__spreadValues(__spreadValues({}, inputsFromMeta), inputsFromFields));
4079
- const outputs = ClassPropertyMapping.fromMappedObject(__spreadValues(__spreadValues({}, outputsFromMeta), outputsFromFields));
4076
+ const inputs = ClassPropertyMapping.fromMappedObject({ ...inputsFromMeta, ...inputsFromFields });
4077
+ const outputs = ClassPropertyMapping.fromMappedObject({ ...outputsFromMeta, ...outputsFromFields });
4080
4078
  const metadata = {
4081
4079
  name: clazz.name.text,
4082
4080
  deps: ctorDeps,
@@ -4356,7 +4354,7 @@ function evaluateHostExpressionBindings(hostExpr, evaluator) {
4356
4354
  return bindings;
4357
4355
  }
4358
4356
 
4359
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4357
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4360
4358
  var DirectiveSymbol = class extends SemanticSymbol {
4361
4359
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
4362
4360
  super(decl);
@@ -4433,7 +4431,7 @@ function isBaseClassEqual(current, previous) {
4433
4431
  return isSymbolEqual(current, previous);
4434
4432
  }
4435
4433
 
4436
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4434
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4437
4435
  var FIELD_DECORATORS = [
4438
4436
  "Input",
4439
4437
  "Output",
@@ -4516,7 +4514,7 @@ var DirectiveDecoratorHandler = class {
4516
4514
  }
4517
4515
  register(node, analysis) {
4518
4516
  const ref = new Reference(node);
4519
- this.metaRegistry.registerDirectiveMetadata(__spreadProps(__spreadValues({
4517
+ this.metaRegistry.registerDirectiveMetadata({
4520
4518
  kind: MetaKind.Directive,
4521
4519
  ref,
4522
4520
  name: node.name.text,
@@ -4526,15 +4524,15 @@ var DirectiveDecoratorHandler = class {
4526
4524
  outputs: analysis.outputs,
4527
4525
  queries: analysis.meta.queries.map((query) => query.propertyName),
4528
4526
  isComponent: false,
4529
- baseClass: analysis.baseClass
4530
- }, analysis.typeCheckMeta), {
4527
+ baseClass: analysis.baseClass,
4528
+ ...analysis.typeCheckMeta,
4531
4529
  isPoisoned: analysis.isPoisoned,
4532
4530
  isStructural: analysis.isStructural,
4533
4531
  animationTriggerNames: null,
4534
4532
  isStandalone: analysis.meta.isStandalone,
4535
4533
  imports: null,
4536
4534
  schemas: null
4537
- }));
4535
+ });
4538
4536
  this.injectableRegistry.registerInjectable(node);
4539
4537
  }
4540
4538
  resolve(node, analysis, symbol) {
@@ -4577,11 +4575,11 @@ var DirectiveDecoratorHandler = class {
4577
4575
  }
4578
4576
  };
4579
4577
 
4580
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4578
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4581
4579
  import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr as FunctionExpr2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3SelectorScopeMode, ReturnStatement as ReturnStatement2, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
4582
4580
  import ts22 from "typescript";
4583
4581
 
4584
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
4582
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
4585
4583
  import ts21 from "typescript";
4586
4584
  function createModuleWithProvidersResolver(reflector, isCore) {
4587
4585
  function _reflectModuleFromTypeParam(type, node) {
@@ -4648,7 +4646,7 @@ function isResolvedModuleWithProviders(sv) {
4648
4646
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
4649
4647
  }
4650
4648
 
4651
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4649
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4652
4650
  var NgModuleSymbol = class extends SemanticSymbol {
4653
4651
  constructor() {
4654
4652
  super(...arguments);
@@ -4995,9 +4993,10 @@ var NgModuleDecoratorHandler = class {
4995
4993
  }
4996
4994
  compileFull(node, { inj, mod, fac, classMetadata, declarations, remoteScopesMayRequireCycleProtection }, { injectorImports }) {
4997
4995
  const factoryFn = compileNgFactoryDefField(fac);
4998
- const ngInjectorDef = compileInjector(__spreadProps(__spreadValues({}, inj), {
4996
+ const ngInjectorDef = compileInjector({
4997
+ ...inj,
4999
4998
  imports: injectorImports
5000
- }));
4999
+ });
5001
5000
  const ngModuleDef = compileNgModule(mod);
5002
5001
  const statements = ngModuleDef.statements;
5003
5002
  const metadata = classMetadata !== null ? compileClassMetadata2(classMetadata) : null;
@@ -5007,9 +5006,10 @@ var NgModuleDecoratorHandler = class {
5007
5006
  }
5008
5007
  compilePartial(node, { inj, fac, mod, classMetadata }, { injectorImports }) {
5009
5008
  const factoryFn = compileDeclareFactory(fac);
5010
- const injectorDef = compileDeclareInjectorFromMetadata(__spreadProps(__spreadValues({}, inj), {
5009
+ const injectorDef = compileDeclareInjectorFromMetadata({
5010
+ ...inj,
5011
5011
  imports: injectorImports
5012
- }));
5012
+ });
5013
5013
  const ngModuleDef = compileDeclareNgModuleFromMetadata(mod);
5014
5014
  const metadata = classMetadata !== null ? compileDeclareClassMetadata2(classMetadata) : null;
5015
5015
  this.insertMetadataStatement(ngModuleDef.statements, metadata);
@@ -5133,7 +5133,7 @@ function isSyntheticReference(ref) {
5133
5133
  return ref.synthetic;
5134
5134
  }
5135
5135
 
5136
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5136
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5137
5137
  function makeCyclicImportInfo(ref, type, cycle) {
5138
5138
  const name = ref.debugName || "(unknown)";
5139
5139
  const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -5156,7 +5156,7 @@ function checkCustomElementSelectorForErrors(selector) {
5156
5156
  return null;
5157
5157
  }
5158
5158
 
5159
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5159
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5160
5160
  import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
5161
5161
  import ts23 from "typescript";
5162
5162
  function getTemplateDeclarationNodeForError(declaration) {
@@ -5200,17 +5200,19 @@ function extractTemplate(node, template, evaluator, depTracker, resourceLoader,
5200
5200
  };
5201
5201
  sourceMapUrl = null;
5202
5202
  }
5203
- return __spreadProps(__spreadValues({}, parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedString, sourceMapUrl, options)), {
5203
+ return {
5204
+ ...parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedString, sourceMapUrl, options),
5204
5205
  content: templateContent,
5205
5206
  sourceMapping,
5206
5207
  declaration: template
5207
- });
5208
+ };
5208
5209
  } else {
5209
5210
  const templateContent = resourceLoader.load(template.resolvedTemplateUrl);
5210
5211
  if (depTracker !== null) {
5211
5212
  depTracker.addResourceDependency(node.getSourceFile(), absoluteFrom(template.resolvedTemplateUrl));
5212
5213
  }
5213
- return __spreadProps(__spreadValues({}, parseExtractedTemplate(template, templateContent, null, false, template.resolvedTemplateUrl, options)), {
5214
+ return {
5215
+ ...parseExtractedTemplate(template, templateContent, null, false, template.resolvedTemplateUrl, options),
5214
5216
  content: templateContent,
5215
5217
  sourceMapping: {
5216
5218
  type: "external",
@@ -5220,7 +5222,7 @@ function extractTemplate(node, template, evaluator, depTracker, resourceLoader,
5220
5222
  templateUrl: template.resolvedTemplateUrl
5221
5223
  },
5222
5224
  declaration: template
5223
- });
5225
+ };
5224
5226
  }
5225
5227
  }
5226
5228
  function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedString, sourceMapUrl, options) {
@@ -5245,10 +5247,11 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
5245
5247
  leadingTriviaChars: [],
5246
5248
  alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
5247
5249
  });
5248
- return __spreadProps(__spreadValues({}, parsedTemplate), {
5250
+ return {
5251
+ ...parsedTemplate,
5249
5252
  diagNodes,
5250
5253
  file: new ParseSourceFile2(sourceStr, sourceMapUrl != null ? sourceMapUrl : "")
5251
- });
5254
+ };
5252
5255
  }
5253
5256
  function parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces) {
5254
5257
  let preserveWhitespaces = defaultPreserveWhitespaces;
@@ -5387,7 +5390,7 @@ function transformDecoratorResources(dec, component, styles, template) {
5387
5390
  for (const [name, value] of metadata.entries()) {
5388
5391
  newMetadataFields.push(ts23.factory.createPropertyAssignment(name, value));
5389
5392
  }
5390
- return __spreadProps(__spreadValues({}, dec), { args: [ts23.factory.createObjectLiteralExpression(newMetadataFields)] });
5393
+ return { ...dec, args: [ts23.factory.createObjectLiteralExpression(newMetadataFields)] };
5391
5394
  }
5392
5395
  function extractComponentStyleUrls(evaluator, component) {
5393
5396
  if (!component.has("styleUrls")) {
@@ -5459,7 +5462,7 @@ function _extractTemplateStyleUrls(template) {
5459
5462
  return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
5460
5463
  }
5461
5464
 
5462
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
5465
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
5463
5466
  var ComponentSymbol = class extends DirectiveSymbol {
5464
5467
  constructor() {
5465
5468
  super(...arguments);
@@ -5494,7 +5497,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
5494
5497
  }
5495
5498
  };
5496
5499
 
5497
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
5500
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
5498
5501
  function collectAnimationNames(value, animationTriggerNames) {
5499
5502
  if (value instanceof Map) {
5500
5503
  const name = value.get("name");
@@ -5570,7 +5573,7 @@ function isLikelyModuleWithProviders(value) {
5570
5573
  return false;
5571
5574
  }
5572
5575
 
5573
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
5576
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
5574
5577
  var EMPTY_ARRAY = [];
5575
5578
  var ComponentDecoratorHandler = class {
5576
5579
  constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf) {
@@ -5822,7 +5825,8 @@ var ComponentDecoratorHandler = class {
5822
5825
  baseClass: readBaseClass(node, this.reflector, this.evaluator),
5823
5826
  inputs,
5824
5827
  outputs,
5825
- meta: __spreadProps(__spreadValues({}, metadata), {
5828
+ meta: {
5829
+ ...metadata,
5826
5830
  template: {
5827
5831
  nodes: template.nodes,
5828
5832
  ngContentSelectors: template.ngContentSelectors
@@ -5834,7 +5838,7 @@ var ComponentDecoratorHandler = class {
5834
5838
  viewProviders: wrappedViewProviders,
5835
5839
  i18nUseExternalIds: this.i18nUseExternalIds,
5836
5840
  relativeContextFilePath
5837
- }),
5841
+ },
5838
5842
  typeCheckMeta: extractDirectiveTypeCheckMeta(node, inputs, this.reflector),
5839
5843
  classMetadata: extractClassMetadata(node, this.reflector, this.isCore, this.annotateForClosureCompiler, (dec) => transformDecoratorResources(dec, component, styles, template)),
5840
5844
  template,
@@ -5865,7 +5869,7 @@ var ComponentDecoratorHandler = class {
5865
5869
  }
5866
5870
  register(node, analysis) {
5867
5871
  const ref = new Reference(node);
5868
- this.metaRegistry.registerDirectiveMetadata(__spreadProps(__spreadValues({
5872
+ this.metaRegistry.registerDirectiveMetadata({
5869
5873
  kind: MetaKind.Directive,
5870
5874
  ref,
5871
5875
  name: node.name.text,
@@ -5875,15 +5879,15 @@ var ComponentDecoratorHandler = class {
5875
5879
  outputs: analysis.outputs,
5876
5880
  queries: analysis.meta.queries.map((query) => query.propertyName),
5877
5881
  isComponent: true,
5878
- baseClass: analysis.baseClass
5879
- }, analysis.typeCheckMeta), {
5882
+ baseClass: analysis.baseClass,
5883
+ ...analysis.typeCheckMeta,
5880
5884
  isPoisoned: analysis.isPoisoned,
5881
5885
  isStructural: false,
5882
5886
  isStandalone: analysis.meta.isStandalone,
5883
5887
  imports: analysis.resolvedImports,
5884
5888
  animationTriggerNames: analysis.animationTriggerNames,
5885
5889
  schemas: analysis.schemas
5886
- }));
5890
+ });
5887
5891
  this.resourceRegistry.registerResources(analysis.resources, node);
5888
5892
  this.injectableRegistry.registerInjectable(node);
5889
5893
  }
@@ -6136,7 +6140,7 @@ var ComponentDecoratorHandler = class {
6136
6140
  if (analysis.template.errors !== null && analysis.template.errors.length > 0) {
6137
6141
  return [];
6138
6142
  }
6139
- const meta = __spreadValues(__spreadValues({}, analysis.meta), resolution);
6143
+ const meta = { ...analysis.meta, ...resolution };
6140
6144
  const fac = compileNgFactoryDefField(toFactoryMetadata(meta, FactoryTarget3.Component));
6141
6145
  const def = compileComponentFromMetadata(meta, pool, makeBindingParser2());
6142
6146
  const classMetadata = analysis.classMetadata !== null ? compileClassMetadata3(analysis.classMetadata).toStmt() : null;
@@ -6152,7 +6156,7 @@ var ComponentDecoratorHandler = class {
6152
6156
  isInline: analysis.template.declaration.isInline,
6153
6157
  inlineTemplateLiteralExpression: analysis.template.sourceMapping.type === "direct" ? new WrappedNodeExpr7(analysis.template.sourceMapping.node) : null
6154
6158
  };
6155
- const meta = __spreadValues(__spreadValues({}, analysis.meta), resolution);
6159
+ const meta = { ...analysis.meta, ...resolution };
6156
6160
  const fac = compileDeclareFactory(toFactoryMetadata(meta, FactoryTarget3.Component));
6157
6161
  const def = compileDeclareComponentFromMetadata(meta, analysis.template, templateInfo);
6158
6162
  const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata3(analysis.classMetadata).toStmt() : null;
@@ -6199,7 +6203,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
6199
6203
  return diagnostics;
6200
6204
  }
6201
6205
 
6202
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6206
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6203
6207
  import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
6204
6208
  import ts25 from "typescript";
6205
6209
  var InjectableDecoratorHandler = class {
@@ -6257,7 +6261,7 @@ var InjectableDecoratorHandler = class {
6257
6261
  const results = [];
6258
6262
  if (analysis.needsFactory) {
6259
6263
  const meta = analysis.meta;
6260
- const factoryRes = compileFactoryFn(toFactoryMetadata(__spreadProps(__spreadValues({}, meta), { deps: analysis.ctorDeps }), FactoryTarget4.Injectable));
6264
+ const factoryRes = compileFactoryFn(toFactoryMetadata({ ...meta, deps: analysis.ctorDeps }, FactoryTarget4.Injectable));
6261
6265
  if (analysis.classMetadata !== null) {
6262
6266
  factoryRes.statements.push(compileClassMetadataFn(analysis.classMetadata).toStmt());
6263
6267
  }
@@ -6399,7 +6403,7 @@ function getDep(dep, reflector) {
6399
6403
  return meta;
6400
6404
  }
6401
6405
 
6402
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
6406
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
6403
6407
  import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
6404
6408
  import ts26 from "typescript";
6405
6409
  var PipeSymbol = class extends SemanticSymbol {
@@ -6581,4 +6585,4 @@ export {
6581
6585
  * Use of this source code is governed by an MIT-style license that can be
6582
6586
  * found in the LICENSE file at https://angular.io/license
6583
6587
  */
6584
- //# sourceMappingURL=chunk-UT3V7UNM.js.map
6588
+ //# sourceMappingURL=chunk-6BM4D47M.js.map