@angular/compiler 17.1.1 → 17.1.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.
- package/esm2022/src/expression_parser/ast.mjs +2 -1
- package/esm2022/src/render3/partial/class_metadata.mjs +1 -1
- package/esm2022/src/render3/partial/directive.mjs +1 -1
- package/esm2022/src/render3/partial/factory.mjs +1 -1
- package/esm2022/src/render3/partial/injectable.mjs +1 -1
- package/esm2022/src/render3/partial/injector.mjs +1 -1
- package/esm2022/src/render3/partial/ng_module.mjs +1 -1
- package/esm2022/src/render3/partial/pipe.mjs +1 -1
- package/esm2022/src/render3/r3_control_flow.mjs +39 -7
- package/esm2022/src/render3/r3_template_transform.mjs +5 -5
- package/esm2022/src/render3/view/compiler.mjs +8 -8
- package/esm2022/src/render3/view/template.mjs +4 -3
- package/esm2022/src/render3/view/util.mjs +2 -2
- package/esm2022/src/template/pipeline/ir/src/ops/create.mjs +3 -3
- package/esm2022/src/template/pipeline/src/compilation.mjs +3 -2
- package/esm2022/src/template/pipeline/src/emit.mjs +2 -2
- package/esm2022/src/template/pipeline/src/ingest.mjs +9 -7
- package/esm2022/src/template/pipeline/src/phases/create_defer_deps_fns.mjs +6 -2
- package/esm2022/src/template_parser/binding_parser.mjs +11 -10
- package/esm2022/src/version.mjs +1 -1
- package/fesm2022/compiler.mjs +91 -49
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +8 -5
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.1.
|
|
2
|
+
* @license Angular v17.1.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -401,7 +401,7 @@ declare class BindingParser {
|
|
|
401
401
|
*/
|
|
402
402
|
private _parseTemplateBindings;
|
|
403
403
|
parseLiteralAttr(name: string, value: string | null, sourceSpan: ParseSourceSpan, absoluteOffset: number, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan): void;
|
|
404
|
-
parsePropertyBinding(name: string, expression: string, isHost: boolean, sourceSpan: ParseSourceSpan, absoluteOffset: number, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan): void;
|
|
404
|
+
parsePropertyBinding(name: string, expression: string, isHost: boolean, isPartOfAssignmentBinding: boolean, sourceSpan: ParseSourceSpan, absoluteOffset: number, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan): void;
|
|
405
405
|
parsePropertyInterpolation(name: string, value: string, sourceSpan: ParseSourceSpan, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): boolean;
|
|
406
406
|
private _parsePropertyAst;
|
|
407
407
|
private _parseAnimation;
|
|
@@ -435,7 +435,8 @@ export declare const enum BindingType {
|
|
|
435
435
|
Attribute = 1,
|
|
436
436
|
Class = 2,
|
|
437
437
|
Style = 3,
|
|
438
|
-
Animation = 4
|
|
438
|
+
Animation = 4,
|
|
439
|
+
TwoWay = 5
|
|
439
440
|
}
|
|
440
441
|
|
|
441
442
|
export declare class Block extends NodeWithI18n {
|
|
@@ -2434,7 +2435,8 @@ export declare class ParsedEvent {
|
|
|
2434
2435
|
|
|
2435
2436
|
export declare const enum ParsedEventType {
|
|
2436
2437
|
Regular = 0,
|
|
2437
|
-
Animation = 1
|
|
2438
|
+
Animation = 1,
|
|
2439
|
+
TwoWay = 2
|
|
2438
2440
|
}
|
|
2439
2441
|
|
|
2440
2442
|
export declare interface ParsedHostBindings {
|
|
@@ -2468,7 +2470,8 @@ export declare class ParsedProperty {
|
|
|
2468
2470
|
export declare enum ParsedPropertyType {
|
|
2469
2471
|
DEFAULT = 0,
|
|
2470
2472
|
LITERAL_ATTR = 1,
|
|
2471
|
-
ANIMATION = 2
|
|
2473
|
+
ANIMATION = 2,
|
|
2474
|
+
TWO_WAY = 3
|
|
2472
2475
|
}
|
|
2473
2476
|
|
|
2474
2477
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.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": "17.1.
|
|
14
|
+
"@angular/core": "17.1.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"@angular/core": {
|