@angular/compiler 19.2.0-next.3 → 19.2.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.0-next.3
2
+ * @license Angular v19.2.0
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -3059,10 +3059,6 @@ class Identifiers {
3059
3059
  name: 'ɵɵHostDirectivesFeature',
3060
3060
  moduleName: CORE,
3061
3061
  };
3062
- static InputTransformsFeatureFeature = {
3063
- name: 'ɵɵInputTransformsFeature',
3064
- moduleName: CORE,
3065
- };
3066
3062
  static ExternalStylesFeature = {
3067
3063
  name: 'ɵɵExternalStylesFeature',
3068
3064
  moduleName: CORE,
@@ -28978,7 +28974,6 @@ function addFeatures(definitionMap, meta) {
28978
28974
  const features = [];
28979
28975
  const providers = meta.providers;
28980
28976
  const viewProviders = meta.viewProviders;
28981
- const inputKeys = Object.keys(meta.inputs);
28982
28977
  if (providers || viewProviders) {
28983
28978
  const args = [providers || new LiteralArrayExpr([])];
28984
28979
  if (viewProviders) {
@@ -28986,12 +28981,6 @@ function addFeatures(definitionMap, meta) {
28986
28981
  }
28987
28982
  features.push(importExpr(Identifiers.ProvidersFeature).callFn(args));
28988
28983
  }
28989
- for (const key of inputKeys) {
28990
- if (meta.inputs[key].transformFunction !== null) {
28991
- features.push(importExpr(Identifiers.InputTransformsFeatureFeature));
28992
- break;
28993
- }
28994
- }
28995
28984
  // Note: host directives feature needs to be inserted before the
28996
28985
  // inheritance feature to ensure the correct execution order.
28997
28986
  if (meta.hostDirectives?.length) {
@@ -31045,7 +31034,7 @@ function publishFacade(global) {
31045
31034
  * @description
31046
31035
  * Entry point for all public APIs of the compiler package.
31047
31036
  */
31048
- const VERSION = new Version('19.2.0-next.3');
31037
+ const VERSION = new Version('19.2.0');
31049
31038
 
31050
31039
  class CompilerConfig {
31051
31040
  defaultEncapsulation;
@@ -32913,7 +32902,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
32913
32902
  function compileDeclareClassMetadata(metadata) {
32914
32903
  const definitionMap = new DefinitionMap();
32915
32904
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
32916
- definitionMap.set('version', literal('19.2.0-next.3'));
32905
+ definitionMap.set('version', literal('19.2.0'));
32917
32906
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32918
32907
  definitionMap.set('type', metadata.type);
32919
32908
  definitionMap.set('decorators', metadata.decorators);
@@ -32931,7 +32920,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
32931
32920
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
32932
32921
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
32933
32922
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
32934
- definitionMap.set('version', literal('19.2.0-next.3'));
32923
+ definitionMap.set('version', literal('19.2.0'));
32935
32924
  definitionMap.set('ngImport', importExpr(Identifiers.core));
32936
32925
  definitionMap.set('type', metadata.type);
32937
32926
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -33026,7 +33015,7 @@ function createDirectiveDefinitionMap(meta) {
33026
33015
  const definitionMap = new DefinitionMap();
33027
33016
  const minVersion = getMinimumVersionForPartialOutput(meta);
33028
33017
  definitionMap.set('minVersion', literal(minVersion));
33029
- definitionMap.set('version', literal('19.2.0-next.3'));
33018
+ definitionMap.set('version', literal('19.2.0'));
33030
33019
  // e.g. `type: MyDirective`
33031
33020
  definitionMap.set('type', meta.type.value);
33032
33021
  if (meta.isStandalone !== undefined) {
@@ -33445,7 +33434,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
33445
33434
  function compileDeclareFactoryFunction(meta) {
33446
33435
  const definitionMap = new DefinitionMap();
33447
33436
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
33448
- definitionMap.set('version', literal('19.2.0-next.3'));
33437
+ definitionMap.set('version', literal('19.2.0'));
33449
33438
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33450
33439
  definitionMap.set('type', meta.type.value);
33451
33440
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -33480,7 +33469,7 @@ function compileDeclareInjectableFromMetadata(meta) {
33480
33469
  function createInjectableDefinitionMap(meta) {
33481
33470
  const definitionMap = new DefinitionMap();
33482
33471
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
33483
- definitionMap.set('version', literal('19.2.0-next.3'));
33472
+ definitionMap.set('version', literal('19.2.0'));
33484
33473
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33485
33474
  definitionMap.set('type', meta.type.value);
33486
33475
  // Only generate providedIn property if it has a non-null value
@@ -33531,7 +33520,7 @@ function compileDeclareInjectorFromMetadata(meta) {
33531
33520
  function createInjectorDefinitionMap(meta) {
33532
33521
  const definitionMap = new DefinitionMap();
33533
33522
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
33534
- definitionMap.set('version', literal('19.2.0-next.3'));
33523
+ definitionMap.set('version', literal('19.2.0'));
33535
33524
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33536
33525
  definitionMap.set('type', meta.type.value);
33537
33526
  definitionMap.set('providers', meta.providers);
@@ -33564,7 +33553,7 @@ function createNgModuleDefinitionMap(meta) {
33564
33553
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
33565
33554
  }
33566
33555
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
33567
- definitionMap.set('version', literal('19.2.0-next.3'));
33556
+ definitionMap.set('version', literal('19.2.0'));
33568
33557
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33569
33558
  definitionMap.set('type', meta.type.value);
33570
33559
  // We only generate the keys in the metadata if the arrays contain values.
@@ -33615,7 +33604,7 @@ function compileDeclarePipeFromMetadata(meta) {
33615
33604
  function createPipeDefinitionMap(meta) {
33616
33605
  const definitionMap = new DefinitionMap();
33617
33606
  definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
33618
- definitionMap.set('version', literal('19.2.0-next.3'));
33607
+ definitionMap.set('version', literal('19.2.0'));
33619
33608
  definitionMap.set('ngImport', importExpr(Identifiers.core));
33620
33609
  // e.g. `type: MyPipe`
33621
33610
  definitionMap.set('type', meta.type.value);