@angular/compiler-cli 16.0.0-next.3 → 16.0.0-next.4

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 (41) hide show
  1. package/bundles/{chunk-MENJKFAO.js → chunk-4TZUPGBE.js} +144 -91
  2. package/bundles/chunk-4TZUPGBE.js.map +6 -0
  3. package/bundles/{chunk-LJFSK6KK.js → chunk-BKZMHDOG.js} +33 -33
  4. package/bundles/chunk-BKZMHDOG.js.map +6 -0
  5. package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
  6. package/bundles/{chunk-OJ24Q4I3.js → chunk-J5XCN5DY.js} +133 -117
  7. package/bundles/chunk-J5XCN5DY.js.map +6 -0
  8. package/bundles/{chunk-BVXD7IJL.js → chunk-KOYPL546.js} +5 -5
  9. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  10. package/bundles/{chunk-54RHUHYB.js → chunk-N6MSUQVH.js} +5 -5
  11. package/bundles/{chunk-EDWIBG7R.js → chunk-QQGJEWBQ.js} +6 -6
  12. package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
  13. package/bundles/{chunk-F6KVOAVN.js → chunk-TNNRAQPV.js} +5 -5
  14. package/bundles/{chunk-K2A5WD7L.js → chunk-UZSESMCH.js} +23 -21
  15. package/bundles/chunk-UZSESMCH.js.map +6 -0
  16. package/bundles/{chunk-LLHKY5PL.js → chunk-WWVESPME.js} +8 -8
  17. package/bundles/index.js +13 -13
  18. package/bundles/linker/babel/index.js +13 -13
  19. package/bundles/linker/index.js +5 -5
  20. package/bundles/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/package.json +2 -2
  28. package/src/ngtsc/diagnostics/src/error_code.d.ts +9 -0
  29. package/src/ngtsc/typecheck/src/oob.d.ts +4 -1
  30. package/bundles/chunk-K2A5WD7L.js.map +0 -6
  31. package/bundles/chunk-LJFSK6KK.js.map +0 -6
  32. package/bundles/chunk-MENJKFAO.js.map +0 -6
  33. package/bundles/chunk-OJ24Q4I3.js.map +0 -6
  34. /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
  35. /package/bundles/{chunk-BVXD7IJL.js.map → chunk-KOYPL546.js.map} +0 -0
  36. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  37. /package/bundles/{chunk-54RHUHYB.js.map → chunk-N6MSUQVH.js.map} +0 -0
  38. /package/bundles/{chunk-EDWIBG7R.js.map → chunk-QQGJEWBQ.js.map} +0 -0
  39. /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
  40. /package/bundles/{chunk-F6KVOAVN.js.map → chunk-TNNRAQPV.js.map} +0 -0
  41. /package/bundles/{chunk-LLHKY5PL.js.map → chunk-WWVESPME.js.map} +0 -0
@@ -12,13 +12,13 @@ import {
12
12
  reflectObjectLiteral,
13
13
  reflectTypeEntityToDeclaration,
14
14
  typeNodeToValueExpr
15
- } from "./chunk-EDWIBG7R.js";
15
+ } from "./chunk-QQGJEWBQ.js";
16
16
  import {
17
17
  ImportManager,
18
18
  translateExpression,
19
19
  translateStatement,
20
20
  translateType
21
- } from "./chunk-LLHKY5PL.js";
21
+ } from "./chunk-WWVESPME.js";
22
22
  import {
23
23
  ErrorCode,
24
24
  FatalDiagnosticError,
@@ -35,18 +35,18 @@ import {
35
35
  makeRelatedInformation,
36
36
  nodeDebugInfo,
37
37
  nodeNameForError
38
- } from "./chunk-K2A5WD7L.js";
38
+ } from "./chunk-UZSESMCH.js";
39
39
  import {
40
40
  PerfEvent,
41
41
  PerfPhase
42
- } from "./chunk-54RHUHYB.js";
42
+ } from "./chunk-N6MSUQVH.js";
43
43
  import {
44
44
  absoluteFrom,
45
45
  absoluteFromSourceFile,
46
46
  relative
47
- } from "./chunk-EC5K6QPP.js";
47
+ } from "./chunk-TBUSSXUA.js";
48
48
 
