@angular/compiler 17.0.0-next.0 → 17.0.0-next.1

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 v17.0.0-next.0
2
+ * @license Angular v17.0.0-next.1
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 v17.0.0-next.0
2
+ * @license Angular v17.0.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1340,6 +1340,15 @@ declare class FnParam {
1340
1340
  clone(): FnParam;
1341
1341
  }
1342
1342
 
1343
+ declare interface ForLoopBlockContext {
1344
+ $index?: string;
1345
+ $first?: string;
1346
+ $last?: string;
1347
+ $even?: string;
1348
+ $odd?: string;
1349
+ $count?: string;
1350
+ }
1351
+
1343
1352
  /**
1344
1353
  * Specifies how a forward ref has been handled in a MaybeForwardRefExpression
1345
1354
  */
@@ -3719,6 +3728,7 @@ export declare class R3Identifiers {
3719
3728
  static deferPrefetchOnHover: outputAst.ExternalReference;
3720
3729
  static deferPrefetchOnInteraction: outputAst.ExternalReference;
3721
3730
  static deferPrefetchOnViewport: outputAst.ExternalReference;
3731
+ static conditional: outputAst.ExternalReference;
3722
3732
  static text: outputAst.ExternalReference;
3723
3733
  static enableBindings: outputAst.ExternalReference;
3724
3734
  static disableBindings: outputAst.ExternalReference;
@@ -4518,6 +4528,7 @@ declare namespace t {
4518
4528
  TmplAstDeferredBlock as DeferredBlock,
4519
4529
  TmplAstSwitchBlock as SwitchBlock,
4520
4530
  TmplAstSwitchBlockCase as SwitchBlockCase,
4531
+ ForLoopBlockContext,
4521
4532
  TmplAstForLoopBlock as ForLoopBlock,
4522
4533
  TmplAstForLoopBlockEmpty as ForLoopBlockEmpty,
4523
4534
  TmplAstIfBlock as IfBlock,
@@ -4801,13 +4812,14 @@ export declare class TmplAstElement implements TmplAstNode {
4801
4812
  export declare class TmplAstForLoopBlock implements TmplAstNode {
4802
4813
  itemName: string;
4803
4814
  expression: AST;
4804
- trackBy: string;
4815
+ trackBy: AST;
4816
+ contextVariables: ForLoopBlockContext | null;
4805
4817
  children: TmplAstNode[];
4806
4818
  empty: TmplAstForLoopBlockEmpty | null;
4807
4819
  sourceSpan: ParseSourceSpan;
4808
4820
  startSourceSpan: ParseSourceSpan;
4809
4821
  endSourceSpan: ParseSourceSpan | null;
4810
- constructor(itemName: string, expression: AST, trackBy: string, children: TmplAstNode[], empty: TmplAstForLoopBlockEmpty | null, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null);
4822
+ constructor(itemName: string, expression: AST, trackBy: AST, contextVariables: ForLoopBlockContext | null, children: TmplAstNode[], empty: TmplAstForLoopBlockEmpty | null, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null);
4811
4823
  visit<Result>(visitor: Visitor_3<Result>): Result;
4812
4824
  }
4813
4825
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler",
3
- "version": "17.0.0-next.0",
3
+ "version": "17.0.0-next.1",
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": "17.0.0-next.0"
14
+ "@angular/core": "17.0.0-next.1"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "@angular/core": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.0
2
+ * @license Angular v17.0.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */