@angular/animations 19.1.0-rc.0 → 19.1.1

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-rc.0
2
+ * @license Angular v19.1.1
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-rc.0
2
+ * @license Angular v19.1.1
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-rc.0
2
+ * @license Angular v19.1.1
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.0-rc.0", ngImport: i0, type: AnimationBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
986
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: AnimationBuilder, providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) });
985
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: AnimationBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
986
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: AnimationBuilder, providedIn: 'root', useFactory: () => inject(BrowserAnimationBuilder) });
987
987
  }
988
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: AnimationBuilder, decorators: [{
988
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", 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.0-rc.0", 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.0-rc.0", ngImport: i0, type: BrowserAnimationBuilder, providedIn: 'root' });
1028
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", 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.1", ngImport: i0, type: BrowserAnimationBuilder, providedIn: 'root' });
1030
1030
  }
1031
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
1031
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
1032
1032
  type: Injectable,
1033
1033
  args: [{ providedIn: 'root' }]
1034
1034
  }], ctorParameters: () => [{ type: i0.RendererFactory2 }, { type: Document, decorators: [{
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-rc.0
2
+ * @license Angular v19.1.1
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-rc.0
2
+ * @license Angular v19.1.1
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.0-rc.0", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
552
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: NoopAnimationDriver });
551
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
552
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: NoopAnimationDriver });
553
553
  }
554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: NoopAnimationDriver, decorators: [{
554
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: NoopAnimationDriver, decorators: [{
555
555
  type: Injectable
556
556
  }] });
557
557
  /**
@@ -844,20 +844,16 @@ function createListOfWarnings(warnings) {
844
844
  .join(LINE_START)}`;
845
845
  }
846
846
  function warnValidation(warnings) {
847
- (typeof ngDevMode === 'undefined' || ngDevMode) &&
848
- console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`);
847
+ console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`);
849
848
  }
850
849
  function warnTriggerBuild(name, warnings) {
851
- (typeof ngDevMode === 'undefined' || ngDevMode) &&
852
- console.warn(`The animation trigger "${name}" has built with the following warnings:${createListOfWarnings(warnings)}`);
850
+ console.warn(`The animation trigger "${name}" has built with the following warnings:${createListOfWarnings(warnings)}`);
853
851
  }
854
852
  function warnRegister(warnings) {
855
- (typeof ngDevMode === 'undefined' || ngDevMode) &&
856
- console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`);
853
+ console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`);
857
854
  }
858
855
  function triggerParsingWarnings(name, warnings) {
859
- (typeof ngDevMode === 'undefined' || ngDevMode) &&
860
- console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${createListOfWarnings(warnings)}`);
856
+ console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${createListOfWarnings(warnings)}`);
861
857
  }
862
858
  function pushUnrecognizedPropertiesWarning(warnings, props) {
863
859
  if (props.length) {
@@ -2517,8 +2513,10 @@ class TimelineAnimationEngine {
2517
2513
  throw registerFailed(errors);
2518
2514
  }
2519
2515
  else {
2520
- if (warnings.length) {
2521
- warnRegister(warnings);
2516
+ if (typeof ngDevMode === 'undefined' || ngDevMode) {
2517
+ if (warnings.length) {
2518
+ warnRegister(warnings);
2519
+ }
2522
2520
  }
2523
2521
  this._animations.set(id, ast);
2524
2522
  }
@@ -4166,8 +4164,10 @@ class AnimationEngine {
4166
4164
  if (errors.length) {
4167
4165
  throw triggerBuildFailed(name, errors);
4168
4166
  }
4169
- if (warnings.length) {
4170
- warnTriggerBuild(name, warnings);
4167
+ if (typeof ngDevMode === 'undefined' || ngDevMode) {
4168
+ if (warnings.length) {
4169
+ warnTriggerBuild(name, warnings);
4170
+ }
4171
4171
  }
4172
4172
  trigger = buildTrigger(name, ast, this._normalizer);
4173
4173
  this._triggerCache[cacheKey] = trigger;
@@ -4575,8 +4575,10 @@ class Animation {
4575
4575
  if (errors.length) {
4576
4576
  throw validationFailed(errors);
4577
4577
  }
4578
- if (warnings.length) {
4579
- warnValidation(warnings);
4578
+ if (typeof ngDevMode === 'undefined' || ngDevMode) {
4579
+ if (warnings.length) {
4580
+ warnValidation(warnings);
4581
+ }
4580
4582
  }
4581
4583
  this._animationAst = ast;
4582
4584
  }