@angular/compiler 20.2.0-next.1 → 20.2.0-next.3
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/fesm2022/compiler.mjs +698 -186
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +15 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.2.0-next.
|
|
2
|
+
* @license Angular v20.2.0-next.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -2033,18 +2033,21 @@ declare class ParsedProperty {
|
|
|
2033
2033
|
valueSpan: ParseSourceSpan$1 | undefined;
|
|
2034
2034
|
readonly isLiteral: boolean;
|
|
2035
2035
|
readonly isLegacyAnimation: boolean;
|
|
2036
|
+
readonly isAnimation: boolean;
|
|
2036
2037
|
constructor(name: string, expression: ASTWithSource, type: ParsedPropertyType, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1 | undefined);
|
|
2037
2038
|
}
|
|
2038
2039
|
declare enum ParsedPropertyType {
|
|
2039
2040
|
DEFAULT = 0,
|
|
2040
2041
|
LITERAL_ATTR = 1,
|
|
2041
2042
|
LEGACY_ANIMATION = 2,
|
|
2042
|
-
TWO_WAY = 3
|
|
2043
|
+
TWO_WAY = 3,
|
|
2044
|
+
ANIMATION = 4
|
|
2043
2045
|
}
|
|
2044
2046
|
declare enum ParsedEventType {
|
|
2045
2047
|
Regular = 0,
|
|
2046
2048
|
LegacyAnimation = 1,
|
|
2047
|
-
TwoWay = 2
|
|
2049
|
+
TwoWay = 2,
|
|
2050
|
+
Animation = 3
|
|
2048
2051
|
}
|
|
2049
2052
|
declare class ParsedEvent {
|
|
2050
2053
|
name: string;
|
|
@@ -2074,7 +2077,8 @@ declare enum BindingType {
|
|
|
2074
2077
|
Class = 2,
|
|
2075
2078
|
Style = 3,
|
|
2076
2079
|
LegacyAnimation = 4,
|
|
2077
|
-
TwoWay = 5
|
|
2080
|
+
TwoWay = 5,
|
|
2081
|
+
Animation = 6
|
|
2078
2082
|
}
|
|
2079
2083
|
declare class BoundElementProperty {
|
|
2080
2084
|
name: string;
|
|
@@ -4499,6 +4503,7 @@ declare class BindingParser {
|
|
|
4499
4503
|
parsePropertyBinding(name: string, expression: string, isHost: boolean, isPartOfAssignmentBinding: boolean, sourceSpan: ParseSourceSpan$1, absoluteOffset: number, valueSpan: ParseSourceSpan$1 | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan$1): void;
|
|
4500
4504
|
parsePropertyInterpolation(name: string, value: string, sourceSpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1 | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan$1, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): boolean;
|
|
4501
4505
|
private _parsePropertyAst;
|
|
4506
|
+
private _parseAnimation;
|
|
4502
4507
|
private _parseLegacyAnimation;
|
|
4503
4508
|
parseBinding(value: string, isHostBinding: boolean, sourceSpan: ParseSourceSpan$1, absoluteOffset: number): ASTWithSource;
|
|
4504
4509
|
createBoundElementProperty(elementSelector: string | null, boundProp: ParsedProperty, skipValidation?: boolean, mapPropertyName?: boolean): BoundElementProperty;
|
|
@@ -5218,7 +5223,12 @@ declare class Identifiers {
|
|
|
5218
5223
|
static pipeBind4: ExternalReference;
|
|
5219
5224
|
static pipeBindV: ExternalReference;
|
|
5220
5225
|
static domProperty: ExternalReference;
|
|
5226
|
+
static ariaProperty: ExternalReference;
|
|
5221
5227
|
static property: ExternalReference;
|
|
5228
|
+
static animationEnterListener: ExternalReference;
|
|
5229
|
+
static animationLeaveListener: ExternalReference;
|
|
5230
|
+
static animationEnter: ExternalReference;
|
|
5231
|
+
static animationLeave: ExternalReference;
|
|
5222
5232
|
static i18n: ExternalReference;
|
|
5223
5233
|
static i18nAttributes: ExternalReference;
|
|
5224
5234
|
static i18nExp: ExternalReference;
|
|
@@ -5297,6 +5307,7 @@ declare class Identifiers {
|
|
|
5297
5307
|
static ProvidersFeature: ExternalReference;
|
|
5298
5308
|
static HostDirectivesFeature: ExternalReference;
|
|
5299
5309
|
static ExternalStylesFeature: ExternalReference;
|
|
5310
|
+
static AnimationsFeature: ExternalReference;
|
|
5300
5311
|
static listener: ExternalReference;
|
|
5301
5312
|
static getInheritedFactory: ExternalReference;
|
|
5302
5313
|
static sanitizeHtml: ExternalReference;
|