@angular/compiler-cli 14.1.0-next.4 → 14.1.0-rc.0

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 (83) hide show
  1. package/bundles/{chunk-JRBVL2HZ.js → chunk-24DFPZCS.js} +8 -2
  2. package/bundles/chunk-24DFPZCS.js.map +6 -0
  3. package/bundles/{chunk-W6KM7BUM.js → chunk-4JF5LVDW.js} +5 -8
  4. package/bundles/chunk-4JF5LVDW.js.map +6 -0
  5. package/bundles/{chunk-R4NY3TJC.js → chunk-ACXPVP2W.js} +1 -1
  6. package/bundles/chunk-ACXPVP2W.js.map +6 -0
  7. package/bundles/{chunk-TUMJDJFX.js → chunk-ATB3HJXN.js} +8 -11
  8. package/bundles/chunk-ATB3HJXN.js.map +6 -0
  9. package/bundles/{chunk-WGBFSDVQ.js → chunk-CYVTLM4Z.js} +2 -6
  10. package/bundles/chunk-CYVTLM4Z.js.map +6 -0
  11. package/bundles/{chunk-LX5Q27EF.js → chunk-E7NQQTT7.js} +1 -1
  12. package/bundles/{chunk-LX5Q27EF.js.map → chunk-E7NQQTT7.js.map} +1 -1
  13. package/bundles/{chunk-NJ7YQMH6.js → chunk-F2UCYAES.js} +19 -23
  14. package/bundles/chunk-F2UCYAES.js.map +6 -0
  15. package/bundles/{chunk-OLGEBPBY.js → chunk-FM6NPN5V.js} +3 -3
  16. package/bundles/{chunk-OLGEBPBY.js.map → chunk-FM6NPN5V.js.map} +0 -0
  17. package/bundles/{chunk-JXRNV3VY.js → chunk-GDAOEMFN.js} +11 -12
  18. package/bundles/chunk-GDAOEMFN.js.map +6 -0
  19. package/bundles/{chunk-QEIAOLAL.js → chunk-J6ZMRNVQ.js} +5 -9
  20. package/bundles/chunk-J6ZMRNVQ.js.map +6 -0
  21. package/bundles/{chunk-RUNC33XY.js → chunk-LPUQQ2CH.js} +56 -49
  22. package/bundles/chunk-LPUQQ2CH.js.map +6 -0
  23. package/bundles/{chunk-2IMT6JFI.js → chunk-NFCN3OZI.js} +1 -1
  24. package/bundles/chunk-NFCN3OZI.js.map +6 -0
  25. package/bundles/{chunk-T7MYRXIE.js → chunk-TOKOIIBI.js} +2 -2
  26. package/bundles/chunk-TOKOIIBI.js.map +6 -0
  27. package/bundles/{chunk-K4XEMWX4.js → chunk-WAXJ3P3Y.js} +213 -93
  28. package/bundles/chunk-WAXJ3P3Y.js.map +6 -0
  29. package/bundles/{chunk-GMSUYBZP.js → chunk-XYNRD7NE.js} +1 -33
  30. package/bundles/{chunk-GMSUYBZP.js.map → chunk-XYNRD7NE.js.map} +0 -0
  31. package/bundles/index.js +11 -13
  32. package/bundles/index.js.map +1 -1
  33. package/bundles/linker/babel/index.js +13 -17
  34. package/bundles/linker/babel/index.js.map +1 -1
  35. package/bundles/linker/index.js +5 -5
  36. package/bundles/ngcc/index.js +11 -11
  37. package/bundles/ngcc/main-ngcc.js +12 -12
  38. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +11 -11
  39. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
  40. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +3 -3
  41. package/bundles/private/bazel.js +2 -2
  42. package/bundles/private/localize.js +4 -4
  43. package/bundles/private/migrations.js +6 -6
  44. package/bundles/private/tooling.js +3 -3
  45. package/bundles/src/bin/ng_xi18n.js +9 -12
  46. package/bundles/src/bin/ng_xi18n.js.map +1 -1
  47. package/bundles/src/bin/ngc.js +8 -8
  48. package/bundles_metadata.json +1 -1
  49. package/linker/src/linker_import_generator.d.ts +1 -1
  50. package/ngcc/src/host/commonjs_umd_utils.d.ts +2 -2
  51. package/ngcc/src/host/esm5_host.d.ts +1 -1
  52. package/ngcc/src/packages/build_marker.d.ts +1 -1
  53. package/package.json +2 -2
  54. package/src/ngtsc/core/api/src/public_options.d.ts +1 -1
  55. package/src/ngtsc/core/src/compiler.d.ts +2 -2
  56. package/src/ngtsc/diagnostics/src/error_code.d.ts +33 -1
  57. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +4 -1
  58. package/src/ngtsc/incremental/src/state.d.ts +1 -1
  59. package/src/ngtsc/indexer/src/context.d.ts +1 -1
  60. package/src/ngtsc/metadata/src/registry.d.ts +2 -1
  61. package/src/ngtsc/perf/src/recorder.d.ts +1 -1
  62. package/src/ngtsc/reflection/src/host.d.ts +1 -1
  63. package/src/ngtsc/scope/src/dependency.d.ts +1 -1
  64. package/src/ngtsc/translator/src/api/ast_factory.d.ts +2 -2
  65. package/src/ngtsc/translator/src/import_manager.d.ts +1 -1
  66. package/src/ngtsc/typecheck/extended/api/extended_template_checker.d.ts +1 -1
  67. package/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.d.ts +11 -0
  68. package/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.d.ts +11 -0
  69. package/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.d.ts +11 -0
  70. package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
  71. package/src/transformers/api.d.ts +2 -2
  72. package/bundles/chunk-2IMT6JFI.js.map +0 -6
  73. package/bundles/chunk-JRBVL2HZ.js.map +0 -6
  74. package/bundles/chunk-JXRNV3VY.js.map +0 -6
  75. package/bundles/chunk-K4XEMWX4.js.map +0 -6
  76. package/bundles/chunk-NJ7YQMH6.js.map +0 -6
  77. package/bundles/chunk-QEIAOLAL.js.map +0 -6
  78. package/bundles/chunk-R4NY3TJC.js.map +0 -6
  79. package/bundles/chunk-RUNC33XY.js.map +0 -6
  80. package/bundles/chunk-T7MYRXIE.js.map +0 -6
  81. package/bundles/chunk-TUMJDJFX.js.map +0 -6
  82. package/bundles/chunk-W6KM7BUM.js.map +0 -6
  83. package/bundles/chunk-WGBFSDVQ.js.map +0 -6
@@ -13,7 +13,7 @@ import {
13
13
  reflectObjectLiteral,
14
14
  reflectTypeEntityToDeclaration,
15
15
  typeNodeToValueExpr
16
- } from "./chunk-2IMT6JFI.js";
16
+ } from "./chunk-NFCN3OZI.js";
17
17
  import {
18
18
  ErrorCode,
19
19
  FatalDiagnosticError,
@@ -33,20 +33,16 @@ import {
33
33
  translateExpression,
34
34
  translateStatement,
35
35
  translateType
36
- } from "./chunk-JRBVL2HZ.js";
36
+ } from "./chunk-24DFPZCS.js";
37
37
  import {
38
38
  absoluteFrom,
39
39
  absoluteFromSourceFile,
40
40
  relative
41
- } from "./chunk-T7MYRXIE.js";
41
+ } from "./chunk-TOKOIIBI.js";
42
42
  import {
43
43
  PerfEvent,
44
44
  PerfPhase
45
- } from "./chunk-R4NY3TJC.js";
46
- import {
47
- __spreadProps,
48
- __spreadValues
49
- } from "./chunk-GMSUYBZP.js";
45
+ } from "./chunk-ACXPVP2W.js";
50
46
 
51
47
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
52
48
  import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
@@ -733,7 +729,7 @@ var StaticInterpreter = class {
733
729
  } else if (isConcreteDeclaration(decl) && decl.identity !== null && decl.identity.kind === 0) {
734
730
  return this.getResolvedEnum(decl.node, decl.identity.enumMembers, context);
735
731
  }
