@angular/animations 15.1.0-next.1 → 15.1.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/render/animation_driver.mjs +3 -3
- package/esm2020/browser/src/render/transition_animation_engine.mjs +8 -8
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/animations.mjs +1 -1
- package/fesm2015/browser/testing.mjs +1 -1
- package/fesm2015/browser.mjs +11 -11
- package/fesm2015/browser.mjs.map +1 -1
- package/fesm2020/animations.mjs +1 -1
- package/fesm2020/browser/testing.mjs +1 -1
- package/fesm2020/browser.mjs +11 -11
- 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 v15.0.2
|
|
2
|
+
* @license Angular v15.1.0-next.2
|
|
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: "15.1.0-next.
|
|
582
|
-
NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.
|
|
581
|
+
NoopAnimationDriver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
582
|
+
NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NoopAnimationDriver });
|
|
583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.2", ngImport: i0, type: NoopAnimationDriver, decorators: [{
|
|
584
584
|
type: Injectable
|
|
585
585
|
}] });
|
|
586
586
|
/**
|
|
@@ -2804,6 +2804,9 @@ const NULL_REMOVED_QUERIED_STATE = {
|
|
|
2804
2804
|
};
|
|
2805
2805
|
const REMOVAL_FLAG = '__ng_removed';
|
|
2806
2806
|
class StateValue {
|
|
2807
|
+
get params() {
|
|
2808
|
+
return this.options.params;
|
|
2809
|
+
}
|
|
2807
2810
|
constructor(input, namespaceId = '') {
|
|
2808
2811
|
this.namespaceId = namespaceId;
|
|
2809
2812
|
const isObj = input && input.hasOwnProperty('value');
|
|
@@ -2821,9 +2824,6 @@ class StateValue {
|
|
|
2821
2824
|
this.options.params = {};
|
|
2822
2825
|
}
|
|
2823
2826
|
}
|
|
2824
|
-
get params() {
|
|
2825
|
-
return this.options.params;
|
|
2826
|
-
}
|
|
2827
2827
|
absorbOptions(options) {
|
|
2828
2828
|
const newParams = options.params;
|
|
2829
2829
|
if (newParams) {
|
|
@@ -3194,6 +3194,10 @@ class AnimationTransitionNamespace {
|
|
|
3194
3194
|
}
|
|
3195
3195
|
}
|
|
3196
3196
|
class TransitionAnimationEngine {
|
|
3197
|
+
/** @internal */
|
|
3198
|
+
_onRemovalComplete(element, context) {
|
|
3199
|
+
this.onRemovalComplete(element, context);
|
|
3200
|
+
}
|
|
3197
3201
|
constructor(bodyNode, driver, _normalizer) {
|
|
3198
3202
|
this.bodyNode = bodyNode;
|
|
3199
3203
|
this.driver = driver;
|
|
@@ -3216,10 +3220,6 @@ class TransitionAnimationEngine {
|
|
|
3216
3220
|
// this method is designed to be overridden by the code that uses this engine
|
|
3217
3221
|
this.onRemovalComplete = (element, context) => { };
|
|
3218
3222
|
}
|
|
3219
|
-
/** @internal */
|
|
3220
|
-
_onRemovalComplete(element, context) {
|
|
3221
|
-
this.onRemovalComplete(element, context);
|
|
3222
|
-
}
|
|
3223
3223
|
get queuedPlayers() {
|
|
3224
3224
|
const players = [];
|
|
3225
3225
|
this._namespaceList.forEach(ns => {
|