@angular/compiler-cli 16.2.0-next.0 → 16.2.0-next.2

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 (45) hide show
  1. package/bundles/{chunk-WF3L5COT.js → chunk-2PV6GDIB.js} +21 -21
  2. package/bundles/{chunk-CWFGODIP.js → chunk-2TZDDYW6.js} +5 -5
  3. package/bundles/{chunk-LOZJLM26.js → chunk-4KV4DPNH.js} +8 -8
  4. package/bundles/{chunk-ADNHTL54.js → chunk-BFWVGVWL.js} +33 -32
  5. package/bundles/{chunk-ADNHTL54.js.map → chunk-BFWVGVWL.js.map} +1 -1
  6. package/bundles/{chunk-LYJKWJUC.js → chunk-CF2CT7RQ.js} +3 -3
  7. package/bundles/{chunk-3SPKRPX3.js → chunk-HHLM4WSJ.js} +202 -129
  8. package/bundles/chunk-HHLM4WSJ.js.map +6 -0
  9. package/bundles/{chunk-TBUSSXUA.js → chunk-K2U2VZ7S.js} +7 -7
  10. package/bundles/{chunk-LVVIYUZC.js → chunk-MDJQRJIS.js} +101 -97
  11. package/bundles/chunk-MDJQRJIS.js.map +6 -0
  12. package/bundles/{chunk-EKTJ7622.js → chunk-OULZQUKT.js} +7 -7
  13. package/bundles/{chunk-7PCPPTTO.js → chunk-URH5LEAG.js} +5 -5
  14. package/bundles/{chunk-SJLWUYXS.js → chunk-UZO5WCWI.js} +5 -5
  15. package/bundles/{chunk-NIK4FIWB.js → chunk-ZE33XMQ7.js} +6 -6
  16. package/bundles/index.js +13 -13
  17. package/bundles/linker/babel/index.js +13 -13
  18. package/bundles/linker/index.js +5 -5
  19. package/bundles/ngcc/index.js +1 -1
  20. package/bundles/private/bazel.js +1 -1
  21. package/bundles/private/localize.js +3 -3
  22. package/bundles/private/migrations.js +6 -6
  23. package/bundles/private/tooling.js +4 -4
  24. package/bundles/src/bin/ng_xi18n.js +11 -11
  25. package/bundles/src/bin/ngc.js +9 -9
  26. package/bundles_metadata.json +1 -1
  27. package/package.json +3 -3
  28. package/src/ngtsc/annotations/component/src/handler.d.ts +4 -2
  29. package/src/ngtsc/annotations/directive/src/handler.d.ts +1 -0
  30. package/src/ngtsc/annotations/ng_module/src/handler.d.ts +5 -2
  31. package/src/ngtsc/annotations/src/injectable.d.ts +1 -0
  32. package/src/ngtsc/annotations/src/pipe.d.ts +1 -0
  33. package/src/ngtsc/transform/src/api.d.ts +7 -2
  34. package/src/ngtsc/transform/src/compilation.d.ts +2 -1
  35. package/bundles/chunk-3SPKRPX3.js.map +0 -6
  36. package/bundles/chunk-LVVIYUZC.js.map +0 -6
  37. /package/bundles/{chunk-WF3L5COT.js.map → chunk-2PV6GDIB.js.map} +0 -0
  38. /package/bundles/{chunk-CWFGODIP.js.map → chunk-2TZDDYW6.js.map} +0 -0
  39. /package/bundles/{chunk-LOZJLM26.js.map → chunk-4KV4DPNH.js.map} +0 -0
  40. /package/bundles/{chunk-LYJKWJUC.js.map → chunk-CF2CT7RQ.js.map} +0 -0
  41. /package/bundles/{chunk-TBUSSXUA.js.map → chunk-K2U2VZ7S.js.map} +0 -0
  42. /package/bundles/{chunk-EKTJ7622.js.map → chunk-OULZQUKT.js.map} +0 -0
  43. /package/bundles/{chunk-7PCPPTTO.js.map → chunk-URH5LEAG.js.map} +0 -0
  44. /package/bundles/{chunk-SJLWUYXS.js.map → chunk-UZO5WCWI.js.map} +0 -0
  45. /package/bundles/{chunk-NIK4FIWB.js.map → chunk-ZE33XMQ7.js.map} +0 -0
@@ -9,13 +9,13 @@ import {
9
9
  reflectObjectLiteral,
10
10
  reflectTypeEntityToDeclaration,
11
11
  typeNodeToValueExpr
12
- } from "./chunk-NIK4FIWB.js";
12
+ } from "./chunk-ZE33XMQ7.js";
13
13
  import {
14
14
  ImportManager,
15
15
  translateExpression,
16
16
  translateStatement,
17
17
  translateType
18
- } from "./chunk-LOZJLM26.js";
18
+ } from "./chunk-4KV4DPNH.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  FatalDiagnosticError,
@@ -32,18 +32,18 @@ import {
32
32
  makeRelatedInformation,
33
33
  nodeDebugInfo,
34
34
  nodeNameForError
35
- } from "./chunk-WF3L5COT.js";
35
+ } from "./chunk-2PV6GDIB.js";
36
36
  import {
37
37
  PerfEvent,
38
38
  PerfPhase
39
- } from "./chunk-7PCPPTTO.js";
39
+ } from "./chunk-URH5LEAG.js";
40
40
  import {
41
41
  absoluteFrom,
42
42
  absoluteFromSourceFile,
43
43
  relative
44
- } from "./chunk-TBUSSXUA.js";
44
+ } from "./chunk-K2U2VZ7S.js";
45
45
 
46
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
46
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
47
47
  import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
48
48
  import ts from "typescript";
