@angular/compiler-cli 19.0.0-next.7 → 19.0.0-next.9

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 (50) hide show
  1. package/bundles/{chunk-FMA7PJT3.js → chunk-3Z25BX6N.js} +7 -7
  2. package/bundles/{chunk-24RAQD7D.js → chunk-5W3ITOS7.js} +6 -6
  3. package/bundles/chunk-5W3ITOS7.js.map +6 -0
  4. package/bundles/{chunk-6YYOILZF.js → chunk-GCXHOI3T.js} +185 -139
  5. package/bundles/chunk-GCXHOI3T.js.map +6 -0
  6. package/bundles/{chunk-AOL33GUJ.js → chunk-JF4LKQQP.js} +31 -31
  7. package/bundles/{chunk-IF37SPTA.js → chunk-OSPR7JSU.js} +46 -45
  8. package/bundles/chunk-OSPR7JSU.js.map +6 -0
  9. package/bundles/{chunk-EH5E5HQO.js → chunk-RT2QTF73.js} +3 -3
  10. package/bundles/{chunk-4SDD6AUK.js → chunk-U6J7NRJM.js} +115 -93
  11. package/bundles/chunk-U6J7NRJM.js.map +6 -0
  12. package/bundles/{chunk-MTBZ3GX2.js → chunk-UJ2J6WV4.js} +8 -8
  13. package/bundles/{chunk-EWRID7KM.js → chunk-XP6IMCQP.js} +12 -12
  14. package/bundles/{chunk-UQPYSPIX.js → chunk-XSNUHRLJ.js} +5 -5
  15. package/bundles/{chunk-XMNIXGGD.js → chunk-ZQ7CP635.js} +3 -3
  16. package/bundles/index.js +12 -12
  17. package/bundles/linker/babel/index.js +12 -12
  18. package/bundles/linker/index.js +4 -4
  19. package/bundles/ngcc/index.js +1 -1
  20. package/bundles/private/bazel.js +1 -1
  21. package/bundles/private/localize.js +3 -3
  22. package/bundles/private/migrations.js +4 -4
  23. package/bundles/private/tooling.js +6 -6
  24. package/bundles/src/bin/ng_xi18n.js +10 -10
  25. package/bundles/src/bin/ngc.js +8 -8
  26. package/bundles_metadata.json +1 -1
  27. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  28. package/package.json +3 -3
  29. package/src/ngtsc/annotations/common/src/api.d.ts +14 -0
  30. package/src/ngtsc/annotations/component/src/handler.d.ts +3 -1
  31. package/src/ngtsc/annotations/directive/src/handler.d.ts +2 -1
  32. package/src/ngtsc/annotations/directive/src/shared.d.ts +1 -1
  33. package/src/ngtsc/annotations/src/pipe.d.ts +2 -1
  34. package/src/ngtsc/core/api/src/interfaces.d.ts +14 -0
  35. package/src/ngtsc/core/api/src/public_options.d.ts +4 -0
  36. package/src/ngtsc/diagnostics/src/error_code.d.ts +4 -0
  37. package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
  38. package/src/ngtsc/typecheck/src/checker.d.ts +1 -1
  39. package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +6 -0
  40. package/bundles/chunk-24RAQD7D.js.map +0 -6
  41. package/bundles/chunk-4SDD6AUK.js.map +0 -6
  42. package/bundles/chunk-6YYOILZF.js.map +0 -6
  43. package/bundles/chunk-IF37SPTA.js.map +0 -6
  44. /package/bundles/{chunk-FMA7PJT3.js.map → chunk-3Z25BX6N.js.map} +0 -0
  45. /package/bundles/{chunk-AOL33GUJ.js.map → chunk-JF4LKQQP.js.map} +0 -0
  46. /package/bundles/{chunk-EH5E5HQO.js.map → chunk-RT2QTF73.js.map} +0 -0
  47. /package/bundles/{chunk-MTBZ3GX2.js.map → chunk-UJ2J6WV4.js.map} +0 -0
  48. /package/bundles/{chunk-EWRID7KM.js.map → chunk-XP6IMCQP.js.map} +0 -0
  49. /package/bundles/{chunk-UQPYSPIX.js.map → chunk-XSNUHRLJ.js.map} +0 -0
  50. /package/bundles/{chunk-XMNIXGGD.js.map → chunk-ZQ7CP635.js.map} +0 -0
@@ -45,20 +45,20 @@ import {
45
45
  translateStatement,
46
46
  translateType,
47
47
  typeNodeToValueExpr
48
- } from "./chunk-IF37SPTA.js";
48
+ } from "./chunk-OSPR7JSU.js";
49
49
  import {
50
50
  PerfCheckpoint,
51
51
  PerfEvent,
52
52
  PerfPhase
53
- } from "./chunk-UQPYSPIX.js";
53
+ } from "./chunk-XSNUHRLJ.js";
54
54
  import {
55
55
  absoluteFrom,
56
56
  absoluteFromSourceFile,
57
57
  getSourceFileOrError,
58
58
  relative
59
- } from "./chunk-MTBZ3GX2.js";
59
+ } from "./chunk-UJ2J6WV4.js";
60
60
 
61
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
61
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
62
62
  import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
63
63
  import ts from "typescript";
64
64
  var CORE_MODULE = "@angular/core";
@@ -317,7 +317,7 @@ function isAbstractClassDeclaration(clazz) {
317
317
  return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
318
318
  }
319
319
 
