@angular/animations 14.2.2 → 14.2.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/browser/index.d.ts +1 -1
- package/browser/testing/index.d.ts +1 -1
- package/esm2020/browser/src/dsl/animation_timeline_builder.mjs +11 -15
- package/esm2020/browser/src/render/animation_driver.mjs +3 -3
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/animations.mjs +1 -1
- package/fesm2015/browser/testing.mjs +1 -1
- package/fesm2015/browser.mjs +15 -19
- package/fesm2015/browser.mjs.map +1 -1
- package/fesm2020/animations.mjs +1 -1
- package/fesm2020/browser/testing.mjs +1 -1
- package/fesm2020/browser.mjs +14 -18
- package/fesm2020/browser.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
package/fesm2020/animations.mjs
CHANGED
package/fesm2020/browser.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.2.
|
|
2
|
+
* @license Angular v14.2.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -578,9 +578,9 @@ class NoopAnimationDriver {
|
|
|
578
578
|
return new NoopAnimationPlayer(duration, delay);
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
NoopAnimationDriver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
582
|
-
NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
581
|
+
NoopAnimationDriver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
582
|
+
NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NoopAnimationDriver });
|
|
583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NoopAnimationDriver, decorators: [{
|
|
584
584
|
type: Injectable
|
|
585
585
|
}] });
|
|
586
586
|
/**
|
|
@@ -1685,25 +1685,21 @@ class AnimationTimelineBuilderVisitor {
|
|
|
1685
1685
|
visitAnimateRef(ast, context) {
|
|
1686
1686
|
const innerContext = context.createSubContext(ast.options);
|
|
1687
1687
|
innerContext.transformIntoNewTimeline();
|
|
1688
|
-
this.
|
|
1688
|
+
this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext);
|
|
1689
1689
|
this.visitReference(ast.animation, innerContext);
|
|
1690
1690
|
context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);
|
|
1691
1691
|
context.previousNode = ast;
|
|
1692
1692
|
}
|
|
1693
|
-
|
|
1694
|
-
const
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
}
|
|
1703
|
-
else {
|
|
1704
|
-
animationDelayValue = animationDelay;
|
|
1693
|
+
_applyAnimationRefDelays(animationsRefsOptions, context, innerContext) {
|
|
1694
|
+
for (const animationRefOptions of animationsRefsOptions) {
|
|
1695
|
+
const animationDelay = animationRefOptions?.delay;
|
|
1696
|
+
if (animationDelay) {
|
|
1697
|
+
const animationDelayValue = typeof animationDelay === 'number' ?
|
|
1698
|
+
animationDelay :
|
|
1699
|
+
resolveTimingValue(interpolateParams(animationDelay, animationRefOptions?.params ?? {}, context.errors));
|
|
1700
|
+
innerContext.delayNextStep(animationDelayValue);
|
|
1701
|
+
}
|
|
1705
1702
|
}
|
|
1706
|
-
innerContext.delayNextStep(animationDelayValue);
|
|
1707
1703
|
}
|
|
1708
1704
|
_visitSubInstructions(instructions, context, options) {
|
|
1709
1705
|
const startTime = context.currentTimeline.currentTime;
|