49
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
49
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
50
50
  import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
51
51
  import ts from "typescript";
52
52
  function valueReferenceToExpression(valueRef) {
@@ -285,7 +285,7 @@ function isAbstractClassDeclaration(clazz) {
285
285
  return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
286
286
  }
287
287
 
288
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
288
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
289
289
  var DynamicValue = class {
290
290
  constructor(node, reason, code) {
291
291
  this.node = node;
@@ -375,10 +375,10 @@ var DynamicValue = class {
375
375
  }
376
376
  };
377
377
 
378
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
378
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
379
379
  import ts2 from "typescript";
380
380
 
381
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
381
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
382
382
  var ResolvedModule = class {
383
383
  constructor(exports, evaluate) {
384
384
  this.exports = exports;
@@ -408,7 +408,7 @@ var EnumValue = class {
408
408
  var KnownFn = class {
409
409
  };
410
410
 
411
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
411
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
412
412
  var ArraySliceBuiltinFn = class extends KnownFn {
413
413
  constructor(lhs) {
414
414
  super();
@@ -479,7 +479,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
479
479
  }
480
480
  };
481
481
 
482
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
482
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
483
483
  var AssignHelperFn = class extends ObjectAssignBuiltinFn {
484
484
  };
485
485
  var SpreadHelperFn = class extends KnownFn {
@@ -532,7 +532,7 @@ var ReadHelperFn = class extends KnownFn {
532
532
  }
533
533
  };
534
534
 
535
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
535
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
536
536
  var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
537
537
  var assignTsHelperFn = new AssignHelperFn();
538
538
  var spreadTsHelperFn = new SpreadHelperFn();
@@ -556,14 +556,14 @@ function resolveKnownDeclaration(decl) {
556
556
  }
557
557
  }
558
558
 
559
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
559
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
560
560
  var SyntheticValue = class {
561
561
  constructor(value) {
562
562
  this.value = value;
563
563
  }
564
564
  };
565
565
 
566
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
566
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
567
567
  function literalBinaryOp(op) {
568
568
  return { op, literal: true };
569
569
  }
@@ -1164,7 +1164,7 @@ function owningModule(context, override = null) {
1164
1164
  }
1165
1165
  }
1166
1166
 
1167
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1167
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1168
1168
  var PartialEvaluator = class {
1169
1169
  constructor(host, checker, dependencyTracker) {
1170
1170
  this.host = host;
@@ -1184,7 +1184,7 @@ var PartialEvaluator = class {
1184
1184
  }
1185
1185
  };
1186
1186
 
1187
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1187
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1188
1188
  import ts3 from "typescript";
1189
1189
  function describeResolvedType(value, maxDepth = 1) {
1190
1190
  var _a, _b;
@@ -1314,7 +1314,7 @@ function getContainerNode(node) {
1314
1314
  return node.getSourceFile();
1315
1315
  }
1316
1316
 
1317
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1317
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1318
1318
  import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
1319
1319
  import ts4 from "typescript";
1320
1320
  function getConstructorDependencies(clazz, reflector, isCore) {
@@ -1458,10 +1458,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
1458
1458
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
1459
1459
  }
1460
1460
 
1461
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1461
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1462
1462
  import ts7 from "typescript";
1463
1463
 
1464
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1464
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1465
1465
  var MetaKind;
1466
1466
  (function(MetaKind2) {
1467
1467
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -1474,10 +1474,10 @@ var MatchSource;
1474
1474
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
1475
1475
  })(MatchSource || (MatchSource = {}));
1476
1476
 
1477
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1477
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1478
1478
  import ts6 from "typescript";
1479
1479
 
1480
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1480
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1481
1481
  var ClassPropertyMapping = class {
1482
1482
  constructor(forwardMap) {
1483
1483
  this.forwardMap = forwardMap;
@@ -1555,7 +1555,7 @@ function reverseMapFromForwardMap(forwardMap) {
1555
1555
  return reverseMap;
1556
1556
  }
1557
1557
 
1558
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1558
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1559
1559
  import ts5 from "typescript";
1560
1560
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
1561
1561
  if (!ts5.isTupleTypeNode(def)) {
@@ -1737,7 +1737,7 @@ function hasInjectableFields(clazz, host) {
1737
1737
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
1738
1738
  }
1739
1739
 
1740
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1740
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1741
1741
  var DtsMetadataReader = class {
1742
1742
  constructor(checker, reflector) {
1743
1743
  this.checker = checker;
@@ -1844,6 +1844,16 @@ function readInputsType(type) {
1844
1844
  classPropertyName: member.name.text,
1845
1845
  required: false
1846
1846
  };
1847
+ } else {
1848
+ const config = readMapType(member.type, (innerValue) => {
1849
+ var _a;
1850
+ return (_a = readStringType(innerValue)) != null ? _a : readBooleanType(innerValue);
1851
+ });
1852
+ inputsMap[member.name.text] = {
1853
+ classPropertyName: member.name.text,
1854
+ bindingPropertyName: config.alias,
1855
+ required: config.required
1856
+ };
1847
1857
  }
1848
1858
  }
1849
1859
  }
@@ -1895,7 +1905,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
1895
1905
  return result.length > 0 ? result : null;
1896
1906
  }
1897
1907
 
1898
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1908
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1899
1909
  function flattenInheritedDirectiveMetadata(reader, dir) {
1900
1910
  const topMeta = reader.getDirectiveMetadata(dir);
1901
1911
  if (topMeta === null) {
@@ -1953,7 +1963,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
1953
1963
  };
1954
1964
  }
1955
1965
 
1956
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1966
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1957
1967
  var LocalMetadataRegistry = class {
1958
1968
  constructor() {
1959
1969
  this.directives = /* @__PURE__ */ new Map();
@@ -2010,7 +2020,7 @@ var CompoundMetadataRegistry = class {
2010
2020
  }
2011
2021
  };
2012
2022
 
2013
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2023
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2014
2024
  var ResourceRegistry = class {
2015
2025
  constructor() {
2016
2026
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -2075,7 +2085,7 @@ var ResourceRegistry = class {
2075
2085
  }
2076
2086
  };
2077
2087
 
2078
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2088
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2079
2089
  var EMPTY_ARRAY = [];
2080
2090
  var HostDirectivesResolver = class {
2081
2091
  constructor(metaReader) {
@@ -2116,7 +2126,7 @@ var HostDirectivesResolver = class {
2116
2126
  const bindings = source.getByBindingPropertyName(publicName);
2117
2127
  if (bindings !== null) {
2118
2128
  for (const binding of bindings) {
2119
- result[binding.classPropertyName] = valueResolver(allowedProperties[publicName], binding.classPropertyName);
2129
+ result[binding.classPropertyName] = valueResolver(allowedProperties[publicName], binding);
2120
2130
  }
2121
2131
  }
2122
2132
  }
@@ -2125,14 +2135,18 @@ var HostDirectivesResolver = class {
2125
2135
  return result;
2126
2136
  }
2127
2137
  };
2128
- function resolveInput(bindingName, classPropertyName) {
2129
- return { bindingPropertyName: bindingName, classPropertyName, required: false };
2138
+ function resolveInput(bindingName, binding) {
2139
+ return {
2140
+ bindingPropertyName: bindingName,
2141
+ classPropertyName: binding.classPropertyName,
2142
+ required: binding.required
2143
+ };
2130
2144
  }
2131
2145
  function resolveOutput(bindingName) {
2132
2146
  return bindingName;
2133
2147
  }
2134
2148
 
2135
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2149
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2136
2150
  function makeDuplicateDeclarationError(node, data, kind) {
2137
2151
  const context = [];
2138
2152
  for (const decl of data) {
@@ -2220,19 +2234,28 @@ function validateHostDirectives(origin, hostDirectives, metaReader) {
2220
2234
  if (hostMeta.isComponent) {
2221
2235
  diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_COMPONENT, current.directive.getOriginForDiagnostics(origin), `Host directive ${hostMeta.name} cannot be a component`));
2222
2236
  }
2223
- validateHostDirectiveMappings("input", current, hostMeta, origin, diagnostics);
2224
- validateHostDirectiveMappings("output", current, hostMeta, origin, diagnostics);
2237
+ const requiredInputNames = Array.from(hostMeta.inputs).filter((input) => input.required).map((input) => input.classPropertyName);
2238
+ validateHostDirectiveMappings("input", current, hostMeta, origin, diagnostics, requiredInputNames.length > 0 ? new Set(requiredInputNames) : null);
2239
+ validateHostDirectiveMappings("output", current, hostMeta, origin, diagnostics, null);
2225
2240
  }
2226
2241
  return diagnostics;
2227
2242
  }
2228
- function validateHostDirectiveMappings(bindingType, hostDirectiveMeta, meta, origin, diagnostics) {
2243
+ function validateHostDirectiveMappings(bindingType, hostDirectiveMeta, meta, origin, diagnostics, requiredBindings) {
2229
2244
  const className = meta.name;
2230
2245
  const hostDirectiveMappings = bindingType === "input" ? hostDirectiveMeta.inputs : hostDirectiveMeta.outputs;
2231
2246
  const existingBindings = bindingType === "input" ? meta.inputs : meta.outputs;
2247
+ const exposedRequiredBindings = /* @__PURE__ */ new Set();
2232
2248
  for (const publicName in hostDirectiveMappings) {
2233
2249
  if (hostDirectiveMappings.hasOwnProperty(publicName)) {
2234
- if (!existingBindings.hasBindingPropertyName(publicName)) {
2250
+ const bindings = existingBindings.getByBindingPropertyName(publicName);
2251
+ if (bindings === null) {
2235
2252
  diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_UNDEFINED_BINDING, hostDirectiveMeta.directive.getOriginForDiagnostics(origin), `Directive ${className} does not have an ${bindingType} with a public name of ${publicName}.`));
2253
+ } else if (requiredBindings !== null) {
2254
+ for (const field of bindings) {
2255
+ if (requiredBindings.has(field.classPropertyName)) {
2256
+ exposedRequiredBindings.add(field.classPropertyName);
2257
+ }
2258
+ }
2236
2259
  }
2237
2260
  const remappedPublicName = hostDirectiveMappings[publicName];
2238
2261
  const bindingsForPublicName = existingBindings.getByBindingPropertyName(remappedPublicName);
@@ -2245,6 +2268,18 @@ function validateHostDirectiveMappings(bindingType, hostDirectiveMeta, meta, ori
2245
2268
  }
2246
2269
  }
2247
2270
  }
2271
+ if (requiredBindings !== null && requiredBindings.size !== exposedRequiredBindings.size) {
2272
+ const missingBindings = [];
2273
+ for (const publicName of requiredBindings) {
2274
+ if (!exposedRequiredBindings.has(publicName)) {
2275
+ const name = existingBindings.getByClassPropertyName(publicName);
2276
+ if (name) {
2277
+ missingBindings.push(`'${name.bindingPropertyName}'`);
2278
+ }
2279
+ }
2280
+ }
2281
+ diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_MISSING_REQUIRED_BINDING, hostDirectiveMeta.directive.getOriginForDiagnostics(origin), `Required ${bindingType}${missingBindings.length === 1 ? "" : "s"} ${missingBindings.join(", ")} from host directive ${className} must be exposed.`));
2282
+ }
2248
2283
  }
2249
2284
  function getUndecoratedClassWithAngularFeaturesDiagnostic(node) {
2250
2285
  return makeDiagnostic(ErrorCode.UNDECORATED_CLASS_USING_ANGULAR_FEATURES, node.name, `Class is using Angular features but is not decorated. Please add an explicit Angular decorator.`);
@@ -2307,7 +2342,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
2307
2342
  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}.`);
2308
2343
  }
2309
2344
 
2310
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
2345
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
2311
2346
  import ts8 from "typescript";
2312
2347
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
2313
2348
  let resolved = null;
@@ -2340,7 +2375,7 @@ function resolveLiteral(decorator, literalCache) {
2340
2375
  return meta;
2341
2376
  }
2342
2377
 
2343
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
2378
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
2344
2379
  import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
2345
2380
  function compileNgFactoryDefField(metadata) {
2346
2381
  const res = compileFactoryFunction(metadata);
@@ -2351,7 +2386,7 @@ function compileDeclareFactory(metadata) {
2351
2386
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
2352
2387
  }
2353
2388
 
2354
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2389
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2355
2390
  var InjectableClassRegistry = class {
2356
2391
  constructor(host, isCore) {
2357
2392
  this.host = host;
@@ -2377,7 +2412,7 @@ var InjectableClassRegistry = class {
2377
2412
  }
2378
2413
  };
2379
2414
 
2380
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2415
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2381
2416
  import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
2382
2417
  import ts9 from "typescript";
2383
2418
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -2464,13 +2499,13 @@ function removeIdentifierReferences(node, name) {
2464
2499
  return result.transformed[0];
2465
2500
  }
2466
2501
 
2467
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2502
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2468
2503
  var NoopReferencesRegistry = class {
2469
2504
  add(source, ...references) {
2470
2505
  }
2471
2506
  };
2472
2507
 
2473
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2508
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2474
2509
  import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
2475
2510
  function extractSchemas(rawExpr, evaluator, context) {
2476
2511
  const schemas = [];
@@ -2500,11 +2535,11 @@ function extractSchemas(rawExpr, evaluator, context) {
2500
2535
  return schemas;
2501
2536
  }
2502
2537
 
2503
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2538
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2504
2539
  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";
2505
2540
  import ts24 from "typescript";
2506
2541
 
2507
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2542
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2508
2543
  import ts10 from "typescript";
2509
2544
  var SemanticSymbol = class {
2510
2545
  constructor(decl) {
@@ -2520,7 +2555,7 @@ function getSymbolIdentifier(decl) {
2520
2555
  return decl.name.text;
2521
2556
  }
2522
2557
 
2523
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2558
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2524
2559
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
2525
2560
  var OpaqueSymbol = class extends SemanticSymbol {
2526
2561
  isPublicApiAffected() {
@@ -2663,10 +2698,10 @@ function getImportPath(expr) {
2663
2698
  }
2664
2699
  }
2665
2700
 
2666
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2701
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2667
2702
  import ts11 from "typescript";
2668
2703
 
2669
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2704
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2670
2705
  function isSymbolEqual(a, b) {
2671
2706
  if (a.decl === b.decl) {
2672
2707
  return true;
@@ -2716,7 +2751,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
2716
2751
  return true;
2717
2752
  }
2718
2753
 
2719
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2754
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2720
2755
  function extractSemanticTypeParameters(node) {
2721
2756
  if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
2722
2757
  return null;
@@ -2736,14 +2771,14 @@ function isTypeParameterEqual(a, b) {
2736
2771
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
2737
2772
  }
2738
2773
 
2739
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2774
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2740
2775
  var ComponentScopeKind;
2741
2776
  (function(ComponentScopeKind2) {
2742
2777
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
2743
2778
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
2744
2779
  })(ComponentScopeKind || (ComponentScopeKind = {}));
2745
2780
 
2746
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2781
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2747
2782
  var CompoundComponentScopeReader = class {
2748
2783
  constructor(readers) {
2749
2784
  this.readers = readers;
@@ -2768,7 +2803,7 @@ var CompoundComponentScopeReader = class {
2768
2803
  }
2769
2804
  };
2770
2805
 
2771
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2806
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2772
2807
  var MetadataDtsModuleScopeResolver = class {
2773
2808
  constructor(dtsMetaReader, aliasingHost) {
2774
2809
  this.dtsMetaReader = dtsMetaReader;
@@ -2844,11 +2879,11 @@ var MetadataDtsModuleScopeResolver = class {
2844
2879
  }
2845
2880
  };
2846
2881
 
2847
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2882
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2848
2883
  import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
2849
2884
  import ts12 from "typescript";
2850
2885
 
2851
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2886
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2852
2887
  function getDiagnosticNode(ref, rawExpr) {
2853
2888
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
2854
2889
  }
@@ -2871,7 +2906,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
2871
2906
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
2872
2907
  }
2873
2908
 
2874
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2909
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2875
2910
  var LocalModuleScopeRegistry = class {
2876
2911
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
2877
2912
  this.localReader = localReader;
@@ -3210,7 +3245,7 @@ function reexportCollision(module, refA, refB) {
3210
3245
  ]);
3211
3246
  }
3212
3247
 
3213
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3248
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3214
3249
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
3215
3250
  import ts13 from "typescript";
3216
3251
  var TypeCheckScopeRegistry = class {
@@ -3279,7 +3314,7 @@ var TypeCheckScopeRegistry = class {
3279
3314
  }
3280
3315
  };
3281
3316
 
3282
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3317
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3283
3318
  var CompilationMode;
3284
3319
  (function(CompilationMode2) {
3285
3320
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -3297,7 +3332,7 @@ var HandlerFlags;
3297
3332
  HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
3298
3333
  })(HandlerFlags || (HandlerFlags = {}));
3299
3334
 
3300
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3335
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3301
3336
  import ts14 from "typescript";
3302
3337
  function aliasTransformFactory(exportStatements) {
3303
3338
  return () => {
@@ -3320,10 +3355,10 @@ function aliasTransformFactory(exportStatements) {
3320
3355
  };
3321
3356
  }
3322
3357
 
3323
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3358
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3324
3359
  import ts15 from "typescript";
3325
3360
 
3326
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3361
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3327
3362
  var TraitState;
3328
3363
  (function(TraitState2) {
3329
3364
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -3378,7 +3413,7 @@ var TraitImpl = class {
3378
3413
  }
3379
3414
  };
3380
3415
 
3381
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3416
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3382
3417
  var TraitCompiler = class {
3383
3418
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
3384
3419
  this.handlers = handlers;
@@ -3822,10 +3857,10 @@ function containsErrors(diagnostics) {
3822
3857
  return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
3823
3858
  }
3824
3859
 
3825
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3860
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3826
3861
  import ts17 from "typescript";
3827
3862
 
3828
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3863
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3829
3864
  import ts16 from "typescript";
3830
3865
  function addImports(importManager, sf, extraStatements = []) {
3831
3866
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -3861,7 +3896,7 @@ function isImportStatement(stmt) {
3861
3896
  return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
3862
3897
  }
3863
3898
 
3864
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3899
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3865
3900
  var DtsTransformRegistry = class {
3866
3901
  constructor() {
3867
3902
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -4006,11 +4041,11 @@ function markForEmitAsSingleLine(node) {
4006
4041
  ts17.forEachChild(node, markForEmitAsSingleLine);
4007
4042
  }
4008
4043
 
4009
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4044
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4010
4045
  import { ConstantPool } from "@angular/compiler";
4011
4046
  import ts19 from "typescript";
4012
4047
 
4013
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
4048
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
4014
4049
  import ts18 from "typescript";
4015
4050
  function visit(node, visitor, context) {
4016
4051
  return visitor._visit(node, context);
@@ -4071,7 +4106,7 @@ var Visitor = class {
4071
4106
  }
4072
4107
  };
4073
4108
 
4074
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4109
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4075
4110
  var NO_DECORATORS = /* @__PURE__ */ new Set();
4076
4111
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
4077
4112
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -4279,10 +4314,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
4279
4314
  return array;
4280
4315
  }
4281
4316
 
4282
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4317
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4283
4318
  import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4284
4319
 
4285
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4320
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4286
4321
  import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
4287
4322
  import ts20 from "typescript";
4288
4323
  var EMPTY_OBJECT = {};
@@ -4621,14 +4656,27 @@ function parseInputsArray(decoratorMetadata, evaluator) {
4621
4656
  const inputs = {};
4622
4657
  const inputsArray = evaluator.evaluate(inputsField);
4623
4658
  if (!Array.isArray(inputsArray)) {
4624
- throw createValueHasWrongTypeError(inputsField, inputsArray, `Failed to resolve @Directive.inputs to a string array`);
4659
+ throw createValueHasWrongTypeError(inputsField, inputsArray, `Failed to resolve @Directive.inputs to an array`);
4625
4660
  }
4626
- for (const value of inputsArray) {
4661
+ for (let i = 0; i < inputsArray.length; i++) {
4662
+ const value = inputsArray[i];
4627
4663
  if (typeof value === "string") {
4628
- const [bindingPropertyName, fieldName] = parseMappingString(value);
4629
- inputs[fieldName] = { bindingPropertyName, classPropertyName: fieldName, required: false };
4664
+ const [bindingPropertyName, classPropertyName] = parseMappingString(value);
4665
+ inputs[classPropertyName] = { bindingPropertyName, classPropertyName, required: false };
4666
+ } else if (value instanceof Map) {
4667
+ const name = value.get("name");
4668
+ const alias = value.get("alias");
4669
+ const required = value.get("required");
4670
+ if (typeof name !== "string") {
4671
+ throw createValueHasWrongTypeError(inputsField, name, `Value at position ${i} of @Directive.inputs array must have a "name" property`);
4672
+ }
4673
+ inputs[name] = {
4674
+ classPropertyName: name,
4675
+ bindingPropertyName: typeof alias === "string" ? alias : name,
4676
+ required: required === true
4677
+ };
4630
4678
  } else {
4631
- throw createValueHasWrongTypeError(inputsField, value, `Failed to resolve @Directive.inputs to a string array`);
4679
+ throw createValueHasWrongTypeError(inputsField, value, `@Directive.inputs array can only contain strings or object literals`);
4632
4680
  }
4633
4681
  }
4634
4682
  return inputs;
@@ -4637,14 +4685,19 @@ function parseInputFields(inputMembers, evaluator) {
4637
4685
  const inputs = {};
4638
4686
  parseDecoratedFields(inputMembers, evaluator, (classPropertyName, options, decorator) => {
4639
4687
  let bindingPropertyName;
4688
+ let required = false;
4640
4689
  if (options === null) {
4641
4690
  bindingPropertyName = classPropertyName;
4642
4691
  } else if (typeof options === "string") {
4643
4692
  bindingPropertyName = options;
4693
+ } else if (options instanceof Map) {
4694
+ const aliasInConfig = options.get("alias");
4695
+ bindingPropertyName = typeof aliasInConfig === "string" ? aliasInConfig : classPropertyName;
4696
+ required = options.get("required") === true;
4644
4697
  } else {
4645
- throw createValueHasWrongTypeError(Decorator.nodeForError(decorator), options, `@${decorator.name} decorator argument must resolve to a string`);
4698
+ throw createValueHasWrongTypeError(Decorator.nodeForError(decorator), options, `@${decorator.name} decorator argument must resolve to a string or an object literal`);
4646
4699
  }
4647
- inputs[classPropertyName] = { bindingPropertyName, classPropertyName, required: false };
4700
+ inputs[classPropertyName] = { bindingPropertyName, classPropertyName, required };
4648
4701
  });
4649
4702
  return inputs;
4650
4703
  }
@@ -4735,7 +4788,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
4735
4788
  };
4736
4789
  }
4737
4790
 
4738
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4791
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4739
4792
  var DirectiveSymbol = class extends SemanticSymbol {
4740
4793
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
4741
4794
  super(decl);
@@ -4815,7 +4868,7 @@ function isBaseClassEqual(current, previous) {
4815
4868
  return isSymbolEqual(current, previous);
4816
4869
  }
4817
4870
 
4818
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4871
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4819
4872
  var FIELD_DECORATORS = [
4820
4873
  "Input",
4821
4874
  "Output",
@@ -4974,11 +5027,11 @@ var DirectiveDecoratorHandler = class {
4974
5027
  }
4975
5028
  };
4976
5029
 
4977
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5030
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4978
5031
  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";
4979
5032
  import ts22 from "typescript";
4980
5033
 
4981
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5034
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
4982
5035
  import ts21 from "typescript";
4983
5036
  function createModuleWithProvidersResolver(reflector, isCore) {
4984
5037
  function _reflectModuleFromTypeParam(type, node) {
@@ -5045,7 +5098,7 @@ function isResolvedModuleWithProviders(sv) {
5045
5098
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
5046
5099
  }
5047
5100
 
5048
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5101
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5049
5102
  var NgModuleSymbol = class extends SemanticSymbol {
5050
5103
  constructor() {
5051
5104
  super(...arguments);
@@ -5543,7 +5596,7 @@ function isSyntheticReference(ref) {
5543
5596
  return ref.synthetic;
5544
5597
  }
5545
5598
 
5546
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5599
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5547
5600
  function makeCyclicImportInfo(ref, type, cycle) {
5548
5601
  const name = ref.debugName || "(unknown)";
5549
5602
  const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -5566,7 +5619,7 @@ function checkCustomElementSelectorForErrors(selector) {
5566
5619
  return null;
5567
5620
  }
5568
5621
 
5569
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5622
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5570
5623
  import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
5571
5624
  import ts23 from "typescript";
5572
5625
  function getTemplateDeclarationNodeForError(declaration) {
@@ -5885,7 +5938,7 @@ function _extractTemplateStyleUrls(template) {
5885
5938
  return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
5886
5939
  }
5887
5940
 
5888
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
5941
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
5889
5942
  var ComponentSymbol = class extends DirectiveSymbol {
5890
5943
  constructor() {
5891
5944
  super(...arguments);
@@ -5920,7 +5973,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
5920
5973
  }
5921
5974
  };
5922
5975
 
5923
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
5976
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
5924
5977
  function collectAnimationNames(value, animationTriggerNames) {
5925
5978
  if (value instanceof Map) {
5926
5979
  const name = value.get("name");
@@ -5996,7 +6049,7 @@ function isLikelyModuleWithProviders(value) {
5996
6049
  return false;
5997
6050
  }
5998
6051
 
5999
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
6052
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
6000
6053
  var EMPTY_ARRAY2 = [];
6001
6054
  var ComponentDecoratorHandler = class {
6002
6055
  constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
@@ -6643,7 +6696,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
6643
6696
  return diagnostics;
6644
6697
  }
6645
6698
 
6646
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6699
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6647
6700
  import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
6648
6701
  import ts25 from "typescript";
6649
6702
  var InjectableDecoratorHandler = class {
@@ -6860,7 +6913,7 @@ function getDep(dep, reflector) {
6860
6913
  return meta;
6861
6914
  }
6862
6915
 
6863
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
6916
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
6864
6917
  import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
6865
6918
  import ts26 from "typescript";
6866
6919
  var PipeSymbol = class extends SemanticSymbol {
@@ -7006,14 +7059,14 @@ var PipeDecoratorHandler = class {
7006
7059
  }
7007
7060
  };
7008
7061
 
7009
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
7062
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
7010
7063
  var OptimizeFor;
7011
7064
  (function(OptimizeFor2) {
7012
7065
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
7013
7066
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
7014
7067
  })(OptimizeFor || (OptimizeFor = {}));
7015
7068
 
7016
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
7069
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
7017
7070
  var PotentialImportKind;
7018
7071
  (function(PotentialImportKind2) {
7019
7072
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -7025,14 +7078,14 @@ var PotentialImportMode;
7025
7078
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
7026
7079
  })(PotentialImportMode || (PotentialImportMode = {}));
7027
7080
 
7028
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
7081
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
7029
7082
  var CompletionKind;
7030
7083
  (function(CompletionKind2) {
7031
7084
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
7032
7085
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
7033
7086
  })(CompletionKind || (CompletionKind = {}));
7034
7087
 
7035
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
7088
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
7036
7089
  var SymbolKind;
7037
7090
  (function(SymbolKind2) {
7038
7091
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -7099,4 +7152,4 @@ export {
7099
7152
  * Use of this source code is governed by an MIT-style license that can be
7100
7153
  * found in the LICENSE file at https://angular.io/license
7101
7154
  */
7102
- //# sourceMappingURL=chunk-MENJKFAO.js.map
7155
+ //# sourceMappingURL=chunk-4TZUPGBE.js.map