@angular/compiler 16.1.0-next.1 → 16.1.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.1.0-next.1
2
+ * @license Angular v16.1.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.1.0-next.1
2
+ * @license Angular v16.1.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1430,6 +1430,7 @@ declare const enum InjectFlags {
1430
1430
  declare interface Input {
1431
1431
  alias?: string;
1432
1432
  required?: boolean;
1433
+ transform?: (value: any) => any;
1433
1434
  }
1434
1435
 
1435
1436
  /**
@@ -2978,7 +2979,11 @@ export declare interface R3DeclareDirectiveMetadata extends R3PartialDeclaration
2978
2979
  * binding property name and class property name if the names are different.
2979
2980
  */
2980
2981
  inputs?: {
2981
- [classPropertyName: string]: string | [string, string];
2982
+ [classPropertyName: string]: string | [
2983
+ bindingPropertyName: string,
2984
+ classPropertyName: string,
2985
+ transformFunction?: outputAst.Expression
2986
+ ];
2982
2987
  };
2983
2988
  /**
2984
2989
  * A mapping of outputs from class property names to binding property names.
@@ -3644,6 +3649,7 @@ export declare class R3Identifiers {
3644
3649
  static StandaloneFeature: outputAst.ExternalReference;
3645
3650
  static ProvidersFeature: outputAst.ExternalReference;
3646
3651
  static HostDirectivesFeature: outputAst.ExternalReference;
3652
+ static InputTransformsFeatureFeature: outputAst.ExternalReference;
3647
3653
  static listener: outputAst.ExternalReference;
3648
3654
  static getInheritedFactory: outputAst.ExternalReference;
3649
3655
  static sanitizeHtml: outputAst.ExternalReference;
@@ -3683,6 +3689,7 @@ export declare interface R3InputMetadata {
3683
3689
  classPropertyName: string;
3684
3690
  bindingPropertyName: string;
3685
3691
  required: boolean;
3692
+ transformFunction: outputAst.Expression | null;
3686
3693
  }
3687
3694
 
3688
3695
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler",
3
- "version": "16.1.0-next.1",
3
+ "version": "16.1.0-next.2",
4
4
  "description": "Angular - the compiler library",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  "tslib": "^2.3.0"
12
12
  },
13
13
  "peerDependencies": {
14
- "@angular/core": "16.1.0-next.1"
14
+ "@angular/core": "16.1.0-next.2"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "@angular/core": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.1.0-next.1
2
+ * @license Angular v16.1.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */