@angular/compiler-cli 18.0.0-next.1 → 18.0.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 (60) hide show
  1. package/bundles/{chunk-C4L7A7U3.js → chunk-32GYU5L6.js} +47 -8
  2. package/bundles/chunk-32GYU5L6.js.map +6 -0
  3. package/bundles/{chunk-AWB4ZG2D.js → chunk-4CJL5R2P.js} +42 -40
  4. package/bundles/chunk-4CJL5R2P.js.map +6 -0
  5. package/bundles/{chunk-OHOBDHII.js → chunk-MTZKBEZU.js} +105 -31
  6. package/bundles/chunk-MTZKBEZU.js.map +6 -0
  7. package/bundles/{chunk-GGJA4IFT.js → chunk-NPXXJQN4.js} +129 -49
  8. package/bundles/chunk-NPXXJQN4.js.map +6 -0
  9. package/bundles/{chunk-B454JZVO.js → chunk-VFVLP7AO.js} +2 -2
  10. package/bundles/{chunk-ALDR4XSX.js → chunk-YMLYBTFV.js} +1085 -814
  11. package/bundles/chunk-YMLYBTFV.js.map +6 -0
  12. package/bundles/index.js +7 -5
  13. package/bundles/index.js.map +1 -1
  14. package/bundles/linker/babel/index.js +10 -3
  15. package/bundles/linker/babel/index.js.map +1 -1
  16. package/bundles/linker/index.js +2 -2
  17. package/bundles/private/migrations.js +2 -2
  18. package/bundles/private/tooling.js +3 -3
  19. package/bundles/src/bin/ng_xi18n.js +4 -4
  20. package/bundles/src/bin/ngc.js +4 -4
  21. package/bundles_metadata.json +1 -1
  22. package/index.d.ts +1 -0
  23. package/linker/babel/src/ast/babel_ast_host.d.ts +2 -1
  24. package/linker/src/ast/ast_host.d.ts +4 -0
  25. package/linker/src/ast/ast_value.d.ts +5 -0
  26. package/linker/src/ast/typescript/typescript_ast_host.d.ts +1 -0
  27. package/linker/src/file_linker/partial_linkers/partial_class_metadata_async_linker_1.d.ts +16 -0
  28. package/linker/src/file_linker/partial_linkers/partial_linker_selector.d.ts +1 -0
  29. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  30. package/package.json +3 -3
  31. package/src/ngtsc/annotations/component/src/handler.d.ts +1 -1
  32. package/src/ngtsc/annotations/directive/index.d.ts +1 -0
  33. package/src/ngtsc/annotations/directive/src/initializer_function_access.d.ts +17 -0
  34. package/src/ngtsc/annotations/directive/src/initializer_functions.d.ts +10 -6
  35. package/src/ngtsc/annotations/directive/src/input_function.d.ts +4 -1
  36. package/src/ngtsc/annotations/directive/src/model_function.d.ts +4 -1
  37. package/src/ngtsc/annotations/directive/src/output_function.d.ts +4 -1
  38. package/src/ngtsc/annotations/directive/src/query_functions.d.ts +8 -2
  39. package/src/ngtsc/annotations/index.d.ts +1 -1
  40. package/src/ngtsc/diagnostics/src/error_code.d.ts +19 -0
  41. package/src/ngtsc/docs/src/entities.d.ts +36 -1
  42. package/src/ngtsc/docs/src/function_extractor.d.ts +3 -2
  43. package/src/ngtsc/docs/src/initializer_api_function_extractor.d.ts +24 -0
  44. package/src/ngtsc/docs/src/internal.d.ts +8 -0
  45. package/src/ngtsc/imports/src/imported_symbols_tracker.d.ts +13 -0
  46. package/src/ngtsc/reflection/src/host.d.ts +13 -3
  47. package/src/ngtsc/reflection/src/typescript.d.ts +8 -1
  48. package/src/ngtsc/reflection/src/util.d.ts +6 -1
  49. package/src/ngtsc/typecheck/src/oob.d.ts +3 -3
  50. package/src/ngtsc/validation/index.d.ts +8 -0
  51. package/src/ngtsc/validation/src/rules/api.d.ts +24 -0
  52. package/src/ngtsc/validation/src/rules/initializer_api_usage_rule.d.ts +21 -0
  53. package/src/ngtsc/validation/src/source_file_validator.d.ts +22 -0
  54. package/src/transformers/jit_transforms/initializer_api_transforms/transform_api.d.ts +3 -3
  55. package/bundles/chunk-ALDR4XSX.js.map +0 -6
  56. package/bundles/chunk-AWB4ZG2D.js.map +0 -6
  57. package/bundles/chunk-C4L7A7U3.js.map +0 -6
  58. package/bundles/chunk-GGJA4IFT.js.map +0 -6
  59. package/bundles/chunk-OHOBDHII.js.map +0 -6
  60. /package/bundles/{chunk-B454JZVO.js.map → chunk-VFVLP7AO.js.map} +0 -0
