@angular/animations 19.1.1 → 19.1.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
CHANGED
package/fesm2022/animations.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v19.1.
|
2
|
+
* @license Angular v19.1.2
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -982,10 +982,10 @@ function stagger(timings, animation) {
|
|
982
982
|
* @publicApi
|
983
983
|
*/
|
984
984
|
class AnimationBuilder {
|
985
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
986
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
985
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.2", ngImport: i0, type: AnimationBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
986
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.2", ngImport: i0, type: AnimationBuilder, providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) });
|
987
987
|
}
|
988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.2", ngImport: i0, type: AnimationBuilder, decorators: [{
|
989
989
|
type: Injectable,
|
990
990
|
args: [{ providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) }]
|
991
991
|
}] });
|
@@ -1025,10 +1025,10 @@ class BrowserAnimationBuilder extends AnimationBuilder {
|
|
1025
1025
|
issueAnimationCommand(this._renderer, null, id, 'register', [entry]);
|
1026
1026
|
return new BrowserAnimationFactory(id, this._renderer);
|
1027
1027
|
}
|
1028
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
1029
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
1028
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.2", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1029
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.2", ngImport: i0, type: BrowserAnimationBuilder, providedIn: 'root' });
|
1030
1030
|
}
|
1031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
1031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.2", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
|
1032
1032
|
type: Injectable,
|
1033
1033
|
args: [{ providedIn: 'root' }]
|
1034
1034
|
}], ctorParameters: () => [{ type: i0.RendererFactory2 }, { type: Document, decorators: [{
|
package/fesm2022/browser.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v19.1.
|
2
|
+
* @license Angular v19.1.2
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -548,10 +548,10 @@ class NoopAnimationDriver {
|
|
548
548
|
animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {
|
549
549
|
return new NoopAnimationPlayer(duration, delay);
|
550
550
|
}
|
551
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.
|
552
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.
|
551
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.2", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
552
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.2", ngImport: i0, type: NoopAnimationDriver });
|
553
553
|
}
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.
|
554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.2", ngImport: i0, type: NoopAnimationDriver, decorators: [{
|
555
555
|
type: Injectable
|
556
556
|
}] });
|
557
557
|
/**
|
@@ -4866,6 +4866,8 @@ class AnimationRendererFactory {
|
|
4866
4866
|
* @param componentId ID of the component that is being replaced.
|
4867
4867
|
*/
|
4868
4868
|
componentReplaced(componentId) {
|
4869
|
+
// Flush the engine since the renderer destruction waits for animations to be done.
|
4870
|
+
this.engine.flush();
|
4869
4871
|
this.delegate.componentReplaced?.(componentId);
|
4870
4872
|
}
|
4871
4873
|
}
|