49
49
  function valueReferenceToExpression(valueRef) {
@@ -284,7 +284,7 @@ function isAbstractClassDeclaration(clazz) {
284
284
  return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
285
285
  }
286
286
 
287
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
287
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
288
288
  var DynamicValue = class {
289
289
  constructor(node, reason, code) {
290
290
  this.node = node;
@@ -374,10 +374,10 @@ var DynamicValue = class {
374
374
  }
375
375
  };
376
376
 
377
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
377
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
378
378
  import ts2 from "typescript";
379
379
 
380
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
380
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
381
381
  var ResolvedModule = class {
382
382
  constructor(exports, evaluate) {
383
383
  this.exports = exports;
@@ -407,7 +407,7 @@ var EnumValue = class {
407
407
  var KnownFn = class {
408
408
  };
409
409
 
410
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
410
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
411
411
  var ArraySliceBuiltinFn = class extends KnownFn {
412
412
  constructor(lhs) {
413
413
  super();
@@ -459,14 +459,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
459
459
  }
460
460
  };
461
461
 
462
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
462
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
463
463
  var SyntheticValue = class {
464
464
  constructor(value) {
465
465
  this.value = value;
466
466
  }
467
467
  };
468
468
 
469
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
469
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
470
470
  function literalBinaryOp(op) {
471
471
  return { op, literal: true };
472
472
  }
@@ -1047,7 +1047,7 @@ function getOriginalKeywordKind(identifier) {
1047
1047
  return typeof ts2.identifierToKeywordKind === "function" ? ts2.identifierToKeywordKind(identifier) : identifier.originalKeywordKind;
1048
1048
  }
1049
1049
 
1050
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1050
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1051
1051
  var PartialEvaluator = class {
1052
1052
  constructor(host, checker, dependencyTracker) {
1053
1053
  this.host = host;
@@ -1067,7 +1067,7 @@ var PartialEvaluator = class {
1067
1067
  }
1068
1068
  };
1069
1069
 
1070
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1070
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1071
1071
  import ts3 from "typescript";
1072
1072
  function describeResolvedType(value, maxDepth = 1) {
1073
1073
  var _a, _b;
@@ -1197,7 +1197,7 @@ function getContainerNode(node) {
1197
1197
  return node.getSourceFile();
1198
1198
  }
1199
1199
 
1200
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1200
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1201
1201
  import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
1202
1202
  import ts4 from "typescript";
1203
1203
  function getConstructorDependencies(clazz, reflector, isCore) {
@@ -1341,10 +1341,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
1341
1341
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
1342
1342
  }
1343
1343
 
1344
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1344
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1345
1345
  import ts7 from "typescript";
1346
1346
 
1347
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1347
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1348
1348
  var MetaKind;
1349
1349
  (function(MetaKind2) {
1350
1350
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -1357,10 +1357,10 @@ var MatchSource;
1357
1357
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
1358
1358
  })(MatchSource || (MatchSource = {}));
1359
1359
 
1360
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1360
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1361
1361
  import ts6 from "typescript";
1362
1362
 
1363
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1363
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1364
1364
  var ClassPropertyMapping = class {
1365
1365
  constructor(forwardMap) {
1366
1366
  this.forwardMap = forwardMap;
@@ -1438,7 +1438,7 @@ function reverseMapFromForwardMap(forwardMap) {
1438
1438
  return reverseMap;
1439
1439
  }
1440
1440
 
1441
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1441
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1442
1442
  import ts5 from "typescript";
1443
1443
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
1444
1444
  if (!ts5.isTupleTypeNode(def)) {
@@ -1623,7 +1623,7 @@ function hasInjectableFields(clazz, host) {
1623
1623
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
1624
1624
  }
1625
1625
 
1626
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1626
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1627
1627
  var DtsMetadataReader = class {
1628
1628
  constructor(checker, reflector) {
1629
1629
  this.checker = checker;
@@ -1798,7 +1798,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
1798
1798
  return result.length > 0 ? result : null;
1799
1799
  }
1800
1800
 
1801
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1801
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1802
1802
  function flattenInheritedDirectiveMetadata(reader, dir) {
1803
1803
  const topMeta = reader.getDirectiveMetadata(dir);
1804
1804
  if (topMeta === null) {
@@ -1856,7 +1856,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
1856
1856
  };
1857
1857
  }
1858
1858
 
1859
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1859
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1860
1860
  var LocalMetadataRegistry = class {
1861
1861
  constructor() {
1862
1862
  this.directives = /* @__PURE__ */ new Map();
@@ -1913,7 +1913,7 @@ var CompoundMetadataRegistry = class {
1913
1913
  }
1914
1914
  };
1915
1915
 
1916
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
1916
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
1917
1917
  var ResourceRegistry = class {
1918
1918
  constructor() {
1919
1919
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -1978,7 +1978,7 @@ var ResourceRegistry = class {
1978
1978
  }
1979
1979
  };
1980
1980
 
1981
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
1981
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
1982
1982
  var ExportedProviderStatusResolver = class {
1983
1983
  constructor(metaReader) {
1984
1984
  this.metaReader = metaReader;
@@ -2022,7 +2022,7 @@ var ExportedProviderStatusResolver = class {
2022
2022
  }
2023
2023
  };
2024
2024
 
2025
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2025
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2026
2026
  var EMPTY_ARRAY = [];
2027
2027
  var HostDirectivesResolver = class {
2028
2028
  constructor(metaReader) {
@@ -2084,7 +2084,7 @@ function resolveOutput(bindingName) {
2084
2084
  return bindingName;
2085
2085
  }
2086
2086
 
2087
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2087
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2088
2088
  function makeDuplicateDeclarationError(node, data, kind) {
2089
2089
  const context = [];
2090
2090
  for (const decl of data) {
@@ -2280,7 +2280,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
2280
2280
  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}.`);
2281
2281
  }
2282
2282
 
2283
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
2283
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
2284
2284
  import ts8 from "typescript";
2285
2285
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
2286
2286
  let resolved = null;
@@ -2313,7 +2313,7 @@ function resolveLiteral(decorator, literalCache) {
2313
2313
  return meta;
2314
2314
  }
2315
2315
 
2316
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
2316
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
2317
2317
  import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
2318
2318
  function compileNgFactoryDefField(metadata) {
2319
2319
  const res = compileFactoryFunction(metadata);
@@ -2324,7 +2324,7 @@ function compileDeclareFactory(metadata) {
2324
2324
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
2325
2325
  }
2326
2326
 
2327
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2327
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2328
2328
  var InjectableClassRegistry = class {
2329
2329
  constructor(host, isCore) {
2330
2330
  this.host = host;
@@ -2350,7 +2350,7 @@ var InjectableClassRegistry = class {
2350
2350
  }
2351
2351
  };
2352
2352
 
2353
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2353
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2354
2354
  import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
2355
2355
  import ts9 from "typescript";
2356
2356
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -2437,13 +2437,13 @@ function removeIdentifierReferences(node, name) {
2437
2437
  return result.transformed[0];
2438
2438
  }
2439
2439
 
2440
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2440
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2441
2441
  var NoopReferencesRegistry = class {
2442
2442
  add(source, ...references) {
2443
2443
  }
2444
2444
  };
2445
2445
 
2446
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2446
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2447
2447
  import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
2448
2448
  function extractSchemas(rawExpr, evaluator, context) {
2449
2449
  const schemas = [];
@@ -2473,7 +2473,7 @@ function extractSchemas(rawExpr, evaluator, context) {
2473
2473
  return schemas;
2474
2474
  }
2475
2475
 
2476
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
2476
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
2477
2477
  import { outputAst } from "@angular/compiler";
2478
2478
  function compileInputTransformFields(inputs) {
2479
2479
  const extraFields = [];
@@ -2490,11 +2490,11 @@ function compileInputTransformFields(inputs) {
2490
2490
  return extraFields;
2491
2491
  }
2492
2492
 
2493
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2493
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2494
2494
  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";
2495
2495
  import ts24 from "typescript";
2496
2496
 
2497
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2497
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2498
2498
  import ts10 from "typescript";
2499
2499
  var SemanticSymbol = class {
2500
2500
  constructor(decl) {
@@ -2510,7 +2510,7 @@ function getSymbolIdentifier(decl) {
2510
2510
  return decl.name.text;
2511
2511
  }
2512
2512
 
2513
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2513
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2514
2514
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
2515
2515
  var OpaqueSymbol = class extends SemanticSymbol {
2516
2516
  isPublicApiAffected() {
@@ -2653,10 +2653,10 @@ function getImportPath(expr) {
2653
2653
  }
2654
2654
  }
2655
2655
 
2656
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2656
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2657
2657
  import ts11 from "typescript";
2658
2658
 
2659
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2659
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2660
2660
  function isSymbolEqual(a, b) {
2661
2661
  if (a.decl === b.decl) {
2662
2662
  return true;
@@ -2706,7 +2706,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
2706
2706
  return true;
2707
2707
  }
2708
2708
 
2709
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2709
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2710
2710
  function extractSemanticTypeParameters(node) {
2711
2711
  if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
2712
2712
  return null;
@@ -2726,14 +2726,14 @@ function isTypeParameterEqual(a, b) {
2726
2726
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
2727
2727
  }
2728
2728
 
2729
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2729
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2730
2730
  var ComponentScopeKind;
2731
2731
  (function(ComponentScopeKind2) {
2732
2732
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
2733
2733
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
2734
2734
  })(ComponentScopeKind || (ComponentScopeKind = {}));
2735
2735
 
2736
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2736
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2737
2737
  var CompoundComponentScopeReader = class {
2738
2738
  constructor(readers) {
2739
2739
  this.readers = readers;
@@ -2758,7 +2758,7 @@ var CompoundComponentScopeReader = class {
2758
2758
  }
2759
2759
  };
2760
2760
 
2761
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2761
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2762
2762
  var MetadataDtsModuleScopeResolver = class {
2763
2763
  constructor(dtsMetaReader, aliasingHost) {
2764
2764
  this.dtsMetaReader = dtsMetaReader;
@@ -2834,11 +2834,11 @@ var MetadataDtsModuleScopeResolver = class {
2834
2834
  }
2835
2835
  };
2836
2836
 
2837
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2837
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2838
2838
  import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
2839
2839
  import ts12 from "typescript";
2840
2840
 
2841
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2841
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2842
2842
  function getDiagnosticNode(ref, rawExpr) {
2843
2843
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
2844
2844
  }
@@ -2861,7 +2861,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
2861
2861
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
2862
2862
  }
2863
2863
 
2864
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2864
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2865
2865
  var LocalModuleScopeRegistry = class {
2866
2866
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
2867
2867
  this.localReader = localReader;
@@ -3200,7 +3200,7 @@ function reexportCollision(module, refA, refB) {
3200
3200
  ]);
3201
3201
  }
3202
3202
 
3203
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3203
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3204
3204
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
3205
3205
  import ts13 from "typescript";
3206
3206
  var TypeCheckScopeRegistry = class {
@@ -3269,7 +3269,7 @@ var TypeCheckScopeRegistry = class {
3269
3269
  }
3270
3270
  };
3271
3271
 
3272
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3272
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3273
3273
  var CompilationMode;
3274
3274
  (function(CompilationMode2) {
3275
3275
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -3283,7 +3283,7 @@ var HandlerPrecedence;
3283
3283
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
3284
3284
  })(HandlerPrecedence || (HandlerPrecedence = {}));
3285
3285
 
3286
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3286
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3287
3287
  import ts14 from "typescript";
3288
3288
  function aliasTransformFactory(exportStatements) {
3289
3289
  return () => {
@@ -3306,10 +3306,10 @@ function aliasTransformFactory(exportStatements) {
3306
3306
  };
3307
3307
  }
3308
3308
 
3309
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3309
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3310
3310
  import ts15 from "typescript";
3311
3311
 
3312
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3312
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3313
3313
  var TraitState;
3314
3314
  (function(TraitState2) {
3315
3315
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -3366,7 +3366,7 @@ var TraitImpl = class {
3366
3366
  }
3367
3367
  };
3368
3368
 
3369
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3369
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3370
3370
  var TraitCompiler = class {
3371
3371
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
3372
3372
  this.handlers = handlers;
@@ -3398,7 +3398,7 @@ var TraitCompiler = class {
3398
3398
  return void 0;
3399
3399
  }
3400
3400
  const promises = [];
3401
- const priorWork = this.incrementalBuild.priorAnalysisFor(sf);
3401
+ const priorWork = this.compilationMode !== CompilationMode.LOCAL ? this.incrementalBuild.priorAnalysisFor(sf) : null;
3402
3402
  if (priorWork !== null) {
3403
3403
  this.perf.eventCount(PerfEvent.SourceFileReuseAnalysis);
3404
3404
  if (priorWork.length > 0) {
@@ -3594,13 +3594,16 @@ var TraitCompiler = class {
3594
3594
  }
3595
3595
  }
3596
3596
  const symbol = this.makeSymbolForTrait(trait.handler, clazz, (_a = result.analysis) != null ? _a : null);
3597
- if (result.analysis !== void 0 && trait.handler.register !== void 0) {
3597
+ if (this.compilationMode !== CompilationMode.LOCAL && result.analysis !== void 0 && trait.handler.register !== void 0) {
3598
3598
  trait.handler.register(clazz, result.analysis);
3599
3599
  }
3600
3600
  trait = trait.toAnalyzed((_b = result.analysis) != null ? _b : null, (_c = result.diagnostics) != null ? _c : null, symbol);
3601
3601
  }
3602
3602
  resolve() {
3603
3603
  var _a, _b;
3604
+ if (this.compilationMode === CompilationMode.LOCAL) {
3605
+ return;
3606
+ }
3604
3607
  const classes = this.classes.keys();
3605
3608
  for (const clazz of classes) {
3606
3609
  const record = this.classes.get(clazz);
@@ -3665,6 +3668,9 @@ var TraitCompiler = class {
3665
3668
  }
3666
3669
  }
3667
3670
  extendedTemplateCheck(sf, extendedTemplateChecker) {
3671
+ if (this.compilationMode === CompilationMode.LOCAL) {
3672
+ return [];
3673
+ }
3668
3674
  const classes = this.fileToClasses.get(sf);
3669
3675
  if (classes === void 0) {
3670
3676
  return [];
@@ -3715,7 +3721,7 @@ var TraitCompiler = class {
3715
3721
  }
3716
3722
  }
3717
3723
  updateResources(clazz) {
3718
- if (!this.reflector.isClass(clazz) || !this.classes.has(clazz)) {
3724
+ if (this.compilationMode === CompilationMode.LOCAL || !this.reflector.isClass(clazz) || !this.classes.has(clazz)) {
3719
3725
  return;
3720
3726
  }
3721
3727
  const record = this.classes.get(clazz);
@@ -3734,14 +3740,21 @@ var TraitCompiler = class {
3734
3740
  const record = this.classes.get(original);
3735
3741
  let res = [];
3736
3742
  for (const trait of record.traits) {
3737
- if (trait.state !== TraitState.Resolved || containsErrors(trait.analysisDiagnostics) || containsErrors(trait.resolveDiagnostics)) {
3738
- continue;
3739
- }
3740
3743
  let compileRes;
3741
- if (this.compilationMode === CompilationMode.PARTIAL && trait.handler.compilePartial !== void 0) {
3742
- compileRes = trait.handler.compilePartial(clazz, trait.analysis, trait.resolution);
3744
+ if (this.compilationMode === CompilationMode.LOCAL) {
3745
+ if (trait.state !== TraitState.Analyzed || trait.analysis === null || containsErrors(trait.analysisDiagnostics)) {
3746
+ continue;
3747
+ }
3748
+ compileRes = trait.handler.compileLocal(clazz, trait.analysis, constantPool);
3743
3749
  } else {
3744
- compileRes = trait.handler.compileFull(clazz, trait.analysis, trait.resolution, constantPool);
3750
+ if (trait.state !== TraitState.Resolved || containsErrors(trait.analysisDiagnostics) || containsErrors(trait.resolveDiagnostics)) {
3751
+ continue;
3752
+ }
3753
+ if (this.compilationMode === CompilationMode.PARTIAL && trait.handler.compilePartial !== void 0) {
3754
+ compileRes = trait.handler.compilePartial(clazz, trait.analysis, trait.resolution);
3755
+ } else {
3756
+ compileRes = trait.handler.compileFull(clazz, trait.analysis, trait.resolution, constantPool);
3757
+ }
3745
3758
  }
3746
3759
  const compileMatchRes = compileRes;
3747
3760
  if (Array.isArray(compileMatchRes)) {
@@ -3765,7 +3778,7 @@ var TraitCompiler = class {
3765
3778
  const record = this.classes.get(original);
3766
3779
  const decorators = [];
3767
3780
  for (const trait of record.traits) {
3768
- if (trait.state !== TraitState.Resolved) {
3781
+ if (this.compilationMode !== CompilationMode.LOCAL && trait.state !== TraitState.Resolved) {
3769
3782
  continue;
3770
3783
  }
3771
3784
  if (trait.detected.trigger !== null && ts15.isDecorator(trait.detected.trigger)) {
@@ -3801,10 +3814,10 @@ function containsErrors(diagnostics) {
3801
3814
  return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
3802
3815
  }
3803
3816
 
3804
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3817
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3805
3818
  import ts17 from "typescript";
3806
3819
 
3807
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3820
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3808
3821
  import ts16 from "typescript";
3809
3822
  function addImports(importManager, sf, extraStatements = []) {
3810
3823
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -3840,7 +3853,7 @@ function isImportStatement(stmt) {
3840
3853
  return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
3841
3854
  }
3842
3855
 
3843
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3856
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3844
3857
  var DtsTransformRegistry = class {
3845
3858
  constructor() {
3846
3859
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -3987,11 +4000,11 @@ function markForEmitAsSingleLine(node) {
3987
4000
  ts17.forEachChild(node, markForEmitAsSingleLine);
3988
4001
  }
3989
4002
 
3990
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4003
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3991
4004
  import { ConstantPool } from "@angular/compiler";
3992
4005
  import ts19 from "typescript";
3993
4006
 
3994
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
4007
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
3995
4008
  import ts18 from "typescript";
3996
4009
  function visit(node, visitor, context) {
3997
4010
  return visitor._visit(node, context);
@@ -4052,7 +4065,7 @@ var Visitor = class {
4052
4065
  }
4053
4066
  };
4054
4067
 
4055
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4068
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4056
4069
  var NO_DECORATORS = /* @__PURE__ */ new Set();
4057
4070
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
4058
4071
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -4263,10 +4276,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
4263
4276
  return array;
4264
4277
  }
4265
4278
 
4266
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4279
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4267
4280
  import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4268
4281
 
4269
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4282
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4270
4283
  import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
4271
4284
  import ts20 from "typescript";
4272
4285
  var EMPTY_OBJECT = {};
@@ -4830,7 +4843,7 @@ function toR3InputMetadata(mapping) {
4830
4843
  };
4831
4844
  }
4832
4845
 
4833
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4846
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4834
4847
  var DirectiveSymbol = class extends SemanticSymbol {
4835
4848
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
4836
4849
  super(decl);
@@ -4910,7 +4923,7 @@ function isBaseClassEqual(current, previous) {
4910
4923
  return isSymbolEqual(current, previous);
4911
4924
  }
4912
4925
 
4913
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4926
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4914
4927
  var FIELD_DECORATORS = [
4915
4928
  "Input",
4916
4929
  "Output",
@@ -5061,6 +5074,13 @@ var DirectiveDecoratorHandler = class {
5061
5074
  const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata(analysis.classMetadata).toStmt() : null;
5062
5075
  return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields);
5063
5076
  }
5077
+ compileLocal(node, analysis, pool) {
5078
+ const fac = compileNgFactoryDefField(toFactoryMetadata(analysis.meta, FactoryTarget.Directive));
5079
+ const def = compileDirectiveFromMetadata(analysis.meta, pool, makeBindingParser());
5080
+ const inputTransformFields = compileInputTransformFields(analysis.inputs);
5081
+ const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
5082
+ return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields);
5083
+ }
5064
5084
  findClassFieldWithAngularFeatures(node) {
5065
5085
  return this.reflector.getMembersOfClass(node).find((member) => {
5066
5086
  if (!member.isStatic && member.kind === ClassMemberKind.Method && LIFECYCLE_HOOKS.has(member.name)) {
@@ -5074,11 +5094,11 @@ var DirectiveDecoratorHandler = class {
5074
5094
  }
5075
5095
  };
5076
5096
 
5077
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5078
- 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";
5097
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5098
+ 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, R3NgModuleMetadataKind, R3SelectorScopeMode, ReturnStatement as ReturnStatement2, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
5079
5099
  import ts22 from "typescript";
5080
5100
 
5081
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5101
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
5082
5102
  import ts21 from "typescript";
5083
5103
  function createModuleWithProvidersResolver(reflector, isCore) {
5084
5104
  function _reflectModuleFromTypeParam(type, node) {
@@ -5145,7 +5165,7 @@ function isResolvedModuleWithProviders(sv) {
5145
5165
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
5146
5166
  }
5147
5167
 
5148
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5168
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
5149
5169
  var NgModuleSymbol = class extends SemanticSymbol {
5150
5170
  constructor(decl, hasProviders) {
5151
5171
  super(decl);
@@ -5212,7 +5232,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
5212
5232
  }
5213
5233
  };
5214
5234
  var NgModuleDecoratorHandler = class {
5215
- constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, annotateForClosureCompiler, onlyPublishPublicTypings, injectableRegistry, perf, includeClassMetadata) {
5235
+ constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, annotateForClosureCompiler, onlyPublishPublicTypings, injectableRegistry, perf, includeClassMetadata, includeSelectorScope, compilationMode) {
5216
5236
  this.reflector = reflector;
5217
5237
  this.evaluator = evaluator;
5218
5238
  this.metaReader = metaReader;
@@ -5228,6 +5248,8 @@ var NgModuleDecoratorHandler = class {
5228
5248
  this.injectableRegistry = injectableRegistry;
5229
5249
  this.perf = perf;
5230
5250
  this.includeClassMetadata = includeClassMetadata;
5251
+ this.includeSelectorScope = includeSelectorScope;
5252
+ this.compilationMode = compilationMode;
5231
5253
  this.precedence = HandlerPrecedence.PRIMARY;
5232
5254
  this.name = "NgModuleDecoratorHandler";
5233
5255
  }
@@ -5247,7 +5269,7 @@ var NgModuleDecoratorHandler = class {
5247
5269
  }
5248
5270
  }
5249
5271
  analyze(node, decorator) {
5250
- var _a;
5272
+ var _a, _b, _c, _d, _e;
5251
5273
  this.perf.eventCount(PerfEvent.AnalyzeNgModule);
5252
5274
  const name = node.name.text;
5253
5275
  if (decorator.args === null || decorator.args.length > 1) {
@@ -5267,9 +5289,8 @@ var NgModuleDecoratorHandler = class {
5267
5289
  ]);
5268
5290
  const diagnostics = [];
5269
5291
  let declarationRefs = [];
5270
- let rawDeclarations = null;
5271
- if (ngModule.has("declarations")) {
5272
- rawDeclarations = ngModule.get("declarations");
5292
+ const rawDeclarations = (_a = ngModule.get("declarations")) != null ? _a : null;
5293
+ if (this.compilationMode !== CompilationMode.LOCAL && rawDeclarations !== null) {
5273
5294
  const declarationMeta = this.evaluator.evaluate(rawDeclarations, forwardRefResolver);
5274
5295
  declarationRefs = this.resolveTypeList(rawDeclarations, declarationMeta, name, "declarations", 0).references;
5275
5296
  for (const ref of declarationRefs) {
@@ -5283,33 +5304,31 @@ var NgModuleDecoratorHandler = class {
5283
5304
  return { diagnostics };
5284
5305
  }
5285
5306
  let importRefs = [];
5286
- let rawImports = null;
5287
- if (ngModule.has("imports")) {
5288
- rawImports = ngModule.get("imports");
5307
+ let rawImports = (_b = ngModule.get("imports")) != null ? _b : null;
5308
+ if (this.compilationMode !== CompilationMode.LOCAL && rawImports !== null) {
5289
5309
  const importsMeta = this.evaluator.evaluate(rawImports, moduleResolvers);
5290
5310
  importRefs = this.resolveTypeList(rawImports, importsMeta, name, "imports", 0).references;
5291
5311
  }
5292
5312
  let exportRefs = [];
5293
- let rawExports = null;
5294
- if (ngModule.has("exports")) {
5295
- rawExports = ngModule.get("exports");
5313
+ const rawExports = (_c = ngModule.get("exports")) != null ? _c : null;
5314
+ if (this.compilationMode !== CompilationMode.LOCAL && rawExports !== null) {
5296
5315
  const exportsMeta = this.evaluator.evaluate(rawExports, moduleResolvers);
5297
5316
  exportRefs = this.resolveTypeList(rawExports, exportsMeta, name, "exports", 0).references;
5298
5317
  this.referencesRegistry.add(node, ...exportRefs);
5299
5318
  }
5300
5319
  let bootstrapRefs = [];
5301
- if (ngModule.has("bootstrap")) {
5302
- const expr = ngModule.get("bootstrap");
5303
- const bootstrapMeta = this.evaluator.evaluate(expr, forwardRefResolver);
5304
- bootstrapRefs = this.resolveTypeList(expr, bootstrapMeta, name, "bootstrap", 0).references;
5320
+ const rawBootstrap = (_d = ngModule.get("bootstrap")) != null ? _d : null;
5321
+ if (this.compilationMode !== CompilationMode.LOCAL && rawBootstrap !== null) {
5322
+ const bootstrapMeta = this.evaluator.evaluate(rawBootstrap, forwardRefResolver);
5323
+ bootstrapRefs = this.resolveTypeList(rawBootstrap, bootstrapMeta, name, "bootstrap", 0).references;
5305
5324
  for (const ref of bootstrapRefs) {
5306
5325
  const dirMeta = this.metaReader.getDirectiveMetadata(ref);
5307
5326
  if (dirMeta == null ? void 0 : dirMeta.isStandalone) {
5308
- diagnostics.push(makeStandaloneBootstrapDiagnostic(node, ref, expr));
5327
+ diagnostics.push(makeStandaloneBootstrapDiagnostic(node, ref, rawBootstrap));
5309
5328
  }
5310
5329
  }
5311
5330
  }
5312
- const schemas = ngModule.has("schemas") ? extractSchemas(ngModule.get("schemas"), this.evaluator, "NgModule") : [];
5331
+ const schemas = this.compilationMode !== CompilationMode.LOCAL && ngModule.has("schemas") ? extractSchemas(ngModule.get("schemas"), this.evaluator, "NgModule") : [];
5313
5332
  let id = null;
5314
5333
  if (ngModule.has("id")) {
5315
5334
  const idExpr = ngModule.get("id");
@@ -5338,26 +5357,42 @@ var NgModuleDecoratorHandler = class {
5338
5357
  const isForwardReference = (ref) => isExpressionForwardReference(ref.value, node.name, valueContext);
5339
5358
  const containsForwardDecls = bootstrap.some(isForwardReference) || declarations.some(isForwardReference) || imports.some(isForwardReference) || exports.some(isForwardReference);
5340
5359
  const type = wrapTypeReference(this.reflector, node);
5341
- const ngModuleMetadata = {
5342
- type,
5343
- bootstrap,
5344
- declarations,
5345
- publicDeclarationTypes: this.onlyPublishPublicTypings ? exportedDeclarations : null,
5346
- exports,
5347
- imports,
5348
- includeImportTypes: !this.onlyPublishPublicTypings,
5349
- containsForwardDecls,
5350
- id,
5351
- selectorScopeMode: R3SelectorScopeMode.SideEffect,
5352
- schemas: []
5353
- };
5360
+ let ngModuleMetadata;
5361
+ if (this.compilationMode === CompilationMode.LOCAL) {
5362
+ ngModuleMetadata = {
5363
+ kind: R3NgModuleMetadataKind.Local,
5364
+ type,
5365
+ bootstrapExpression: rawBootstrap ? new WrappedNodeExpr6(rawBootstrap) : null,
5366
+ declarationsExpression: rawDeclarations ? new WrappedNodeExpr6(rawDeclarations) : null,
5367
+ exportsExpression: rawExports ? new WrappedNodeExpr6(rawExports) : null,
5368
+ importsExpression: rawImports ? new WrappedNodeExpr6(rawImports) : null,
5369
+ id,
5370
+ selectorScopeMode: R3SelectorScopeMode.SideEffect,
5371
+ schemas: []
5372
+ };
5373
+ } else {
5374
+ ngModuleMetadata = {
5375
+ kind: R3NgModuleMetadataKind.Global,
5376
+ type,
5377
+ bootstrap,
5378
+ declarations,
5379
+ publicDeclarationTypes: this.onlyPublishPublicTypings ? exportedDeclarations : null,
5380
+ exports,
5381
+ imports,
5382
+ includeImportTypes: !this.onlyPublishPublicTypings,
5383
+ containsForwardDecls,
5384
+ id,
5385
+ selectorScopeMode: this.includeSelectorScope ? R3SelectorScopeMode.SideEffect : R3SelectorScopeMode.Omit,
5386
+ schemas: []
5387
+ };
5388
+ }
5354
5389
  const rawProviders = ngModule.has("providers") ? ngModule.get("providers") : null;
5355
5390
  let wrappedProviders = null;
5356
5391
  if (rawProviders !== null && (!ts22.isArrayLiteralExpression(rawProviders) || rawProviders.elements.length > 0)) {
5357
5392
  wrappedProviders = new WrappedNodeExpr6(this.annotateForClosureCompiler ? wrapFunctionExpressionsInParens(rawProviders) : rawProviders);
5358
5393
  }
5359
5394
  const topLevelImports = [];
5360
- if (ngModule.has("imports")) {
5395
+ if (this.compilationMode !== CompilationMode.LOCAL && ngModule.has("imports")) {
5361
5396
  const rawImports2 = unwrapExpression(ngModule.get("imports"));
5362
5397
  let topLevelExpressions = [];
5363
5398
  if (ts22.isArrayLiteralExpression(rawImports2)) {
@@ -5416,7 +5451,7 @@ var NgModuleDecoratorHandler = class {
5416
5451
  classMetadata: this.includeClassMetadata ? extractClassMetadata(node, this.reflector, this.isCore, this.annotateForClosureCompiler) : null,
5417
5452
  factorySymbolName: node.name.text,
5418
5453
  remoteScopesMayRequireCycleProtection,
5419
- decorator: (_a = decorator == null ? void 0 : decorator.node) != null ? _a : null
5454
+ decorator: (_e = decorator == null ? void 0 : decorator.node) != null ? _e : null
5420
5455
  }
5421
5456
  };
5422
5457
  }
@@ -5557,6 +5592,19 @@ var NgModuleDecoratorHandler = class {
5557
5592
  this.insertMetadataStatement(ngModuleDef.statements, metadata);
5558
5593
  return this.compileNgModule(factoryFn, injectorDef, ngModuleDef);
5559
5594
  }
5595
+ compileLocal(node, { inj, mod, fac, classMetadata, declarations, remoteScopesMayRequireCycleProtection }) {
5596
+ const factoryFn = compileNgFactoryDefField(fac);
5597
+ const ngInjectorDef = compileInjector({
5598
+ ...inj,
5599
+ imports: []
5600
+ });
5601
+ const ngModuleDef = compileNgModule(mod);
5602
+ const statements = ngModuleDef.statements;
5603
+ const metadata = classMetadata !== null ? compileClassMetadata2(classMetadata) : null;
5604
+ this.insertMetadataStatement(statements, metadata);
5605
+ this.appendRemoteScopingStatements(statements, node, declarations, remoteScopesMayRequireCycleProtection);
5606
+ return this.compileNgModule(factoryFn, ngInjectorDef, ngModuleDef);
5607
+ }
5560
5608
  insertMetadataStatement(ngModuleStatements, metadata) {
5561
5609
  if (metadata !== null) {
5562
5610
  ngModuleStatements.unshift(metadata.toStmt());
@@ -5670,7 +5718,7 @@ function isSyntheticReference(ref) {
5670
5718
  return ref.synthetic;
5671
5719
  }
5672
5720
 
5673
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5721
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5674
5722
  function makeCyclicImportInfo(ref, type, cycle) {
5675
5723
  const name = ref.debugName || "(unknown)";
5676
5724
  const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -5693,7 +5741,7 @@ function checkCustomElementSelectorForErrors(selector) {
5693
5741
  return null;
5694
5742
  }
5695
5743
 
5696
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5744
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5697
5745
  import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
5698
5746
  import ts23 from "typescript";
5699
5747
  function getTemplateDeclarationNodeForError(declaration) {
@@ -6007,7 +6055,7 @@ function _extractTemplateStyleUrls(template) {
6007
6055
  return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
6008
6056
  }
6009
6057
 
6010
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
6058
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
6011
6059
  var ComponentSymbol = class extends DirectiveSymbol {
6012
6060
  constructor() {
6013
6061
  super(...arguments);
@@ -6042,7 +6090,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
6042
6090
  }
6043
6091
  };
6044
6092
 
6045
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
6093
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
6046
6094
  function collectAnimationNames(value, animationTriggerNames) {
6047
6095
  if (value instanceof Map) {
6048
6096
  const name = value.get("name");
@@ -6118,10 +6166,10 @@ function isLikelyModuleWithProviders(value) {
6118
6166
  return false;
6119
6167
  }
6120
6168
 
6121
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
6169
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
6122
6170
  var EMPTY_ARRAY2 = [];
6123
6171
  var ComponentDecoratorHandler = class {
6124
- 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, includeClassMetadata) {
6172
+ 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, includeClassMetadata, compilationMode) {
6125
6173
  this.reflector = reflector;
6126
6174
  this.evaluator = evaluator;
6127
6175
  this.metaRegistry = metaRegistry;
@@ -6152,6 +6200,7 @@ var ComponentDecoratorHandler = class {
6152
6200
  this.perf = perf;
6153
6201
  this.hostDirectivesResolver = hostDirectivesResolver;
6154
6202
  this.includeClassMetadata = includeClassMetadata;
6203
+ this.compilationMode = compilationMode;
6155
6204
  this.literalCache = /* @__PURE__ */ new Map();
6156
6205
  this.elementSchemaRegistry = new DomElementSchemaRegistry();
6157
6206
  this.preanalyzeTemplateCache = /* @__PURE__ */ new Map();
@@ -6221,7 +6270,7 @@ var ComponentDecoratorHandler = class {
6221
6270
  ]).then(() => void 0);
6222
6271
  }
6223
6272
  analyze(node, decorator) {
6224
- var _a, _b, _c;
6273
+ var _a, _b, _c, _d;
6225
6274
  this.perf.eventCount(PerfEvent.AnalyzeComponent);
6226
6275
  const containingFile = node.getSourceFile().fileName;
6227
6276
  this.literalCache.delete(decorator);
@@ -6263,15 +6312,15 @@ var ComponentDecoratorHandler = class {
6263
6312
  providersRequiringFactory = resolveProvidersRequiringFactory(component.get("providers"), this.reflector, this.evaluator);
6264
6313
  }
6265
6314
  let resolvedImports = null;
6266
- let rawImports = null;
6267
- if (component.has("imports") && !metadata.isStandalone) {
6315
+ let rawImports = (_b = component.get("imports")) != null ? _b : null;
6316
+ if (rawImports && !metadata.isStandalone) {
6268
6317
  if (diagnostics === void 0) {
6269
6318
  diagnostics = [];
6270
6319
  }
6271
6320
  diagnostics.push(makeDiagnostic(ErrorCode.COMPONENT_NOT_STANDALONE, component.get("imports"), `'imports' is only valid on a component that is standalone.`, [makeRelatedInformation(node.name, `Did you forget to add 'standalone: true' to this @Component?`)]));
6272
6321
  isPoisoned = true;
6273
- } else if (component.has("imports")) {
6274
- const expr = component.get("imports");
6322
+ } else if (this.compilationMode !== CompilationMode.LOCAL && rawImports) {
6323
+ const expr = rawImports;
6275
6324
  const importResolvers = combineResolvers([
6276
6325
  createModuleWithProvidersResolver(this.reflector, this.isCore),
6277
6326
  forwardRefResolver
@@ -6294,7 +6343,7 @@ var ComponentDecoratorHandler = class {
6294
6343
  diagnostics = [];
6295
6344
  }
6296
6345
  diagnostics.push(makeDiagnostic(ErrorCode.COMPONENT_NOT_STANDALONE, component.get("schemas"), `'schemas' is only valid on a component that is standalone.`));
6297
- } else if (component.has("schemas")) {
6346
+ } else if (this.compilationMode !== CompilationMode.LOCAL && component.has("schemas")) {
6298
6347
  schemas = extractSchemas(component.get("schemas"), this.evaluator, "Component");
6299
6348
  } else if (metadata.isStandalone) {
6300
6349
  schemas = [];
@@ -6386,7 +6435,7 @@ var ComponentDecoratorHandler = class {
6386
6435
  ngContentSelectors: template.ngContentSelectors
6387
6436
  },
6388
6437
  encapsulation,
6389
- interpolation: (_b = template.interpolationConfig) != null ? _b : DEFAULT_INTERPOLATION_CONFIG2,
6438
+ interpolation: (_c = template.interpolationConfig) != null ? _c : DEFAULT_INTERPOLATION_CONFIG2,
6390
6439
  styles,
6391
6440
  animations,
6392
6441
  viewProviders: wrappedViewProviders,
@@ -6409,7 +6458,7 @@ var ComponentDecoratorHandler = class {
6409
6458
  rawImports,
6410
6459
  resolvedImports,
6411
6460
  schemas,
6412
- decorator: (_c = decorator == null ? void 0 : decorator.node) != null ? _c : null
6461
+ decorator: (_d = decorator == null ? void 0 : decorator.node) != null ? _d : null
6413
6462
  },
6414
6463
  diagnostics
6415
6464
  };
@@ -6730,6 +6779,21 @@ var ComponentDecoratorHandler = class {
6730
6779
  const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata3(analysis.classMetadata).toStmt() : null;
6731
6780
  return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields);
6732
6781
  }
6782
+ compileLocal(node, analysis, pool) {
6783
+ if (analysis.template.errors !== null && analysis.template.errors.length > 0) {
6784
+ return [];
6785
+ }
6786
+ const meta = {
6787
+ ...analysis.meta,
6788
+ declarationListEmitMode: 0,
6789
+ declarations: []
6790
+ };
6791
+ const fac = compileNgFactoryDefField(toFactoryMetadata(meta, FactoryTarget3.Component));
6792
+ const def = compileComponentFromMetadata(meta, pool, makeBindingParser2());
6793
+ const inputTransformFields = compileInputTransformFields(analysis.inputs);
6794
+ const classMetadata = analysis.classMetadata !== null ? compileClassMetadata3(analysis.classMetadata).toStmt() : null;
6795
+ return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields);
6796
+ }
6733
6797
  _checkForCyclicImport(importedFile, expr, origin) {
6734
6798
  const imported = resolveImportedFile(this.moduleResolver, importedFile, expr, origin);
6735
6799
  if (imported === null) {
@@ -6771,7 +6835,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
6771
6835
  return diagnostics;
6772
6836
  }
6773
6837
 
6774
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6838
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6775
6839
  import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
6776
6840
  import ts25 from "typescript";
6777
6841
  var InjectableDecoratorHandler = class {
@@ -6840,6 +6904,9 @@ var InjectableDecoratorHandler = class {
6840
6904
  compilePartial(node, analysis) {
6841
6905
  return this.compile(compileDeclareFactory, compileDeclareInjectableFromMetadata, compileDeclareClassMetadata4, node, analysis);
6842
6906
  }
6907
+ compileLocal(node, analysis) {
6908
+ return this.compile(compileNgFactoryDefField, (meta) => compileInjectable(meta, false), compileClassMetadata4, node, analysis);
6909
+ }
6843
6910
  compile(compileFactoryFn, compileInjectableFn, compileClassMetadataFn, node, analysis) {
6844
6911
  const results = [];
6845
6912
  if (analysis.needsFactory) {
@@ -6987,7 +7054,7 @@ function getDep(dep, reflector) {
6987
7054
  return meta;
6988
7055
  }
6989
7056
 
6990
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
7057
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
6991
7058
  import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
6992
7059
  import ts26 from "typescript";
6993
7060
  var PipeSymbol = class extends SemanticSymbol {
@@ -7130,16 +7197,22 @@ var PipeDecoratorHandler = class {
7130
7197
  const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata5(analysis.classMetadata).toStmt() : null;
7131
7198
  return compileResults(fac, def, classMetadata, "\u0275pipe", null);
7132
7199
  }
7200
+ compileLocal(node, analysis) {
7201
+ const fac = compileNgFactoryDefField(toFactoryMetadata(analysis.meta, FactoryTarget5.Pipe));
7202
+ const def = compilePipeFromMetadata(analysis.meta);
7203
+ const classMetadata = analysis.classMetadata !== null ? compileClassMetadata5(analysis.classMetadata).toStmt() : null;
7204
+ return compileResults(fac, def, classMetadata, "\u0275pipe", null);
7205
+ }
7133
7206
  };
7134
7207
 
7135
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
7208
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
7136
7209
  var OptimizeFor;
7137
7210
  (function(OptimizeFor2) {
7138
7211
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
7139
7212
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
7140
7213
  })(OptimizeFor || (OptimizeFor = {}));
7141
7214
 
7142
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
7215
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
7143
7216
  var PotentialImportKind;
7144
7217
  (function(PotentialImportKind2) {
7145
7218
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -7151,14 +7224,14 @@ var PotentialImportMode;
7151
7224
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
7152
7225
  })(PotentialImportMode || (PotentialImportMode = {}));
7153
7226
 
7154
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
7227
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
7155
7228
  var CompletionKind;
7156
7229
  (function(CompletionKind2) {
7157
7230
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
7158
7231
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
7159
7232
  })(CompletionKind || (CompletionKind = {}));
7160
7233
 
7161
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
7234
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
7162
7235
  var SymbolKind;
7163
7236
  (function(SymbolKind2) {
7164
7237
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -7226,4 +7299,4 @@ export {
7226
7299
  * Use of this source code is governed by an MIT-style license that can be
7227
7300
  * found in the LICENSE file at https://angular.io/license
7228
7301
  */
7229
- //# sourceMappingURL=chunk-3SPKRPX3.js.map
7302
+ //# sourceMappingURL=chunk-HHLM4WSJ.js.map