@@ -4,6 +4,7 @@
4
4
 
5
5
  import {
6
6
  AmbientImport,
7
+ ClassMemberAccessLevel,
7
8
  ClassMemberKind,
8
9
  ErrorCode,
9
10
  FatalDiagnosticError,
@@ -12,6 +13,7 @@ import {
12
13
  Reference,
13
14
  assertSuccessfulReferenceEmit,
14
15
  attachDefaultImportDeclaration,
16
+ classMemberAccessLevelToString,
15
17
  entityNameToValue,
16
18
  filterToMembersWithDecorator,
17
19
  getDefaultImportDeclaration,
@@ -21,6 +23,7 @@ import {
21
23
  isFromDtsFile,
22
24
  isNamedClassDeclaration,
23
25
  makeDiagnostic,
26
+ makeDiagnosticChain,
24
27
  makeRelatedInformation,
25
28
  nodeDebugInfo,
26
29
  nodeNameForError,
@@ -31,7 +34,7 @@ import {
31
34
  translateStatement,
32
35
  translateType,
33
36
  typeNodeToValueExpr
34
- } from "./chunk-GGJA4IFT.js";
37
+ } from "./chunk-NPXXJQN4.js";
35
38
  import {
36
39
  PerfEvent,
37
40
  PerfPhase
@@ -3596,7 +3599,7 @@ function compileInputTransformFields(inputs) {
3596
3599
  }
3597
3600
 
3598
3601
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
3599
- import { compileClassDebugInfo, compileComponentClassMetadata, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, compileDeferResolverFunction, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, outputAst as o2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation as ViewEncapsulation2 } from "@angular/compiler";
3602
+ import { compileClassDebugInfo, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareComponentFromMetadata, compileDeferResolverFunction, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, ExternalExpr as ExternalExpr6, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, outputAst as o2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation as ViewEncapsulation2 } from "@angular/compiler";
3600
3603
  import ts26 from "typescript";
3601
3604
 
3602
3605
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
@@ -4393,25 +4396,32 @@ import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirect
4393
4396
  import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4394
4397
  import ts22 from "typescript";
4395
4398
 
4399
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
4400
+ function validateAccessOfInitializerApiMember({ api, call }, member) {
4401
+ if (!api.allowedAccessLevels.includes(member.accessLevel)) {
4402
+ 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)}.`, [makeDiagnosticChain(`Update the class field to be either: ` + api.allowedAccessLevels.map((l) => classMemberAccessLevelToString(l)).join(", "))]));
4403
+ }
4404
+ }
4405
+
4396
4406
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
4397
4407
  import ts19 from "typescript";
4398
- function tryParseInitializerApiMember(functions, member, reflector, importTracker) {
4399
- if (member.value === null || !ts19.isCallExpression(member.value)) {
4408
+ function tryParseInitializerApi(functions, expression, reflector, importTracker) {
4409
+ if (!ts19.isCallExpression(expression)) {
4400
4410
  return null;
4401
4411
  }
4402
- const call = member.value;
4403
- const staticResult = parseTopLevelCall(call, functions, importTracker) || parseTopLevelRequiredCall(call, functions, importTracker) || parseTopLevelCallFromNamespace(call, functions, importTracker);
4412
+ const staticResult = parseTopLevelCall(expression, functions, importTracker) || parseTopLevelRequiredCall(expression, functions, importTracker) || parseTopLevelCallFromNamespace(expression, functions, importTracker);
4404
4413
  if (staticResult === null) {
4405
4414
  return null;
4406
4415
  }
4407
- const resolvedImport = reflector.getImportOfIdentifier(staticResult.apiReference);
4408
- if (resolvedImport === null || staticResult.api.functionName !== resolvedImport.name || staticResult.api.owningModule !== resolvedImport.from) {
4416
+ const { api, apiReference, isRequired } = staticResult;
4417
+ const resolvedImport = reflector.getImportOfIdentifier(apiReference);
4418
+ if (resolvedImport === null || api.functionName !== resolvedImport.name || api.owningModule !== resolvedImport.from) {
4409
4419
  return null;
4410
4420
  }
4411
4421
  return {
4412
- api: staticResult.api,
4413
- call,
4414
- isRequired: staticResult.isRequired
4422
+ api,
4423
+ call: expression,
4424
+ isRequired
4415
4425
  };
4416
4426
  }
4417
4427
  function parseTopLevelCall(call, functions, importTracker) {
@@ -4481,12 +4491,25 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
4481
4491
  }
4482
4492
 
4483
4493
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
4494
+ var INPUT_INITIALIZER_FN = {
4495
+ functionName: "input",
4496
+ owningModule: "@angular/core",
4497
+ allowedAccessLevels: [
4498
+ ClassMemberAccessLevel.PublicWritable,
4499
+ ClassMemberAccessLevel.PublicReadonly,
4500
+ ClassMemberAccessLevel.Protected
4501
+ ]
4502
+ };
4484
4503
  function tryParseSignalInputMapping(member, reflector, importTracker) {
4485
4504
  var _a;
4486
- const signalInput = tryParseInitializerApiMember([{ functionName: "input", owningModule: "@angular/core" }], member, reflector, importTracker);
4505
+ if (member.value === null) {
4506
+ return null;
4507
+ }
4508
+ const signalInput = tryParseInitializerApi([INPUT_INITIALIZER_FN], member.value, reflector, importTracker);
4487
4509
  if (signalInput === null) {
4488
4510
  return null;
4489
4511
  }
4512
+ validateAccessOfInitializerApiMember(signalInput, member);
4490
4513
  const optionsNode = signalInput.isRequired ? signalInput.call.arguments[0] : signalInput.call.arguments[1];
4491
4514
  const options = optionsNode !== void 0 ? parseAndValidateInputAndOutputOptions(optionsNode) : null;
4492
4515
  const classPropertyName = member.name;
@@ -4500,12 +4523,25 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
4500
4523
  }
4501
4524
 
4502
4525
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
4526
+ var MODEL_INITIALIZER_FN = {
4527
+ functionName: "model",
4528
+ owningModule: "@angular/core",
4529
+ allowedAccessLevels: [
4530
+ ClassMemberAccessLevel.PublicWritable,
4531
+ ClassMemberAccessLevel.PublicReadonly,
4532
+ ClassMemberAccessLevel.Protected
4533
+ ]
4534
+ };
4503
4535
  function tryParseSignalModelMapping(member, reflector, importTracker) {
4504
4536
  var _a;
4505
- const model = tryParseInitializerApiMember([{ functionName: "model", owningModule: "@angular/core" }], member, reflector, importTracker);
4537
+ if (member.value === null) {
4538
+ return null;
4539
+ }
4540
+ const model = tryParseInitializerApi([MODEL_INITIALIZER_FN], member.value, reflector, importTracker);
4506
4541
  if (model === null) {
4507
4542
  return null;
4508
4543
  }
4544
+ validateAccessOfInitializerApiMember(model, member);
4509
4545
  const optionsNode = model.isRequired ? model.call.arguments[0] : model.call.arguments[1];
4510
4546
  const options = optionsNode !== void 0 ? parseAndValidateInputAndOutputOptions(optionsNode) : null;
4511
4547
  const classPropertyName = member.name;
@@ -4528,18 +4564,36 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
4528
4564
  }
4529
4565
 
4530
4566
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
4567
+ var allowedAccessLevels = [
4568
+ ClassMemberAccessLevel.PublicWritable,
4569
+ ClassMemberAccessLevel.PublicReadonly,
4570
+ ClassMemberAccessLevel.Protected
4571
+ ];
4572
+ var OUTPUT_INITIALIZER_FNS = [
4573
+ {
4574
+ functionName: "output",
4575
+ owningModule: "@angular/core",
4576
+ allowedAccessLevels
4577
+ },
4578
+ {
4579
+ functionName: "outputFromObservable",
4580
+ owningModule: "@angular/core/rxjs-interop",
4581
+ allowedAccessLevels
4582
+ }
4583
+ ];
4531
4584
  function tryParseInitializerBasedOutput(member, reflector, importTracker) {
4532
4585
  var _a;
4533
- const output = tryParseInitializerApiMember([
4534
- { functionName: "output", owningModule: "@angular/core" },
4535
- { functionName: "outputFromObservable", owningModule: "@angular/core/rxjs-interop" }
4536
- ], member, reflector, importTracker);
4586
+ if (member.value === null) {
4587
+ return null;
4588
+ }
4589
+ const output = tryParseInitializerApi(OUTPUT_INITIALIZER_FNS, member.value, reflector, importTracker);
4537
4590
  if (output === null) {
4538
4591
  return null;
4539
4592
  }
4540
4593
  if (output.isRequired) {
4541
4594
  throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_NO_REQUIRED_FUNCTION, output.call, `Output does not support ".required()".`);
4542
4595
  }
4596
+ validateAccessOfInitializerApiMember(output, member);
4543
4597
  const optionsNode = output.api.functionName === "output" ? output.call.arguments[0] : output.call.arguments[1];
4544
4598
  const options = optionsNode !== void 0 ? parseAndValidateInputAndOutputOptions(optionsNode) : null;
4545
4599
  const classPropertyName = member.name;
@@ -4557,13 +4611,26 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
4557
4611
  import { createMayBeForwardRefExpression, outputAst as o } from "@angular/compiler";
4558
4612
  import ts21 from "typescript";
4559
4613
  var queryFunctionNames = ["viewChild", "viewChildren", "contentChild", "contentChildren"];
4614
+ var QUERY_INITIALIZER_FNS = queryFunctionNames.map((fnName) => ({
4615
+ functionName: fnName,
4616
+ owningModule: "@angular/core",
4617
+ allowedAccessLevels: [
4618
+ ClassMemberAccessLevel.PublicWritable,
4619
+ ClassMemberAccessLevel.PublicReadonly,
4620
+ ClassMemberAccessLevel.Protected,
4621
+ ClassMemberAccessLevel.Private
4622
+ ]
4623
+ }));
4560
4624
  var defaultDescendantsValue = (type) => type !== "contentChildren";
4561
4625
  function tryParseSignalQueryFromInitializer(member, reflector, importTracker) {
4562
- const initializerFns = queryFunctionNames.map((fnName) => ({ functionName: fnName, owningModule: "@angular/core" }));
4563
- const query = tryParseInitializerApiMember(initializerFns, member, reflector, importTracker);
4626
+ if (member.value === null) {
4627
+ return null;
4628
+ }
4629
+ const query = tryParseInitializerApi(QUERY_INITIALIZER_FNS, member.value, reflector, importTracker);
4564
4630
  if (query === null) {
4565
4631
  return null;
4566
4632
  }
4633
+ validateAccessOfInitializerApiMember(query, member);
4567
4634
  const { functionName } = query.api;
4568
4635
  const isSingleQuery = functionName === "viewChild" || functionName === "contentChild";
4569
4636
  const predicateNode = query.call.arguments[0];
@@ -7573,17 +7640,17 @@ var ComponentDecoratorHandler = class {
7573
7640
  if (analysis.template.errors !== null && analysis.template.errors.length > 0) {
7574
7641
  return [];
7575
7642
  }
7576
- const deferrableTypes = this.collectDeferredSymbols(resolution);
7643
+ const perComponentDeferredDeps = this.resolveAllDeferredDependencies(resolution);
7577
7644
  const meta = {
7578
7645
  ...analysis.meta,
7579
7646
  ...resolution,
7580
7647
  defer: this.compileDeferBlocks(resolution)
7581
7648
  };
7582
7649
  const fac = compileNgFactoryDefField(toFactoryMetadata(meta, FactoryTarget3.Component));
7583
- removeDeferrableTypesFromComponentDecorator(analysis, deferrableTypes);
7650
+ removeDeferrableTypesFromComponentDecorator(analysis, perComponentDeferredDeps);
7584
7651
  const def = compileComponentFromMetadata(meta, pool, makeBindingParser2());
7585
7652
  const inputTransformFields = compileInputTransformFields(analysis.inputs);
7586
- const classMetadata = analysis.classMetadata !== null ? compileComponentClassMetadata(analysis.classMetadata, deferrableTypes).toStmt() : null;
7653
+ const classMetadata = analysis.classMetadata !== null ? compileComponentClassMetadata(analysis.classMetadata, perComponentDeferredDeps).toStmt() : null;
7587
7654
  const debugInfo = analysis.classDebugInfo !== null ? compileClassDebugInfo(analysis.classDebugInfo).toStmt() : null;
7588
7655
  const deferrableImports = this.deferredSymbolTracker.getDeferrableImportDecls();
7589
7656
  return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, deferrableImports, debugInfo);
@@ -7598,6 +7665,7 @@ var ComponentDecoratorHandler = class {
7598
7665
  isInline: analysis.template.declaration.isInline,
7599
7666
  inlineTemplateLiteralExpression: analysis.template.sourceMapping.type === "direct" ? new o2.WrappedNodeExpr(analysis.template.sourceMapping.node) : null
7600
7667
  };
7668
+ const perComponentDeferredDeps = this.resolveAllDeferredDependencies(resolution);
7601
7669
  const meta = {
7602
7670
  ...analysis.meta,
7603
7671
  ...resolution,
@@ -7606,8 +7674,9 @@ var ComponentDecoratorHandler = class {
7606
7674
  const fac = compileDeclareFactory(toFactoryMetadata(meta, FactoryTarget3.Component));
7607
7675
  const inputTransformFields = compileInputTransformFields(analysis.inputs);
7608
7676
  const def = compileDeclareComponentFromMetadata(meta, analysis.template, templateInfo);
7609
- const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata3(analysis.classMetadata).toStmt() : null;
7610
- return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, null);
7677
+ const classMetadata = analysis.classMetadata !== null ? compileComponentDeclareClassMetadata(analysis.classMetadata, perComponentDeferredDeps).toStmt() : null;
7678
+ const deferrableImports = this.deferredSymbolTracker.getDeferrableImportDecls();
7679
+ return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, deferrableImports);
7611
7680
  }
7612
7681
  compileLocal(node, analysis, resolution, pool) {
7613
7682
  if (analysis.template.errors !== null && analysis.template.errors.length > 0) {
@@ -7640,7 +7709,7 @@ var ComponentDecoratorHandler = class {
7640
7709
  }
7641
7710
  return deferBlocks;
7642
7711
  }
7643
- collectDeferredSymbols(resolution) {
7712
+ resolveAllDeferredDependencies(resolution) {
7644
7713
  var _a;
7645
7714
  const deferrableTypes = [];
7646
7715
  for (const [_, deps] of resolution.deferPerBlockDependencies) {
@@ -7787,7 +7856,7 @@ var ComponentDecoratorHandler = class {
7787
7856
  throw new Error("Internal error: deferPerComponentDependencies must be present in PerComponent mode");
7788
7857
  }
7789
7858
  return {
7790
- mode: 1,
7859
+ mode,
7791
7860
  dependenciesFn: perComponentDeps.length === 0 ? null : compileDeferResolverFunction({ mode, dependencies: perComponentDeps })
7792
7861
  };
7793
7862
  }
@@ -7868,7 +7937,7 @@ function isDefaultImport(node) {
7868
7937
  }
7869
7938
 
7870
7939
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
7871
- import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
7940
+ import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
7872
7941
  import ts27 from "typescript";
7873
7942
  var InjectableDecoratorHandler = class {
7874
7943
  constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
@@ -7941,7 +8010,7 @@ var InjectableDecoratorHandler = class {
7941
8010
  return this.compile(compileNgFactoryDefField, (meta) => compileInjectable(meta, false), compileClassMetadata3, node, analysis);
7942
8011
  }
7943
8012
  compilePartial(node, analysis) {
7944
- return this.compile(compileDeclareFactory, compileDeclareInjectableFromMetadata, compileDeclareClassMetadata4, node, analysis);
8013
+ return this.compile(compileDeclareFactory, compileDeclareInjectableFromMetadata, compileDeclareClassMetadata3, node, analysis);
7945
8014
  }
7946
8015
  compileLocal(node, analysis) {
7947
8016
  return this.compile(compileNgFactoryDefField, (meta) => compileInjectable(meta, false), compileClassMetadata3, node, analysis);
@@ -8100,7 +8169,7 @@ function getDep(dep, reflector) {
8100
8169
  }
8101
8170
 
8102
8171
  // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
8103
- import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
8172
+ import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
8104
8173
  import ts28 from "typescript";
8105
8174
  var PipeSymbol = class extends SemanticSymbol {
8106
8175
  constructor(decl, name) {
@@ -8245,7 +8314,7 @@ var PipeDecoratorHandler = class {
8245
8314
  compilePartial(node, analysis) {
8246
8315
  const fac = compileDeclareFactory(toFactoryMetadata(analysis.meta, FactoryTarget5.Pipe));
8247
8316
  const def = compileDeclarePipeFromMetadata(analysis.meta);
8248
- const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata5(analysis.classMetadata).toStmt() : null;
8317
+ const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata4(analysis.classMetadata).toStmt() : null;
8249
8318
  return compileResults(fac, def, classMetadata, "\u0275pipe", null, null);
8250
8319
  }
8251
8320
  compileLocal(node, analysis) {
@@ -8286,9 +8355,14 @@ export {
8286
8355
  MetadataDtsModuleScopeResolver,
8287
8356
  LocalModuleScopeRegistry,
8288
8357
  TypeCheckScopeRegistry,
8358
+ tryParseInitializerApi,
8359
+ INPUT_INITIALIZER_FN,
8289
8360
  tryParseSignalInputMapping,
8361
+ MODEL_INITIALIZER_FN,
8290
8362
  tryParseSignalModelMapping,
8363
+ OUTPUT_INITIALIZER_FNS,
8291
8364
  tryParseInitializerBasedOutput,
8365
+ QUERY_INITIALIZER_FNS,
8292
8366
  tryParseSignalQueryFromInitializer,
8293
8367
  queryDecoratorNames,
8294
8368
  DirectiveDecoratorHandler,
@@ -8311,4 +8385,4 @@ export {
8311
8385
  * Use of this source code is governed by an MIT-style license that can be
8312
8386
  * found in the LICENSE file at https://angular.io/license
8313
8387
  */
8314
- //# sourceMappingURL=chunk-OHOBDHII.js.map
8388
+ //# sourceMappingURL=chunk-MTZKBEZU.js.map