@angular/animations 16.0.0-next.1 → 16.0.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.
- package/browser/index.d.ts +1 -1
- package/browser/testing/index.d.ts +1 -1
- package/esm2020/browser/src/dsl/animation_timeline_builder.mjs +2 -1
- package/esm2020/browser/src/render/animation_driver.mjs +3 -3
- package/esm2020/browser/src/render/transition_animation_engine.mjs +2 -1
- package/esm2020/browser/src/render/web_animations/web_animations_player.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 +8 -6
- package/fesm2015/browser.mjs.map +1 -1
- package/fesm2020/animations.mjs +1 -1
- package/fesm2020/browser/testing.mjs +1 -1
- package/fesm2020/browser.mjs +8 -6
- 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 v16.0.0-next.
|
|
2
|
+
* @license Angular v16.0.0-next.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -550,9 +550,9 @@ class NoopAnimationDriver {
|
|
|
550
550
|
return new NoopAnimationPlayer(duration, delay);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
NoopAnimationDriver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
554
|
-
NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
553
|
+
NoopAnimationDriver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
554
|
+
NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: NoopAnimationDriver });
|
|
555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: NoopAnimationDriver, decorators: [{
|
|
556
556
|
type: Injectable
|
|
557
557
|
}] });
|
|
558
558
|
/**
|
|
@@ -1977,6 +1977,7 @@ class TimelineBuilder {
|
|
|
1977
1977
|
this.startTime = startTime;
|
|
1978
1978
|
this._elementTimelineStylesLookup = _elementTimelineStylesLookup;
|
|
1979
1979
|
this.duration = 0;
|
|
1980
|
+
this.easing = null;
|
|
1980
1981
|
this._previousKeyframe = new Map();
|
|
1981
1982
|
this._currentKeyframe = new Map();
|
|
1982
1983
|
this._keyframes = new Map();
|
|
@@ -3955,6 +3956,7 @@ class TransitionAnimationPlayer {
|
|
|
3955
3956
|
this._containsRealPlayer = false;
|
|
3956
3957
|
this._queuedCallbacks = new Map();
|
|
3957
3958
|
this.destroyed = false;
|
|
3959
|
+
this.parentPlayer = null;
|
|
3958
3960
|
this.markedForDestroy = false;
|
|
3959
3961
|
this.disabled = false;
|
|
3960
3962
|
this.queued = true;
|
|
@@ -4412,8 +4414,8 @@ class WebAnimationsPlayer {
|
|
|
4412
4414
|
return;
|
|
4413
4415
|
this._initialized = true;
|
|
4414
4416
|
const keyframes = this.keyframes;
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
+
// @ts-expect-error overwriting a readonly property
|
|
4418
|
+
this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options);
|
|
4417
4419
|
this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map();
|
|
4418
4420
|
this.domPlayer.addEventListener('finish', () => this._onFinish());
|
|
4419
4421
|
}
|