736
- const declContext = __spreadValues(__spreadValues({}, context), joinModuleContext(context, node, decl));
732
+ const declContext = { ...context, ...joinModuleContext(context, node, decl) };
737
733
  const result = this.visitAmbiguousDeclaration(decl, declContext);
738
734
  if (result instanceof Reference) {
739
735
  if (!result.synthetic) {
@@ -825,7 +821,10 @@ var StaticInterpreter = class {
825
821
  if (decl.known !== null) {
826
822
  return resolveKnownDeclaration(decl.known);
827
823
  }
828
- const declContext = __spreadValues(__spreadValues({}, context), joinModuleContext(context, node, decl));
824
+ const declContext = {
825
+ ...context,
826
+ ...joinModuleContext(context, node, decl)
827
+ };
829
828
  return this.visitAmbiguousDeclaration(decl, declContext);
830
829
  });
831
830
  }
@@ -908,7 +907,7 @@ var StaticInterpreter = class {
908
907
  resolutionContext: lhs.bestGuessOwningModule.resolutionContext
909
908
  };
910
909
  }
911
- return this.visitFfrExpression(expr, __spreadValues(__spreadValues({}, context), contextExtension));
910
+ return this.visitFfrExpression(expr, { ...context, ...contextExtension });
912
911
  };
