@angular/animations 17.0.0-next.2 → 17.0.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.
@@ -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('17.0.0-next.2');
14
+ export const VERSION = new Version('17.0.0-next.3');
15
15
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuaW1hdGlvbnMvc3JjL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUg7Ozs7R0FJRztBQUNILE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdEMsTUFBTSxDQUFDLE1BQU0sT0FBTyxHQUFHLElBQUksT0FBTyxDQUFDLG1CQUFtQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIExMQyBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuLyoqXG4gKiBAbW9kdWxlXG4gKiBAZGVzY3JpcHRpb25cbiAqIEVudHJ5IHBvaW50IGZvciBhbGwgcHVibGljIEFQSXMgb2YgdGhlIGFuaW1hdGlvbiBwYWNrYWdlLlxuICovXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.2
2
+ * @license Angular v17.0.0-next.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.2
2
+ * @license Angular v17.0.0-next.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.0-next.2
2
+ * @license Angular v17.0.0-next.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -494,9 +494,6 @@ function hypenatePropsKeys(original) {
494
494
  return newMap;
495
495
  }
496
496
 
497
- /**
498
- * @publicApi
499
- */
500
497
  class NoopAnimationDriver {
501
498
  validateStyleProperty(prop) {
502
499
  return validateStyleProperty(prop);
@@ -520,10 +517,10 @@ class NoopAnimationDriver {
520
517
  animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {
521
518
  return new NoopAnimationPlayer(duration, delay);
522
519
  }
523
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.2", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
524
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.2", ngImport: i0, type: NoopAnimationDriver }); }
520
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.3", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
521
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.3", ngImport: i0, type: NoopAnimationDriver }); }
525
522
  }
526
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.2", ngImport: i0, type: NoopAnimationDriver, decorators: [{
523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.3", ngImport: i0, type: NoopAnimationDriver, decorators: [{
527
524
  type: Injectable
528
525
  }] });
529
526
  /**
@@ -2198,14 +2195,8 @@ class Animation {
2198
2195
  }
2199
2196
  }
2200
2197
 
2201
- /**
2202
- * @publicApi
2203
- */
2204
2198
  class AnimationStyleNormalizer {
2205
2199
  }
2206
- /**
2207
- * @publicApi
2208
- */
2209
2200
  class NoopAnimationStyleNormalizer {
2210
2201
  normalizePropertyName(propertyName, errors) {
2211
2202
  return propertyName;
@@ -4109,15 +4100,14 @@ function replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElemen
4109
4100
  }
4110
4101
 
4111
4102
  class AnimationEngine {
4112
- constructor(bodyNode, _driver, _normalizer) {
4113
- this.bodyNode = bodyNode;
4103
+ constructor(doc, _driver, _normalizer) {
4114
4104
  this._driver = _driver;
4115
4105
  this._normalizer = _normalizer;
4116
4106
  this._triggerCache = {};
4117
4107
  // this method is designed to be overridden by the code that uses this engine
4118
4108
  this.onRemovalComplete = (element, context) => { };
4119
- this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, _normalizer);
4120
- this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, _normalizer);
4109
+ this._transitionEngine = new TransitionAnimationEngine(doc.body, _driver, _normalizer);
4110
+ this._timelineEngine = new TimelineAnimationEngine(doc.body, _driver, _normalizer);
4121
4111
  this._transitionEngine.onRemovalComplete = (element, context) => this.onRemovalComplete(element, context);
4122
4112
  }
4123
4113
  registerTrigger(componentId, namespaceId, hostElement, name, metadata) {