@angular/animations 16.1.0-next.2 → 16.1.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/browser/index.d.ts +2 -2
- package/browser/testing/index.d.ts +1 -1
- package/esm2022/browser/src/render/animation_driver.mjs +3 -3
- package/esm2022/browser/src/render/animation_engine_next.mjs +3 -3
- package/esm2022/browser/src/render/transition_animation_engine.mjs +5 -7
- package/esm2022/src/version.mjs +1 -1
- package/fesm2022/animations.mjs +1 -1
- package/fesm2022/browser/testing.mjs +1 -1
- package/fesm2022/browser.mjs +10 -12
- package/fesm2022/browser.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
package/esm2022/src/version.mjs
CHANGED
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
* Entry point for all public APIs of the animation package.
|
|
12
12
|
*/
|
|
13
13
|
import { Version } from '@angular/core';
|
|
14
|
-
export const VERSION = new Version('16.1.0-next.
|
|
14
|
+
export const VERSION = new Version('16.1.0-next.3');
|
|
15
15
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuaW1hdGlvbnMvc3JjL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUg7Ozs7R0FJRztBQUNILE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdEMsTUFBTSxDQUFDLE1BQU0sT0FBTyxHQUFHLElBQUksT0FBTyxDQUFDLG1CQUFtQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIExMQyBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuLyoqXG4gKiBAbW9kdWxlXG4gKiBAZGVzY3JpcHRpb25cbiAqIEVudHJ5IHBvaW50IGZvciBhbGwgcHVibGljIEFQSXMgb2YgdGhlIGFuaW1hdGlvbiBwYWNrYWdlLlxuICovXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19
|
package/fesm2022/animations.mjs
CHANGED
package/fesm2022/browser.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.1.0-next.
|
|
2
|
+
* @license Angular v16.1.0-next.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -520,10 +520,10 @@ class NoopAnimationDriver {
|
|
|
520
520
|
animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {
|
|
521
521
|
return new NoopAnimationPlayer(duration, delay);
|
|
522
522
|
}
|
|
523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
524
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
524
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: NoopAnimationDriver }); }
|
|
525
525
|
}
|
|
526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.
|
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: NoopAnimationDriver, decorators: [{
|
|
527
527
|
type: Injectable
|
|
528
528
|
}] });
|
|
529
529
|
/**
|
|
@@ -3233,7 +3233,7 @@ class TransitionAnimationEngine {
|
|
|
3233
3233
|
removeClass(element, DISABLED_CLASSNAME);
|
|
3234
3234
|
}
|
|
3235
3235
|
}
|
|
3236
|
-
removeNode(namespaceId, element,
|
|
3236
|
+
removeNode(namespaceId, element, context) {
|
|
3237
3237
|
if (isElementNode(element)) {
|
|
3238
3238
|
const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;
|
|
3239
3239
|
if (ns) {
|
|
@@ -3242,11 +3242,9 @@ class TransitionAnimationEngine {
|
|
|
3242
3242
|
else {
|
|
3243
3243
|
this.markElementAsRemoved(namespaceId, element, false, context);
|
|
3244
3244
|
}
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
hostNS.removeNode(element, context);
|
|
3249
|
-
}
|
|
3245
|
+
const hostNS = this.namespacesByHostElement.get(element);
|
|
3246
|
+
if (hostNS && hostNS.id !== namespaceId) {
|
|
3247
|
+
hostNS.removeNode(element, context);
|
|
3250
3248
|
}
|
|
3251
3249
|
}
|
|
3252
3250
|
else {
|
|
@@ -4169,8 +4167,8 @@ class AnimationEngine {
|
|
|
4169
4167
|
onInsert(namespaceId, element, parent, insertBefore) {
|
|
4170
4168
|
this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);
|
|
4171
4169
|
}
|
|
4172
|
-
onRemove(namespaceId, element, context
|
|
4173
|
-
this._transitionEngine.removeNode(namespaceId, element,
|
|
4170
|
+
onRemove(namespaceId, element, context) {
|
|
4171
|
+
this._transitionEngine.removeNode(namespaceId, element, context);
|
|
4174
4172
|
}
|
|
4175
4173
|
disableAnimations(element, disable) {
|
|
4176
4174
|
this._transitionEngine.markElementAsDisabled(element, disable);
|