913
912
  if (fn.body === null && context.foreignFunctionResolver !== void 0) {
914
913
  const unresolvable = DynamicValue.fromDynamicInput(node, DynamicValue.fromExternalReference(node.expression, lhs));
@@ -937,7 +936,7 @@ var StaticInterpreter = class {
937
936
  const ret = fn.body[0];
938
937
  const args = this.evaluateFunctionArguments(node, context);
939
938
  const newScope = /* @__PURE__ */ new Map();
940
- const calleeContext = __spreadProps(__spreadValues({}, context), { scope: newScope });
939
+ const calleeContext = { ...context, scope: newScope };
941
940
  fn.parameters.forEach((param, index) => {
942
941
  let arg = args[index];
943
942
  if (param.node.dotDotDotToken !== void 0) {
@@ -2261,7 +2260,7 @@ var DtsMetadataReader = class {
2261
2260
  const isStandalone = def.type.typeArguments.length > 7 && ((_a = readBooleanType(def.type.typeArguments[7])) != null ? _a : false);
2262
2261
  const inputs = ClassPropertyMapping.fromMappedObject(readStringMapType(def.type.typeArguments[3]));
2263
2262
  const outputs = ClassPropertyMapping.fromMappedObject(readStringMapType(def.type.typeArguments[4]));
2264
- return __spreadProps(__spreadValues({
2263
+ return {
2265
2264
  kind: MetaKind.Directive,
2266
2265
  ref,
2267
2266
  name: clazz.name.text,
@@ -2270,8 +2269,8 @@ var DtsMetadataReader = class {
2270
2269
  exportAs: readStringArrayType(def.type.typeArguments[2]),
2271
2270
  inputs,
2272
2271
  outputs,
2273
- queries: readStringArrayType(def.type.typeArguments[5])
2274
- }, extractDirectiveTypeCheckMeta(clazz, inputs, this.reflector)), {
2272
+ queries: readStringArrayType(def.type.typeArguments[5]),
2273
+ ...extractDirectiveTypeCheckMeta(clazz, inputs, this.reflector),
2275
2274
  baseClass: readBaseClass2(clazz, this.checker, this.reflector),
2276
2275
  isPoisoned: false,
2277
2276
  isStructural,
@@ -2279,7 +2278,7 @@ var DtsMetadataReader = class {
2279
2278
  isStandalone,
2280
2279
  imports: null,
2281
2280
  schemas: null
2282
- });
2281
+ };
2283
2282
  }
2284
2283
  getPipeMetadata(ref) {
2285
2284
  var _a;
@@ -2374,7 +2373,8 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
2374
2373
  }
2375
2374
  };
2376
2375
  addMetadata(topMeta);
2377
- return __spreadProps(__spreadValues({}, topMeta), {
2376
+ return {
2377
+ ...topMeta,
2378
2378
  inputs,
2379
2379
  outputs,
2380
2380
  coercedInputFields,
@@ -2383,7 +2383,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
2383
2383
  stringLiteralInputFields,
2384
2384
  baseClass: isDynamic ? "dynamic" : null,
2385
2385
  isStructural
2386
- });
2386
+ };
2387
2387
  }
2388
2388
 
2389
2389
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
@@ -2611,9 +2611,10 @@ var MetadataDtsModuleScopeResolver = class {
2611
2611
  if (alias === null) {
2612
2612
  return dirOrPipe;
2613
2613
  }
2614
- return __spreadProps(__spreadValues({}, dirOrPipe), {
2614
+ return {
2615
+ ...dirOrPipe,
2615
2616
  ref: ref.cloneWithAlias(alias)
2616
- });
2617
+ };
2617
2618
  }
2618
2619
  };
2619
2620
 
@@ -2790,7 +2791,7 @@ var LocalModuleScopeRegistry = class {
2790
2791
  isPoisoned = true;
2791
2792
  continue;
2792
2793
  }
2793
- compilationDirectives.set(decl.node, __spreadProps(__spreadValues({}, directive), { ref: decl }));
2794
+ compilationDirectives.set(decl.node, { ...directive, ref: decl });
2794
2795
  if (directive.isPoisoned) {
2795
2796
  isPoisoned = true;
2796
2797
  }
@@ -2800,7 +2801,7 @@ var LocalModuleScopeRegistry = class {
2800
2801
  isPoisoned = true;
2801
2802
  continue;
2802
2803
  }
2803
- compilationPipes.set(decl.node, __spreadProps(__spreadValues({}, pipe), { ref: decl }));
2804
+ compilationPipes.set(decl.node, { ...pipe, ref: decl });
2804
2805
  } else {
2805
2806
  const errorNode = decl.getOriginForDiagnostics(ngModule.rawDeclarations);
2806
2807
  diagnostics.push(makeDiagnostic(ErrorCode.NGMODULE_INVALID_DECLARATION, errorNode, `The class '${decl.node.name.text}' is listed in the declarations of the NgModule '${ngModule.ref.node.name.text}', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.`, [makeRelatedInformation(decl.node.name, `'${decl.node.name.text}' is declared here.`)]));
@@ -4075,8 +4076,8 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, isCore
4075
4076
  const usesInheritance = reflector.hasBaseClass(clazz);
4076
4077
  const type = wrapTypeReference(reflector, clazz);
4077
4078
  const internalType = new WrappedNodeExpr4(reflector.getInternalNameOfClass(clazz));
4078
- const inputs = ClassPropertyMapping.fromMappedObject(__spreadValues(__spreadValues({}, inputsFromMeta), inputsFromFields));
4079
- const outputs = ClassPropertyMapping.fromMappedObject(__spreadValues(__spreadValues({}, outputsFromMeta), outputsFromFields));
4079
+ const inputs = ClassPropertyMapping.fromMappedObject({ ...inputsFromMeta, ...inputsFromFields });
4080
+ const outputs = ClassPropertyMapping.fromMappedObject({ ...outputsFromMeta, ...outputsFromFields });
4080
4081
  const metadata = {
4081
4082
  name: clazz.name.text,
4082
4083
  deps: ctorDeps,
@@ -4516,7 +4517,7 @@ var DirectiveDecoratorHandler = class {
4516
4517
  }
4517
4518
  register(node, analysis) {
4518
4519
  const ref = new Reference(node);
4519
- this.metaRegistry.registerDirectiveMetadata(__spreadProps(__spreadValues({
4520
+ this.metaRegistry.registerDirectiveMetadata({
4520
4521
  kind: MetaKind.Directive,
4521
4522
  ref,
4522
4523
  name: node.name.text,
@@ -4526,15 +4527,15 @@ var DirectiveDecoratorHandler = class {
4526
4527
  outputs: analysis.outputs,
4527
4528
  queries: analysis.meta.queries.map((query) => query.propertyName),
4528
4529
  isComponent: false,
4529
- baseClass: analysis.baseClass
4530
- }, analysis.typeCheckMeta), {
4530
+ baseClass: analysis.baseClass,
4531
+ ...analysis.typeCheckMeta,
4531
4532
  isPoisoned: analysis.isPoisoned,
4532
4533
  isStructural: analysis.isStructural,
4533
4534
  animationTriggerNames: null,
4534
4535
  isStandalone: analysis.meta.isStandalone,
4535
4536
  imports: null,
4536
4537
  schemas: null
4537
- }));
4538
+ });
4538
4539
  this.injectableRegistry.registerInjectable(node);
4539
4540
  }
4540
4541
  resolve(node, analysis, symbol) {
@@ -5007,9 +5008,10 @@ var NgModuleDecoratorHandler = class {
5007
5008
  }
5008
5009
  compileFull(node, { inj, mod, fac, classMetadata, declarations, remoteScopesMayRequireCycleProtection }, { injectorImports }) {
5009
5010
  const factoryFn = compileNgFactoryDefField(fac);
5010
- const ngInjectorDef = compileInjector(__spreadProps(__spreadValues({}, inj), {
5011
+ const ngInjectorDef = compileInjector({
5012
+ ...inj,
5011
5013
  imports: injectorImports
5012
- }));
5014
+ });
5013
5015
  const ngModuleDef = compileNgModule(mod);
5014
5016
  const statements = ngModuleDef.statements;
5015
5017
  const metadata = classMetadata !== null ? compileClassMetadata2(classMetadata) : null;
@@ -5019,9 +5021,10 @@ var NgModuleDecoratorHandler = class {
5019
5021
  }
5020
5022
  compilePartial(node, { inj, fac, mod, classMetadata }, { injectorImports }) {
5021
5023
  const factoryFn = compileDeclareFactory(fac);
5022
- const injectorDef = compileDeclareInjectorFromMetadata(__spreadProps(__spreadValues({}, inj), {
5024
+ const injectorDef = compileDeclareInjectorFromMetadata({
5025
+ ...inj,
5023
5026
  imports: injectorImports
5024
- }));
5027
+ });
5025
5028
  const ngModuleDef = compileDeclareNgModuleFromMetadata(mod);
5026
5029
  const metadata = classMetadata !== null ? compileDeclareClassMetadata2(classMetadata) : null;
5027
5030
  this.insertMetadataStatement(ngModuleDef.statements, metadata);
@@ -5212,17 +5215,19 @@ function extractTemplate(node, template, evaluator, depTracker, resourceLoader,
5212
5215
  };
5213
5216
  sourceMapUrl = null;
5214
5217
  }
5215
- return __spreadProps(__spreadValues({}, parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedString, sourceMapUrl, options)), {
5218
+ return {
5219
+ ...parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedString, sourceMapUrl, options),
5216
5220
  content: templateContent,
5217
5221
  sourceMapping,
5218
5222
  declaration: template
5219
- });
5223
+ };
5220
5224
  } else {
5221
5225
  const templateContent = resourceLoader.load(template.resolvedTemplateUrl);
5222
5226
  if (depTracker !== null) {
5223
5227
  depTracker.addResourceDependency(node.getSourceFile(), absoluteFrom(template.resolvedTemplateUrl));
5224
5228
  }
5225
- return __spreadProps(__spreadValues({}, parseExtractedTemplate(template, templateContent, null, false, template.resolvedTemplateUrl, options)), {
5229
+ return {
5230
+ ...parseExtractedTemplate(template, templateContent, null, false, template.resolvedTemplateUrl, options),
5226
5231
  content: templateContent,
5227
5232
  sourceMapping: {
5228
5233
  type: "external",
@@ -5232,7 +5237,7 @@ function extractTemplate(node, template, evaluator, depTracker, resourceLoader,
5232
5237
  templateUrl: template.resolvedTemplateUrl
5233
5238
  },
5234
5239
  declaration: template
5235
- });
5240
+ };
5236
5241
  }
5237
5242
  }
5238
5243
  function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedString, sourceMapUrl, options) {
@@ -5257,10 +5262,11 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
5257
5262
  leadingTriviaChars: [],
5258
5263
  alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
5259
5264
  });
5260
- return __spreadProps(__spreadValues({}, parsedTemplate), {
5265
+ return {
5266
+ ...parsedTemplate,
5261
5267
  diagNodes,
5262
5268
  file: new ParseSourceFile2(sourceStr, sourceMapUrl != null ? sourceMapUrl : "")
5263
- });
5269
+ };
5264
5270
  }
5265
5271
  function parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces) {
5266
5272
  let preserveWhitespaces = defaultPreserveWhitespaces;
@@ -5399,7 +5405,7 @@ function transformDecoratorResources(dec, component, styles, template) {
5399
5405
  for (const [name, value] of metadata.entries()) {
5400
5406
  newMetadataFields.push(ts23.factory.createPropertyAssignment(name, value));
5401
5407
  }
5402
- return __spreadProps(__spreadValues({}, dec), { args: [ts23.factory.createObjectLiteralExpression(newMetadataFields)] });
5408
+ return { ...dec, args: [ts23.factory.createObjectLiteralExpression(newMetadataFields)] };
5403
5409
  }
5404
5410
  function extractComponentStyleUrls(evaluator, component) {
5405
5411
  if (!component.has("styleUrls")) {
@@ -5834,7 +5840,8 @@ var ComponentDecoratorHandler = class {
5834
5840
  baseClass: readBaseClass(node, this.reflector, this.evaluator),
5835
5841
  inputs,
5836
5842
  outputs,
5837
- meta: __spreadProps(__spreadValues({}, metadata), {
5843
+ meta: {
5844
+ ...metadata,
5838
5845
  template: {
5839
5846
  nodes: template.nodes,
5840
5847
  ngContentSelectors: template.ngContentSelectors
@@ -5846,7 +5853,7 @@ var ComponentDecoratorHandler = class {
5846
5853
  viewProviders: wrappedViewProviders,
5847
5854
  i18nUseExternalIds: this.i18nUseExternalIds,
5848
5855
  relativeContextFilePath
5849
- }),
5856
+ },
5850
5857
  typeCheckMeta: extractDirectiveTypeCheckMeta(node, inputs, this.reflector),
5851
5858
  classMetadata: extractClassMetadata(node, this.reflector, this.isCore, this.annotateForClosureCompiler, (dec) => transformDecoratorResources(dec, component, styles, template)),
5852
5859
  template,
@@ -5877,7 +5884,7 @@ var ComponentDecoratorHandler = class {
5877
5884
  }
5878
5885
  register(node, analysis) {
5879
5886
  const ref = new Reference(node);
5880
- this.metaRegistry.registerDirectiveMetadata(__spreadProps(__spreadValues({
5887
+ this.metaRegistry.registerDirectiveMetadata({
5881
5888
  kind: MetaKind.Directive,
5882
5889
  ref,
5883
5890
  name: node.name.text,
@@ -5887,15 +5894,15 @@ var ComponentDecoratorHandler = class {
5887
5894
  outputs: analysis.outputs,
5888
5895
  queries: analysis.meta.queries.map((query) => query.propertyName),
5889
5896
  isComponent: true,
5890
- baseClass: analysis.baseClass
5891
- }, analysis.typeCheckMeta), {
5897
+ baseClass: analysis.baseClass,
5898
+ ...analysis.typeCheckMeta,
5892
5899
  isPoisoned: analysis.isPoisoned,
5893
5900
  isStructural: false,
5894
5901
  isStandalone: analysis.meta.isStandalone,
5895
5902
  imports: analysis.resolvedImports,
5896
5903
  animationTriggerNames: analysis.animationTriggerNames,
5897
5904
  schemas: analysis.schemas
5898
- }));
5905
+ });
5899
5906
  this.resourceRegistry.registerResources(analysis.resources, node);
5900
5907
  this.injectableRegistry.registerInjectable(node);
5901
5908
  }
@@ -6148,7 +6155,7 @@ var ComponentDecoratorHandler = class {
6148
6155
  if (analysis.template.errors !== null && analysis.template.errors.length > 0) {
6149
6156
  return [];
6150
6157
  }
6151
- const meta = __spreadValues(__spreadValues({}, analysis.meta), resolution);
6158
+ const meta = { ...analysis.meta, ...resolution };
6152
6159
  const fac = compileNgFactoryDefField(toFactoryMetadata(meta, FactoryTarget3.Component));
6153
6160
  const def = compileComponentFromMetadata(meta, pool, makeBindingParser2());
6154
6161
  const classMetadata = analysis.classMetadata !== null ? compileClassMetadata3(analysis.classMetadata).toStmt() : null;
@@ -6164,7 +6171,7 @@ var ComponentDecoratorHandler = class {
6164
6171
  isInline: analysis.template.declaration.isInline,
6165
6172
  inlineTemplateLiteralExpression: analysis.template.sourceMapping.type === "direct" ? new WrappedNodeExpr7(analysis.template.sourceMapping.node) : null
6166
6173
  };
6167
- const meta = __spreadValues(__spreadValues({}, analysis.meta), resolution);
6174
+ const meta = { ...analysis.meta, ...resolution };
6168
6175
  const fac = compileDeclareFactory(toFactoryMetadata(meta, FactoryTarget3.Component));
6169
6176
  const def = compileDeclareComponentFromMetadata(meta, analysis.template, templateInfo);
6170
6177
  const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata3(analysis.classMetadata).toStmt() : null;
@@ -6269,7 +6276,7 @@ var InjectableDecoratorHandler = class {
6269
6276
  const results = [];
6270
6277
  if (analysis.needsFactory) {
6271
6278
  const meta = analysis.meta;
6272
- const factoryRes = compileFactoryFn(toFactoryMetadata(__spreadProps(__spreadValues({}, meta), { deps: analysis.ctorDeps }), FactoryTarget4.Injectable));
6279
+ const factoryRes = compileFactoryFn(toFactoryMetadata({ ...meta, deps: analysis.ctorDeps }, FactoryTarget4.Injectable));
6273
6280
  if (analysis.classMetadata !== null) {
6274
6281
  factoryRes.statements.push(compileClassMetadataFn(analysis.classMetadata).toStmt());
6275
6282
  }
@@ -6593,4 +6600,4 @@ export {
6593
6600
  * Use of this source code is governed by an MIT-style license that can be
6594
6601
  * found in the LICENSE file at https://angular.io/license
6595
6602
  */
6596
- //# sourceMappingURL=chunk-RUNC33XY.js.map
6603
+ //# sourceMappingURL=chunk-LPUQQ2CH.js.map