320
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
320
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
321
321
  var DynamicValue = class {
322
322
  constructor(node, reason, code) {
323
323
  this.node = node;
@@ -407,10 +407,10 @@ var DynamicValue = class {
407
407
  }
408
408
  };
409
409
 
410
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
410
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
411
411
  import ts2 from "typescript";
412
412
 
413
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
413
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
414
414
  var ResolvedModule = class {
415
415
  constructor(exports, evaluate) {
416
416
  this.exports = exports;
@@ -440,7 +440,7 @@ var EnumValue = class {
440
440
  var KnownFn = class {
441
441
  };
442
442
 
443
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
443
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
444
444
  var ArraySliceBuiltinFn = class extends KnownFn {
445
445
  constructor(lhs) {
446
446
  super();
@@ -492,14 +492,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
492
492
  }
493
493
  };
494
494
 
495
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
495
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
496
496
  var SyntheticValue = class {
497
497
  constructor(value) {
498
498
  this.value = value;
499
499
  }
500
500
  };
501
501
 
502
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
502
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
503
503
  function literalBinaryOp(op) {
504
504
  return { op, literal: true };
505
505
  }
@@ -1077,7 +1077,7 @@ function owningModule(context, override = null) {
1077
1077
  }
1078
1078
  }
1079
1079
 
1080
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1080
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1081
1081
  var PartialEvaluator = class {
1082
1082
  constructor(host, checker, dependencyTracker) {
1083
1083
  this.host = host;
@@ -1097,7 +1097,7 @@ var PartialEvaluator = class {
1097
1097
  }
1098
1098
  };
1099
1099
 
1100
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1100
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1101
1101
  import ts3 from "typescript";
1102
1102
  function describeResolvedType(value, maxDepth = 1) {
1103
1103
  var _a, _b;
@@ -1231,14 +1231,14 @@ function getContainerNode(node) {
1231
1231
  return node.getSourceFile();
1232
1232
  }
1233
1233
 
1234
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
1234
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
1235
1235
  var OptimizeFor;
1236
1236
  (function(OptimizeFor2) {
1237
1237
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
1238
1238
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
1239
1239
  })(OptimizeFor || (OptimizeFor = {}));
1240
1240
 
1241
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
1241
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
1242
1242
  var PotentialImportKind;
1243
1243
  (function(PotentialImportKind2) {
1244
1244
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -1250,7 +1250,7 @@ var PotentialImportMode;
1250
1250
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
1251
1251
  })(PotentialImportMode || (PotentialImportMode = {}));
1252
1252
 
1253
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
1253
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
1254
1254
  var CompletionKind;
1255
1255
  (function(CompletionKind2) {
1256
1256
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
@@ -1258,7 +1258,7 @@ var CompletionKind;
1258
1258
  CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
1259
1259
  })(CompletionKind || (CompletionKind = {}));
1260
1260
 
1261
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
1261
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
1262
1262
  var SymbolKind;
1263
1263
  (function(SymbolKind2) {
1264
1264
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -1275,7 +1275,7 @@ var SymbolKind;
1275
1275
  SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
1276
1276
  })(SymbolKind || (SymbolKind = {}));
1277
1277
 
1278
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1278
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1279
1279
  import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
1280
1280
  import ts4 from "typescript";
1281
1281
  function getConstructorDependencies(clazz, reflector, isCore) {
@@ -1421,10 +1421,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
1421
1421
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
1422
1422
  }
1423
1423
 
1424
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1424
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1425
1425
  import ts12 from "typescript";
1426
1426
 
1427
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1427
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1428
1428
  var MetaKind;
1429
1429
  (function(MetaKind2) {
1430
1430
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -1437,10 +1437,10 @@ var MatchSource;
1437
1437
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
1438
1438
  })(MatchSource || (MatchSource = {}));
1439
1439
 
1440
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1440
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1441
1441
  import ts6 from "typescript";
1442
1442
 
1443
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1443
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1444
1444
  var ClassPropertyMapping = class {
1445
1445
  constructor(forwardMap) {
1446
1446
  this.forwardMap = forwardMap;
@@ -1520,7 +1520,7 @@ function reverseMapFromForwardMap(forwardMap) {
1520
1520
  return reverseMap;
1521
1521
  }
1522
1522
 
1523
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1523
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1524
1524
  import ts5 from "typescript";
1525
1525
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
1526
1526
  if (!ts5.isTupleTypeNode(def)) {
@@ -1716,7 +1716,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
1716
1716
  return hostDirectiveMeta.directive instanceof Reference;
1717
1717
  }
1718
1718
 
1719
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1719
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1720
1720
  var DtsMetadataReader = class {
1721
1721
  constructor(checker, reflector) {
1722
1722
  this.checker = checker;
@@ -1901,7 +1901,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
1901
1901
  return result.length > 0 ? result : null;
1902
1902
  }
1903
1903
 
1904
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1904
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1905
1905
  function flattenInheritedDirectiveMetadata(reader, dir) {
1906
1906
  const topMeta = reader.getDirectiveMetadata(dir);
1907
1907
  if (topMeta === null) {
@@ -1965,7 +1965,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
1965
1965
  };
1966
1966
  }
1967
1967
 
1968
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1968
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1969
1969
  var LocalMetadataRegistry = class {
1970
1970
  constructor() {
1971
1971
  this.directives = /* @__PURE__ */ new Map();
@@ -2022,7 +2022,7 @@ var CompoundMetadataRegistry = class {
2022
2022
  }
2023
2023
  };
2024
2024
 
2025
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2025
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2026
2026
  var ResourceRegistry = class {
2027
2027
  constructor() {
2028
2028
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -2087,7 +2087,7 @@ var ResourceRegistry = class {
2087
2087
  }
2088
2088
  };
2089
2089
 
2090
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
2090
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
2091
2091
  var ExportedProviderStatusResolver = class {
2092
2092
  constructor(metaReader) {
2093
2093
  this.metaReader = metaReader;
@@ -2131,7 +2131,7 @@ var ExportedProviderStatusResolver = class {
2131
2131
  }
2132
2132
  };
2133
2133
 
2134
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2134
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2135
2135
  var EMPTY_ARRAY = [];
2136
2136
  var HostDirectivesResolver = class {
2137
2137
  constructor(metaReader) {
@@ -2197,7 +2197,7 @@ function resolveOutput(bindingName) {
2197
2197
  return bindingName;
2198
2198
  }
2199
2199
 
2200
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
2200
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
2201
2201
  var CompilationMode;
2202
2202
  (function(CompilationMode2) {
2203
2203
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -2211,7 +2211,7 @@ var HandlerPrecedence;
2211
2211
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
2212
2212
  })(HandlerPrecedence || (HandlerPrecedence = {}));
2213
2213
 
2214
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
2214
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
2215
2215
  import ts7 from "typescript";
2216
2216
  function aliasTransformFactory(exportStatements) {
2217
2217
  return () => {
@@ -2236,10 +2236,10 @@ function aliasTransformFactory(exportStatements) {
2236
2236
  };
2237
2237
  }
2238
2238
 
2239
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2239
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2240
2240
  import ts8 from "typescript";
2241
2241
 
2242
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
2242
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
2243
2243
  var TraitState;
2244
2244
  (function(TraitState2) {
2245
2245
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -2296,7 +2296,7 @@ var TraitImpl = class {
2296
2296
  }
2297
2297
  };
2298
2298
 
2299
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2299
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
2300
2300
  var TraitCompiler = class {
2301
2301
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
2302
2302
  this.handlers = handlers;
@@ -2755,7 +2755,7 @@ function containsErrors(diagnostics) {
2755
2755
  return diagnostics !== null && diagnostics.some((diag) => diag.category === ts8.DiagnosticCategory.Error);
2756
2756
  }
2757
2757
 
2758
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
2758
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
2759
2759
  import ts9 from "typescript";
2760
2760
  var DtsTransformRegistry = class {
2761
2761
  constructor() {
@@ -2905,11 +2905,11 @@ function markForEmitAsSingleLine(node) {
2905
2905
  ts9.forEachChild(node, markForEmitAsSingleLine);
2906
2906
  }
2907
2907
 
2908
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
2908
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
2909
2909
  import { ConstantPool } from "@angular/compiler";
2910
2910
  import ts11 from "typescript";
2911
2911
 
2912
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
2912
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
2913
2913
  import ts10 from "typescript";
2914
2914
  function visit(node, visitor, context) {
2915
2915
  return visitor._visit(node, context);
@@ -2970,7 +2970,7 @@ var Visitor = class {
2970
2970
  }
2971
2971
  };
2972
2972
 
2973
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
2973
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
2974
2974
  var NO_DECORATORS = /* @__PURE__ */ new Set();
2975
2975
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
2976
2976
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -3206,7 +3206,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
3206
3206
  return array;
3207
3207
  }
3208
3208
 
3209
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
3209
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
3210
3210
  function makeDuplicateDeclarationError(node, data, kind) {
3211
3211
  const context = [];
3212
3212
  for (const decl of data) {
@@ -3415,7 +3415,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
3415
3415
  }
3416
3416
  }
3417
3417
 
3418
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
3418
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
3419
3419
  import { ViewEncapsulation } from "@angular/compiler";
3420
3420
  import ts13 from "typescript";
3421
3421
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
@@ -3466,7 +3466,7 @@ function resolveLiteral(decorator, literalCache) {
3466
3466
  return meta;
3467
3467
  }
3468
3468
 
3469
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
3469
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
3470
3470
  import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
3471
3471
  function compileNgFactoryDefField(metadata) {
3472
3472
  const res = compileFactoryFunction(metadata);
@@ -3489,7 +3489,7 @@ function compileDeclareFactory(metadata) {
3489
3489
  };
3490
3490
  }
3491
3491
 
3492
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
3492
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
3493
3493
  var InjectableClassRegistry = class {
3494
3494
  constructor(host, isCore) {
3495
3495
  this.host = host;
@@ -3515,7 +3515,7 @@ var InjectableClassRegistry = class {
3515
3515
  }
3516
3516
  };
3517
3517
 
3518
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
3518
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
3519
3519
  import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
3520
3520
  import ts14 from "typescript";
3521
3521
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -3602,7 +3602,7 @@ function removeIdentifierReferences(node, names) {
3602
3602
  return result.transformed[0];
3603
3603
  }
3604
3604
 
3605
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
3605
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
3606
3606
  import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
3607
3607
  import * as path from "path";
3608
3608
  function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
@@ -3629,13 +3629,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
3629
3629
  return null;
3630
3630
  }
3631
3631
 
3632
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
3632
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
3633
3633
  var NoopReferencesRegistry = class {
3634
3634
  add(source, ...references) {
3635
3635
  }
3636
3636
  };
3637
3637
 
3638
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
3638
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
3639
3639
  import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
3640
3640
  function extractSchemas(rawExpr, evaluator, context) {
3641
3641
  const schemas = [];
@@ -3665,7 +3665,7 @@ function extractSchemas(rawExpr, evaluator, context) {
3665
3665
  return schemas;
3666
3666
  }
3667
3667
 
3668
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
3668
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
3669
3669
  import { outputAst } from "@angular/compiler";
3670
3670
  function compileInputTransformFields(inputs) {
3671
3671
  const extraFields = [];
@@ -3683,18 +3683,18 @@ function compileInputTransformFields(inputs) {
3683
3683
  return extraFields;
3684
3684
  }
3685
3685
 
3686
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.mjs
3686
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.mjs
3687
3687
  var JitDeclarationRegistry = class {
3688
3688
  constructor() {
3689
3689
  this.jitDeclarations = /* @__PURE__ */ new Set();
3690
3690
  }
3691
3691
  };
3692
3692
 
3693
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
3693
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
3694
3694
  import { compileClassDebugInfo, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareComponentFromMetadata, compileDeferResolverFunction, CssSelector as CssSelector4, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry as DomElementSchemaRegistry3, ExternalExpr as ExternalExpr8, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, outputAst as o2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher3, ViewEncapsulation as ViewEncapsulation2 } from "@angular/compiler";
3695
3695
  import ts45 from "typescript";
3696
3696
 
3697
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
3697
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
3698
3698
  import ts15 from "typescript";
3699
3699
  var SemanticSymbol = class {
3700
3700
  constructor(decl) {
@@ -3710,7 +3710,7 @@ function getSymbolIdentifier(decl) {
3710
3710
  return decl.name.text;
3711
3711
  }
3712
3712
 
3713
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
3713
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
3714
3714
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
3715
3715
  var OpaqueSymbol = class extends SemanticSymbol {
3716
3716
  isPublicApiAffected() {
@@ -3853,10 +3853,10 @@ function getImportPath(expr) {
3853
3853
  }
3854
3854
  }
3855
3855
 
3856
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3856
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3857
3857
  import ts16 from "typescript";
3858
3858
 
3859
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
3859
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
3860
3860
  function isSymbolEqual(a, b) {
3861
3861
  if (a.decl === b.decl) {
3862
3862
  return true;
@@ -3906,7 +3906,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
3906
3906
  return true;
3907
3907
  }
3908
3908
 
3909
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3909
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
3910
3910
  function extractSemanticTypeParameters(node) {
3911
3911
  if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
3912
3912
  return null;
@@ -3928,14 +3928,14 @@ function isTypeParameterEqual(a, b) {
3928
3928
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
3929
3929
  }
3930
3930
 
3931
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
3931
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
3932
3932
  var ComponentScopeKind;
3933
3933
  (function(ComponentScopeKind2) {
3934
3934
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
3935
3935
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
3936
3936
  })(ComponentScopeKind || (ComponentScopeKind = {}));
3937
3937
 
3938
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
3938
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
3939
3939
  var CompoundComponentScopeReader = class {
3940
3940
  constructor(readers) {
3941
3941
  this.readers = readers;
@@ -3960,7 +3960,7 @@ var CompoundComponentScopeReader = class {
3960
3960
  }
3961
3961
  };
3962
3962
 
3963
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
3963
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
3964
3964
  var MetadataDtsModuleScopeResolver = class {
3965
3965
  constructor(dtsMetaReader, aliasingHost) {
3966
3966
  this.dtsMetaReader = dtsMetaReader;
@@ -4036,11 +4036,11 @@ var MetadataDtsModuleScopeResolver = class {
4036
4036
  }
4037
4037
  };
4038
4038
 
4039
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
4039
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
4040
4040
  import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
4041
4041
  import ts17 from "typescript";
4042
4042
 
4043
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
4043
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
4044
4044
  function getDiagnosticNode(ref, rawExpr) {
4045
4045
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
4046
4046
  }
@@ -4066,7 +4066,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
4066
4066
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
4067
4067
  }
4068
4068
 
4069
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
4069
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
4070
4070
  var LocalModuleScopeRegistry = class {
4071
4071
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
4072
4072
  this.localReader = localReader;
@@ -4407,7 +4407,7 @@ function reexportCollision(module, refA, refB) {
4407
4407
  ]);
4408
4408
  }
4409
4409
 
4410
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
4410
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
4411
4411
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
4412
4412
  import ts18 from "typescript";
4413
4413
  var TypeCheckScopeRegistry = class {
@@ -4488,14 +4488,14 @@ var TypeCheckScopeRegistry = class {
4488
4488
  }
4489
4489
  };
4490
4490
 
4491
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4491
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4492
4492
  import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
4493
4493
 
4494
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4494
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4495
4495
  import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4496
4496
  import ts22 from "typescript";
4497
4497
 
4498
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
4498
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
4499
4499
  function validateAccessOfInitializerApiMember({ api, call }, member) {
4500
4500
  if (!api.allowedAccessLevels.includes(member.accessLevel)) {
4501
4501
  throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_DISALLOWED_MEMBER_VISIBILITY, call, makeDiagnosticChain(`Cannot use "${api.functionName}" on a class member that is declared as ${classMemberAccessLevelToString(member.accessLevel)}.`, [
@@ -4504,7 +4504,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
4504
4504
  }
4505
4505
  }
4506
4506
 
4507
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
4507
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
4508
4508
  import ts19 from "typescript";
4509
4509
  function tryParseInitializerApi(functions, expression, reflector, importTracker) {
4510
4510
  if (!ts19.isCallExpression(expression)) {
@@ -4573,7 +4573,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
4573
4573
  return { api: matchingApi, apiReference, isRequired };
4574
4574
  }
4575
4575
 
4576
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
4576
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
4577
4577
  import ts20 from "typescript";
4578
4578
  function parseAndValidateInputAndOutputOptions(optionsNode) {
4579
4579
  if (!ts20.isObjectLiteralExpression(optionsNode)) {
@@ -4591,7 +4591,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
4591
4591
  return { alias };
4592
4592
  }
4593
4593
 
4594
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
4594
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
4595
4595
  var INPUT_INITIALIZER_FN = {
4596
4596
  functionName: "input",
4597
4597
  owningModule: "@angular/core",
@@ -4623,7 +4623,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
4623
4623
  };
4624
4624
  }
4625
4625
 
4626
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
4626
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
4627
4627
  var MODEL_INITIALIZER_FN = {
4628
4628
  functionName: "model",
4629
4629
  owningModule: "@angular/core",
@@ -4664,7 +4664,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
4664
4664
  };
4665
4665
  }
4666
4666
 
4667
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
4667
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
4668
4668
  var allowedAccessLevels = [
4669
4669
  ClassMemberAccessLevel.PublicWritable,
4670
4670
  ClassMemberAccessLevel.PublicReadonly,
@@ -4708,7 +4708,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
4708
4708
  };
4709
4709
  }
4710
4710
 
4711
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
4711
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
4712
4712
  import { createMayBeForwardRefExpression, outputAst as o } from "@angular/compiler";
4713
4713
  import ts21 from "typescript";
4714
4714
  var queryFunctionNames = [
@@ -4793,7 +4793,7 @@ function parseDescendantsOption(value) {
4793
4793
  throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
4794
4794
  }
4795
4795
 
4796
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4796
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4797
4797
  var EMPTY_OBJECT = {};
4798
4798
  var queryDecoratorNames = [
4799
4799
  "ViewChild",
@@ -4802,7 +4802,7 @@ var queryDecoratorNames = [
4802
4802
  "ContentChildren"
4803
4803
  ];
4804
4804
  var QUERY_TYPES = new Set(queryDecoratorNames);
4805
- function extractDirectiveMetadata(clazz, decorator, reflector, importTracker, evaluator, refEmitter, referencesRegistry, isCore, annotateForClosureCompiler, compilationMode, defaultSelector) {
4805
+ function extractDirectiveMetadata(clazz, decorator, reflector, importTracker, evaluator, refEmitter, referencesRegistry, isCore, annotateForClosureCompiler, compilationMode, defaultSelector, strictStandalone) {
4806
4806
  let directive;
4807
4807
  if (decorator.args === null || decorator.args.length === 0) {
4808
4808
  directive = /* @__PURE__ */ new Map();
@@ -4877,6 +4877,9 @@ function extractDirectiveMetadata(clazz, decorator, reflector, importTracker, ev
4877
4877
  throw createValueHasWrongTypeError(expr, resolved, `standalone flag must be a boolean`);
4878
4878
  }
4879
4879
  isStandalone = resolved;
4880
+ if (!isStandalone && strictStandalone) {
4881
+ throw new FatalDiagnosticError(ErrorCode.NON_STANDALONE_NOT_ALLOWED, expr, `Only standalone components/directives are allowed when 'strictStandalone' is enabled.`);
4882
+ }
4880
4883
  }
4881
4884
  let isSignal = false;
4882
4885
  if (directive.has("signals")) {
@@ -5595,7 +5598,7 @@ function toR3InputMetadata(mapping) {
5595
5598
  };
5596
5599
  }
5597
5600
 
5598
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
5601
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
5599
5602
  var DirectiveSymbol = class extends SemanticSymbol {
5600
5603
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
5601
5604
  super(decl);
@@ -5675,7 +5678,7 @@ function isBaseClassEqual(current, previous) {
5675
5678
  return isSymbolEqual(current, previous);
5676
5679
  }
5677
5680
 
5678
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
5681
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
5679
5682
  var FIELD_DECORATORS = [
5680
5683
  "Input",
5681
5684
  "Output",
@@ -5697,7 +5700,7 @@ var LIFECYCLE_HOOKS = /* @__PURE__ */ new Set([
5697
5700
  "ngAfterContentChecked"
5698
5701
  ]);
5699
5702
  var DirectiveDecoratorHandler = class {
5700
- constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, perf, importTracker, includeClassMetadata, compilationMode, jitDeclarationRegistry) {
5703
+ constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, perf, importTracker, includeClassMetadata, compilationMode, jitDeclarationRegistry, strictStandalone) {
5701
5704
  this.reflector = reflector;
5702
5705
  this.evaluator = evaluator;
5703
5706
  this.metaRegistry = metaRegistry;
@@ -5715,6 +5718,7 @@ var DirectiveDecoratorHandler = class {
5715
5718
  this.includeClassMetadata = includeClassMetadata;
5716
5719
  this.compilationMode = compilationMode;
5717
5720
  this.jitDeclarationRegistry = jitDeclarationRegistry;
5721
+ this.strictStandalone = strictStandalone;
5718
5722
  this.precedence = HandlerPrecedence.PRIMARY;
5719
5723
  this.name = "DirectiveDecoratorHandler";
5720
5724
  }
@@ -5747,7 +5751,8 @@ var DirectiveDecoratorHandler = class {
5747
5751
  this.isCore,
5748
5752
  this.annotateForClosureCompiler,
5749
5753
  this.compilationMode,
5750
- null
5754
+ null,
5755
+ this.strictStandalone
5751
5756
  );
5752
5757
  if (directiveResult.jitForced) {
5753
5758
  this.jitDeclarationRegistry.jitDeclarations.add(node);
@@ -5872,11 +5877,11 @@ var DirectiveDecoratorHandler = class {
5872
5877
  }
5873
5878
  };
5874
5879
 
5875
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5880
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5876
5881
  import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
5877
5882
  import ts24 from "typescript";
5878
5883
 
5879
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5884
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5880
5885
  import ts23 from "typescript";
5881
5886
  function createModuleWithProvidersResolver(reflector, isCore) {
5882
5887
  function _reflectModuleFromTypeParam(type, node) {
@@ -5948,7 +5953,7 @@ function isResolvedModuleWithProviders(sv) {
5948
5953
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
5949
5954
  }
5950
5955
 
5951
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5956
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5952
5957
  var NgModuleSymbol = class extends SemanticSymbol {
5953
5958
  constructor(decl, hasProviders) {
5954
5959
  super(decl);
@@ -6567,7 +6572,7 @@ function isSyntheticReference(ref) {
6567
6572
  return ref.synthetic;
6568
6573
  }
6569
6574
 
6570
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
6575
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
6571
6576
  function makeCyclicImportInfo(ref, type, cycle) {
6572
6577
  const name = ref.debugName || "(unknown)";
6573
6578
  const path2 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -6590,7 +6595,7 @@ function checkCustomElementSelectorForErrors(selector) {
6590
6595
  return null;
6591
6596
  }
6592
6597
 
6593
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
6598
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
6594
6599
  import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
6595
6600
  import ts25 from "typescript";
6596
6601
  function getTemplateDeclarationNodeForError(declaration) {
@@ -6757,7 +6762,8 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
6757
6762
  const resourceUrl = resourceLoader.resolve(templateUrl, containingFile);
6758
6763
  const templatePromise = resourceLoader.preload(resourceUrl, {
6759
6764
  type: "template",
6760
- containingFile
6765
+ containingFile,
6766
+ className: node.name.text
6761
6767
  });
6762
6768
  if (templatePromise !== void 0) {
6763
6769
  return templatePromise.then(() => {
@@ -6927,7 +6933,7 @@ function _extractTemplateStyleUrls(template) {
6927
6933
  }));
6928
6934
  }
6929
6935
 
6930
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
6936
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
6931
6937
  var ComponentSymbol = class extends DirectiveSymbol {
6932
6938
  constructor() {
6933
6939
  super(...arguments);
@@ -6962,7 +6968,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
6962
6968
  }
6963
6969
  };
6964
6970
 
6965
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
6971
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
6966
6972
  function collectAnimationNames(value, animationTriggerNames) {
6967
6973
  if (value instanceof Map) {
6968
6974
  const name = value.get("name");
@@ -7039,10 +7045,10 @@ function isLikelyModuleWithProviders(value) {
7039
7045
  return false;
7040
7046
  }
7041
7047
 
7042
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
7048
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
7043
7049
  import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr7, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
7044
7050
 
7045
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
7051
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
7046
7052
  var NgOriginalFile = Symbol("NgOriginalFile");
7047
7053
  var UpdateMode;
7048
7054
  (function(UpdateMode2) {
@@ -7050,13 +7056,13 @@ var UpdateMode;
7050
7056
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
7051
7057
  })(UpdateMode || (UpdateMode = {}));
7052
7058
 
7053
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
7059
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
7054
7060
  import ts27 from "typescript";
7055
7061
 
7056
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
7062
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
7057
7063
  import ts26 from "typescript";
7058
7064
 
7059
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
7065
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
7060
7066
  var NgExtension = Symbol("NgExtension");
7061
7067
  function isExtended(sf) {
7062
7068
  return sf[NgExtension] !== void 0;
@@ -7116,13 +7122,13 @@ function retagTsFile(sf) {
7116
7122
  }
7117
7123
  }
7118
7124
 
7119
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
7125
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
7120
7126
  var TS_EXTENSIONS = /\.tsx?$/i;
7121
7127
  function makeShimFileName(fileName, suffix) {
7122
7128
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
7123
7129
  }
7124
7130
 
7125
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
7131
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
7126
7132
  var ShimAdapter = class {
7127
7133
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
7128
7134
  this.delegate = delegate;
@@ -7217,7 +7223,7 @@ var ShimAdapter = class {
7217
7223
  }
7218
7224
  };
7219
7225
 
7220
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
7226
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
7221
7227
  var ShimReferenceTagger = class {
7222
7228
  constructor(shimExtensions) {
7223
7229
  this.tagged = /* @__PURE__ */ new Set();
@@ -7251,7 +7257,7 @@ var ShimReferenceTagger = class {
7251
7257
  }
7252
7258
  };
7253
7259
 
7254
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
7260
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
7255
7261
  var DelegatingCompilerHost = class {
7256
7262
  get jsDocParsingMode() {
7257
7263
  return this.delegate.jsDocParsingMode;
@@ -7369,7 +7375,7 @@ var TsCreateProgramDriver = class {
7369
7375
  }
7370
7376
  };
7371
7377
 
7372
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
7378
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
7373
7379
  import ts28 from "typescript";
7374
7380
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
7375
7381
  var _a;
@@ -7480,7 +7486,7 @@ function parseTemplateAsSourceFile(fileName, template) {
7480
7486
  );
7481
7487
  }
7482
7488
 
7483
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
7489
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
7484
7490
  var TEMPLATE_ID = Symbol("ngTemplateId");
7485
7491
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
7486
7492
  function getTemplateId(clazz) {
@@ -7497,11 +7503,11 @@ function allocateTemplateId(sf) {
7497
7503
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
7498
7504
  }
7499
7505
 
7500
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
7506
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
7501
7507
  import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
7502
7508
  import ts30 from "typescript";
7503
7509
 
7504
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
7510
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
7505
7511
  import { AbsoluteSourceSpan } from "@angular/compiler";
7506
7512
  import ts29 from "typescript";
7507
7513
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -7632,7 +7638,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
7632
7638
  }) || false;
7633
7639
  }
7634
7640
 
7635
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
7641
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
7636
7642
  var CompletionEngine = class {
7637
7643
  constructor(tcb, data, tcbPath, tcbIsShim) {
7638
7644
  this.tcb = tcb;
@@ -8822,10 +8828,10 @@ var MagicString = class {
8822
8828
  }
8823
8829
  };
8824
8830
 
8825
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
8831
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
8826
8832
  import ts43 from "typescript";
8827
8833
 
8828
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
8834
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
8829
8835
  import { DomElementSchemaRegistry } from "@angular/compiler";
8830
8836
  import ts31 from "typescript";
8831
8837
  var REGISTRY = new DomElementSchemaRegistry();
@@ -8878,10 +8884,10 @@ var RegistryDomSchemaChecker = class {
8878
8884
  }
8879
8885
  };
8880
8886
 
8881
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
8887
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
8882
8888
  import ts36 from "typescript";
8883
8889
 
8884
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
8890
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
8885
8891
  import { ExpressionType, ExternalExpr as ExternalExpr6, TypeModifier } from "@angular/compiler";
8886
8892
  var ReferenceEmitEnvironment = class {
8887
8893
  constructor(importManager, refEmitter, reflector, contextFile) {
@@ -8912,7 +8918,7 @@ var ReferenceEmitEnvironment = class {
8912
8918
  }
8913
8919
  };
8914
8920
 
8915
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
8921
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
8916
8922
  import ts32 from "typescript";
8917
8923
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
8918
8924
  ts32.SyntaxKind.ParenthesizedExpression,
@@ -8995,15 +9001,15 @@ function tsNumericExpression(value) {
8995
9001
  return ts32.factory.createNumericLiteral(value);
8996
9002
  }
8997
9003
 
8998
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
9004
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
8999
9005
  import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
9000
9006
  import ts35 from "typescript";
9001
9007
 
9002
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
9008
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
9003
9009
  import { R3Identifiers as R3Identifiers2 } from "@angular/compiler";
9004
9010
  import ts34 from "typescript";
9005
9011
 
9006
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
9012
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
9007
9013
  import ts33 from "typescript";
9008
9014
  var TypeParameterEmitter = class {
9009
9015
  constructor(typeParameters, reflector) {
@@ -9081,7 +9087,7 @@ var TypeParameterEmitter = class {
9081
9087
  }
9082
9088
  };
9083
9089
 
9084
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
9090
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
9085
9091
  var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
9086
9092
  R3Identifiers2.InputSignalBrandWriteType
9087
9093
  ];
@@ -9173,7 +9179,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
9173
9179
  return emitter.canEmit((ref) => env.canReferenceType(ref));
9174
9180
  }
9175
9181
 
9176
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
9182
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
9177
9183
  function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
9178
9184
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
9179
9185
  const rawType = ts35.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -9296,7 +9302,7 @@ function typeParametersWithDefaultTypes(params) {
9296
9302
  });
9297
9303
  }
9298
9304
 
9299
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
9305
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
9300
9306
  var Environment = class extends ReferenceEmitEnvironment {
9301
9307
  constructor(config, importManager, refEmitter, reflector, contextFile) {
9302
9308
  super(importManager, refEmitter, reflector, contextFile);
@@ -9368,7 +9374,7 @@ var Environment = class extends ReferenceEmitEnvironment {
9368
9374
  }
9369
9375
  };
9370
9376
 
9371
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
9377
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
9372
9378
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2, TmplAstElement } from "@angular/compiler";
9373
9379
  import ts37 from "typescript";
9374
9380
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -9570,7 +9576,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
9570
9576
  };
9571
9577
  }
9572
9578
 
9573
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
9579
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
9574
9580
  import ts38 from "typescript";
9575
9581
  var TypeCheckShimGenerator = class {
9576
9582
  constructor() {
@@ -9588,11 +9594,11 @@ var TypeCheckShimGenerator = class {
9588
9594
  }
9589
9595
  };
9590
9596
 
9591
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
9597
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
9592
9598
  import { BindingPipe, BindingType, Call as Call2, createCssSelectorFromNode, CssSelector as CssSelector2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver2, ParsedEventType, PropertyRead as PropertyRead3, PropertyWrite as PropertyWrite2, R3Identifiers as R3Identifiers4, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher as SelectorMatcher2, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstContent, TmplAstDeferredBlock, TmplAstElement as TmplAstElement2, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstReference as TmplAstReference2, TmplAstSwitchBlock, TmplAstTemplate, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TransplantedType } from "@angular/compiler";
9593
9599
  import ts41 from "typescript";
9594
9600
 
9595
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
9601
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
9596
9602
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
9597
9603
  import ts39 from "typescript";
9598
9604
  function wrapForDiagnostics(expr) {
@@ -9648,7 +9654,7 @@ function translateDiagnostic(diagnostic, resolver) {
9648
9654
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
9649
9655
  }
9650
9656
 
9651
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
9657
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
9652
9658
  import { ASTWithSource, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
9653
9659
  import ts40 from "typescript";
9654
9660
  var ANY_EXPRESSION = ts40.factory.createAsExpression(ts40.factory.createNumericLiteral("0"), ts40.factory.createKeywordTypeNode(ts40.SyntaxKind.AnyKeyword));
@@ -9981,7 +9987,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
9981
9987
  _VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
9982
9988
  })();
9983
9989
 
9984
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
9990
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
9985
9991
  var TcbGenericContextBehavior;
9986
9992
  (function(TcbGenericContextBehavior2) {
9987
9993
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -11320,7 +11326,7 @@ var TcbExpressionTranslator = class {
11320
11326
  return astToTypescript(ast, (ast2) => this.resolve(ast2), this.tcb.env.config);
11321
11327
  }
11322
11328
  resolve(ast) {
11323
- if (ast instanceof PropertyRead3 && ast.receiver instanceof ImplicitReceiver2) {
11329
+ if (ast instanceof PropertyRead3 && ast.receiver instanceof ImplicitReceiver2 && !(ast.receiver instanceof ThisReceiver)) {
11324
11330
  const target = this.tcb.boundTarget.getExpressionTarget(ast);
11325
11331
  const targetExpression = target === null ? null : this.getTargetNodeExpression(target, ast);
11326
11332
  if (target instanceof TmplAstLetDeclaration2 && !this.isValidLetDeclarationAccess(target, ast)) {
@@ -11574,7 +11580,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
11574
11580
  }
11575
11581
  };
11576
11582
 
11577
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
11583
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
11578
11584
  import ts42 from "typescript";
11579
11585
  var TypeCheckFile = class extends Environment {
11580
11586
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -11622,7 +11628,7 @@ var TypeCheckFile = class extends Environment {
11622
11628
  }
11623
11629
  };
11624
11630
 
11625
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
11631
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
11626
11632
  var InliningMode;
11627
11633
  (function(InliningMode2) {
11628
11634
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -11874,10 +11880,10 @@ var TypeCtorOp = class {
11874
11880
  }
11875
11881
  };
11876
11882
 
11877
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
11883
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
11878
11884
  import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
11879
11885
 
11880
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
11886
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
11881
11887
  var LF_CHAR = 10;
11882
11888
  var CR_CHAR = 13;
11883
11889
  var LINE_SEP_CHAR = 8232;
@@ -11918,7 +11924,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
11918
11924
  return low - 1;
11919
11925
  }
11920
11926
 
11921
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
11927
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
11922
11928
  var TemplateSource = class {
11923
11929
  constructor(mapping, file) {
11924
11930
  this.mapping = mapping;
@@ -11969,8 +11975,8 @@ var TemplateSourceManager = class {
11969
11975
  }
11970
11976
  };
11971
11977
 
11972
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
11973
- import { AST, ASTWithSource as ASTWithSource2, BindingPipe as BindingPipe2, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers5, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement3, TmplAstLetDeclaration as TmplAstLetDeclaration3, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
11978
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
11979
+ import { AST, ASTWithName, ASTWithSource as ASTWithSource2, BindingPipe as BindingPipe2, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers5, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement3, TmplAstLetDeclaration as TmplAstLetDeclaration3, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
11974
11980
  import ts44 from "typescript";
11975
11981
  var SymbolBuilder = class {
11976
11982
  constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
@@ -12450,7 +12456,7 @@ var SymbolBuilder = class {
12450
12456
  return this.getSymbol(expressionTarget);
12451
12457
  }
12452
12458
  let withSpan = expression.sourceSpan;
12453
- if (expression instanceof PropertyWrite3) {
12459
+ if (expression instanceof PropertyWrite3 || expression instanceof ASTWithName && !(expression instanceof SafePropertyRead4)) {
12454
12460
  withSpan = expression.nameSpan;
12455
12461
  }
12456
12462
  let node = null;
@@ -12492,6 +12498,8 @@ var SymbolBuilder = class {
12492
12498
  let tsSymbol;
12493
12499
  if (ts44.isPropertyAccessExpression(node)) {
12494
12500
  tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.name);
12501
+ } else if (ts44.isCallExpression(node)) {
12502
+ tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.expression);
12495
12503
  } else {
12496
12504
  tsSymbol = this.getTypeChecker().getSymbolAtLocation(node);
12497
12505
  }
@@ -12543,7 +12551,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
12543
12551
  };
12544
12552
  }
12545
12553
 
12546
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
12554
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
12547
12555
  var REGISTRY2 = new DomElementSchemaRegistry2();
12548
12556
  var TemplateTypeCheckerImpl = class {
12549
12557
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -12568,7 +12576,7 @@ var TemplateTypeCheckerImpl = class {
12568
12576
  this.elementTagCache = /* @__PURE__ */ new Map();
12569
12577
  this.isComplete = false;
12570
12578
  }
12571
- getTemplate(component) {
12579
+ getTemplate(component, optimizeFor) {
12572
12580
  const { data } = this.getLatestComponentState(component);
12573
12581
  if (data === null) {
12574
12582
  return null;
@@ -12583,8 +12591,15 @@ var TemplateTypeCheckerImpl = class {
12583
12591
  var _a;
12584
12592
  return ((_a = this.getLatestComponentState(component).data) == null ? void 0 : _a.boundTarget.getUsedPipes()) || null;
12585
12593
  }
12586
- getLatestComponentState(component) {
12587
- this.ensureShimForComponent(component);
12594
+ getLatestComponentState(component, optimizeFor = OptimizeFor.SingleFile) {
12595
+ switch (optimizeFor) {
12596
+ case OptimizeFor.WholeProgram:
12597
+ this.ensureAllShimsForAllFiles();
12598
+ break;
12599
+ case OptimizeFor.SingleFile:
12600
+ this.ensureShimForComponent(component);
12601
+ break;
12602
+ }
12588
12603
  const sf = component.getSourceFile();
12589
12604
  const sfPath = absoluteFromSourceFile(sf);
12590
12605
  const shimPath = TypeCheckShimGenerator.shimFor(sfPath);
@@ -13242,12 +13257,12 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
13242
13257
  }
13243
13258
  };
13244
13259
 
13245
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
13260
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
13246
13261
  var EMPTY_ARRAY2 = [];
13247
13262
  var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
13248
13263
  var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
13249
13264
  var ComponentDecoratorHandler = class {
13250
- constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, importTracker, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax, enableLetSyntax, localCompilationExtraImportsTracker, jitDeclarationRegistry, i18nPreserveSignificantWhitespace) {
13265
+ constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, importTracker, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax, enableLetSyntax, externalRuntimeStyles, localCompilationExtraImportsTracker, jitDeclarationRegistry, i18nPreserveSignificantWhitespace, strictStandalone) {
13251
13266
  this.reflector = reflector;
13252
13267
  this.evaluator = evaluator;
13253
13268
  this.metaRegistry = metaRegistry;
@@ -13284,9 +13299,11 @@ var ComponentDecoratorHandler = class {
13284
13299
  this.forbidOrphanRendering = forbidOrphanRendering;
13285
13300
  this.enableBlockSyntax = enableBlockSyntax;
13286
13301
  this.enableLetSyntax = enableLetSyntax;
13302
+ this.externalRuntimeStyles = externalRuntimeStyles;
13287
13303
  this.localCompilationExtraImportsTracker = localCompilationExtraImportsTracker;
13288
13304
  this.jitDeclarationRegistry = jitDeclarationRegistry;
13289
13305
  this.i18nPreserveSignificantWhitespace = i18nPreserveSignificantWhitespace;
13306
+ this.strictStandalone = strictStandalone;
13290
13307
  this.literalCache = /* @__PURE__ */ new Map();
13291
13308
  this.elementSchemaRegistry = new DomElementSchemaRegistry3();
13292
13309
  this.preanalyzeTemplateCache = /* @__PURE__ */ new Map();
@@ -13327,7 +13344,11 @@ var ComponentDecoratorHandler = class {
13327
13344
  const resolveStyleUrl = (styleUrl) => {
13328
13345
  try {
13329
13346
  const resourceUrl = this.resourceLoader.resolve(styleUrl, containingFile);
13330
- return this.resourceLoader.preload(resourceUrl, { type: "style", containingFile });
13347
+ return this.resourceLoader.preload(resourceUrl, {
13348
+ type: "style",
13349
+ containingFile,
13350
+ className: node.name.text
13351
+ });
13331
13352
  } catch {
13332
13353
  return void 0;
13333
13354
  }
@@ -13349,9 +13370,15 @@ var ComponentDecoratorHandler = class {
13349
13370
  const componentStyleUrls = extractComponentStyleUrls(this.evaluator, component);
13350
13371
  return templateAndTemplateStyleResources.then(async (templateInfo) => {
13351
13372
  let styles = null;
13373
+ let orderOffset = 0;
13352
13374
  const rawStyles = parseDirectiveStyles(component, this.evaluator, this.compilationMode);
13353
13375
  if (rawStyles == null ? void 0 : rawStyles.length) {
13354
- styles = await Promise.all(rawStyles.map((style) => this.resourceLoader.preprocessInline(style, { type: "style", containingFile })));
13376
+ styles = await Promise.all(rawStyles.map((style) => this.resourceLoader.preprocessInline(style, {
13377
+ type: "style",
13378
+ containingFile,
13379
+ order: orderOffset++,
13380
+ className: node.name.text
13381
+ })));
13355
13382
  }
13356
13383
  if (templateInfo.templateStyles) {
13357
13384
  styles != null ? styles : styles = [];
@@ -13359,11 +13386,16 @@ var ComponentDecoratorHandler = class {
13359
13386
  var _a;
13360
13387
  return this.resourceLoader.preprocessInline(style, {
13361
13388
  type: "style",
13362
- containingFile: (_a = templateInfo.templateUrl) != null ? _a : containingFile
13389
+ containingFile: (_a = templateInfo.templateUrl) != null ? _a : containingFile,
13390
+ order: orderOffset++,
13391
+ className: node.name.text
13363
13392
  });
13364
13393
  })));
13365
13394
  }
13366
13395
  this.preanalyzeStylesCache.set(node, styles);
13396
+ if (this.externalRuntimeStyles) {
13397
+ return;
13398
+ }
13367
13399
  await Promise.all([
13368
13400
  ...componentStyleUrls.map((styleUrl) => resolveStyleUrl(styleUrl.url)),
13369
13401
  ...templateInfo.templateStyleUrls.map((url) => resolveStyleUrl(url))
@@ -13377,7 +13409,7 @@ var ComponentDecoratorHandler = class {
13377
13409
  this.literalCache.delete(decorator);
13378
13410
  let diagnostics;
13379
13411
  let isPoisoned = false;
13380
- const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.importTracker, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, this.annotateForClosureCompiler, this.compilationMode, this.elementSchemaRegistry.getDefaultComponentElementName());
13412
+ const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.importTracker, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, this.annotateForClosureCompiler, this.compilationMode, this.elementSchemaRegistry.getDefaultComponentElementName(), this.strictStandalone);
13381
13413
  if (directiveResult.jitForced) {
13382
13414
  this.jitDeclarationRegistry.jitDeclarations.add(node);
13383
13415
  return {};
@@ -13503,6 +13535,7 @@ var ComponentDecoratorHandler = class {
13503
13535
  expression: template.sourceMapping.node
13504
13536
  };
13505
13537
  let styles = [];
13538
+ const externalStyles = [];
13506
13539
  const styleResources = extractInlineStyleResources(component);
13507
13540
  const styleUrls = [
13508
13541
  ...extractComponentStyleUrls(this.evaluator, component),
@@ -13511,6 +13544,10 @@ var ComponentDecoratorHandler = class {
13511
13544
  for (const styleUrl of styleUrls) {
13512
13545
  try {
13513
13546
  const resourceUrl = this.resourceLoader.resolve(styleUrl.url, containingFile);
13547
+ if (this.externalRuntimeStyles) {
13548
+ externalStyles.push(resourceUrl);
13549
+ continue;
13550
+ }
13514
13551
  if (styleUrl.source === 2 && ts45.isStringLiteralLike(styleUrl.expression)) {
13515
13552
  styleResources.add({
13516
13553
  path: absoluteFrom(resourceUrl),
@@ -13546,8 +13583,12 @@ var ComponentDecoratorHandler = class {
13546
13583
  if (this.preanalyzeStylesCache.has(node)) {
13547
13584
  inlineStyles = this.preanalyzeStylesCache.get(node);
13548
13585
  this.preanalyzeStylesCache.delete(node);
13549
- if (inlineStyles !== null) {
13550
- styles.push(...inlineStyles);
13586
+ if (inlineStyles == null ? void 0 : inlineStyles.length) {
13587
+ if (this.externalRuntimeStyles) {
13588
+ externalStyles.push(...inlineStyles);
13589
+ } else {
13590
+ styles.push(...inlineStyles);
13591
+ }
13551
13592
  }
13552
13593
  } else {
13553
13594
  if (this.resourceLoader.canPreprocess) {
@@ -13592,6 +13633,7 @@ var ComponentDecoratorHandler = class {
13592
13633
  changeDetection,
13593
13634
  interpolation: (_d = template.interpolationConfig) != null ? _d : DEFAULT_INTERPOLATION_CONFIG2,
13594
13635
  styles,
13636
+ externalStyles,
13595
13637
  animations,
13596
13638
  viewProviders: wrappedViewProviders,
13597
13639
  i18nUseExternalIds: this.i18nUseExternalIds,
@@ -14294,7 +14336,7 @@ function isDefaultImport(node) {
14294
14336
  return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
14295
14337
  }
14296
14338
 
14297
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
14339
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
14298
14340
  import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
14299
14341
  import ts46 from "typescript";
14300
14342
  var InjectableDecoratorHandler = class {
@@ -14526,7 +14568,7 @@ function getDep(dep, reflector) {
14526
14568
  return meta;
14527
14569
  }
14528
14570
 
14529
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
14571
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
14530
14572
  import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
14531
14573
  import ts47 from "typescript";
14532
14574
  var PipeSymbol = class extends SemanticSymbol {
@@ -14545,7 +14587,7 @@ var PipeSymbol = class extends SemanticSymbol {
14545
14587
  }
14546
14588
  };
14547
14589
  var PipeDecoratorHandler = class {
14548
- constructor(reflector, evaluator, metaRegistry, scopeRegistry, injectableRegistry, isCore, perf, includeClassMetadata, compilationMode, generateExtraImportsInLocalMode) {
14590
+ constructor(reflector, evaluator, metaRegistry, scopeRegistry, injectableRegistry, isCore, perf, includeClassMetadata, compilationMode, generateExtraImportsInLocalMode, strictStandalone) {
14549
14591
  this.reflector = reflector;
14550
14592
  this.evaluator = evaluator;
14551
14593
  this.metaRegistry = metaRegistry;
@@ -14556,6 +14598,7 @@ var PipeDecoratorHandler = class {
14556
14598
  this.includeClassMetadata = includeClassMetadata;
14557
14599
  this.compilationMode = compilationMode;
14558
14600
  this.generateExtraImportsInLocalMode = generateExtraImportsInLocalMode;
14601
+ this.strictStandalone = strictStandalone;
14559
14602
  this.precedence = HandlerPrecedence.PRIMARY;
14560
14603
  this.name = "PipeDecoratorHandler";
14561
14604
  }
@@ -14615,6 +14658,9 @@ var PipeDecoratorHandler = class {
14615
14658
  throw createValueHasWrongTypeError(expr, resolved, `standalone flag must be a boolean`);
14616
14659
  }
14617
14660
  isStandalone = resolved;
14661
+ if (!isStandalone && this.strictStandalone) {
14662
+ throw new FatalDiagnosticError(ErrorCode.NON_STANDALONE_NOT_ALLOWED, expr, `Only standalone pipes are allowed when 'strictStandalone' is enabled.`);
14663
+ }
14618
14664
  }
14619
14665
  return {
14620
14666
  analysis: {
@@ -14756,4 +14802,4 @@ export {
14756
14802
  * Use of this source code is governed by an MIT-style license that can be
14757
14803
  * found in the LICENSE file at https://angular.dev/license
14758
14804
  */
14759
- //# sourceMappingURL=chunk-6YYOILZF.js.map
14805
+ //# sourceMappingURL=chunk-GCXHOI3T.js.map