@angular/animations 8.2.1 → 8.2.5

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 v8.2.1
2
+ * @license Angular v8.2.5
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -210,6 +210,7 @@ let _contains = (/**
210
210
  * @return {?}
211
211
  */
212
212
  (elm1, elm2) => false);
213
+ const ɵ0 = _contains;
213
214
  /** @type {?} */
214
215
  let _matches = (/**
215
216
  * @param {?} element
@@ -217,6 +218,7 @@ let _matches = (/**
217
218
  * @return {?}
218
219
  */
219
220
  (element, selector) => false);
221
+ const ɵ1 = _matches;
220
222
  /** @type {?} */
221
223
  let _query = (/**
222
224
  * @param {?} element
@@ -227,6 +229,7 @@ let _query = (/**
227
229
  (element, selector, multi) => {
228
230
  return [];
229
231
  });
232
+ const ɵ2 = _query;
230
233
  // Define utility methods for browsers and platform-server(domino) where Element
231
234
  // and utility methods exist.
232
235
  /** @type {?} */
@@ -429,6 +432,58 @@ NoopAnimationDriver.decorators = [
429
432
  class AnimationDriver {
430
433
  }
431
434
  AnimationDriver.NOOP = new NoopAnimationDriver();
435
+ if (false) {
436
+ /** @type {?} */
437
+ AnimationDriver.NOOP;
438
+ /**
439
+ * @abstract
440
+ * @param {?} prop
441
+ * @return {?}
442
+ */
443
+ AnimationDriver.prototype.validateStyleProperty = function (prop) { };
444
+ /**
445
+ * @abstract
446
+ * @param {?} element
447
+ * @param {?} selector
448
+ * @return {?}
449
+ */
450
+ AnimationDriver.prototype.matchesElement = function (element, selector) { };
451
+ /**
452
+ * @abstract
453
+ * @param {?} elm1
454
+ * @param {?} elm2
455
+ * @return {?}
456
+ */
457
+ AnimationDriver.prototype.containsElement = function (elm1, elm2) { };
458
+ /**
459
+ * @abstract
460
+ * @param {?} element
461
+ * @param {?} selector
462
+ * @param {?} multi
463
+ * @return {?}
464
+ */
465
+ AnimationDriver.prototype.query = function (element, selector, multi) { };
466
+ /**
467
+ * @abstract
468
+ * @param {?} element
469
+ * @param {?} prop
470
+ * @param {?=} defaultValue
471
+ * @return {?}
472
+ */
473
+ AnimationDriver.prototype.computeStyle = function (element, prop, defaultValue) { };
474
+ /**
475
+ * @abstract
476
+ * @param {?} element
477
+ * @param {?} keyframes
478
+ * @param {?} duration
479
+ * @param {?} delay
480
+ * @param {?=} easing
481
+ * @param {?=} previousPlayers
482
+ * @param {?=} scrubberAccessRequested
483
+ * @return {?}
484
+ */
485
+ AnimationDriver.prototype.animate = function (element, keyframes, duration, delay, easing, previousPlayers, scrubberAccessRequested) { };
486
+ }
432
487
 
433
488
  /**
434
489
  * @fileoverview added by tsickle
@@ -445,6 +500,10 @@ const ENTER_CLASSNAME = 'ng-enter';
445
500
  /** @type {?} */
446
501
  const LEAVE_CLASSNAME = 'ng-leave';
447
502
  /** @type {?} */
503
+ const ENTER_SELECTOR = '.ng-enter';
504
+ /** @type {?} */
505
+ const LEAVE_SELECTOR = '.ng-leave';
506
+ /** @type {?} */
448
507
  const NG_TRIGGER_CLASSNAME = 'ng-trigger';
449
508
  /** @type {?} */
450
509
  const NG_TRIGGER_SELECTOR = '.ng-trigger';
@@ -787,6 +846,32 @@ function iteratorToArray(iterator) {
787
846
  }
788
847
  return arr;
789
848
  }
849
+ /**
850
+ * @param {?} source
851
+ * @param {?} destination
852
+ * @return {?}
853
+ */
854
+ function mergeAnimationOptions(source, destination) {
855
+ if (source.params) {
856
+ /** @type {?} */
857
+ const p0 = source.params;
858
+ if (!destination.params) {
859
+ destination.params = {};
860
+ }
861
+ /** @type {?} */
862
+ const p1 = destination.params;
863
+ Object.keys(p0).forEach((/**
864
+ * @param {?} param
865
+ * @return {?}
866
+ */
867
+ param => {
868
+ if (!p1.hasOwnProperty(param)) {
869
+ p1[param] = p0[param];
870
+ }
871
+ }));
872
+ }
873
+ return destination;
874
+ }
790
875
  /** @type {?} */
791
876
  const DASH_CASE_REGEXP = /-+([a-z0-9])/g;
792
877
  /**
@@ -1652,6 +1737,13 @@ class AnimationAstBuilderVisitor {
1652
1737
  };
1653
1738
  }
1654
1739
  }
1740
+ if (false) {
1741
+ /**
1742
+ * @type {?}
1743
+ * @private
1744
+ */
1745
+ AnimationAstBuilderVisitor.prototype._driver;
1746
+ }
1655
1747
  /**
1656
1748
  * @param {?} selector
1657
1749
  * @return {?}
@@ -1700,6 +1792,28 @@ class AnimationAstBuilderContext {
1700
1792
  this.options = null;
1701
1793
  }
1702
1794
  }
1795
+ if (false) {
1796
+ /** @type {?} */
1797
+ AnimationAstBuilderContext.prototype.queryCount;
1798
+ /** @type {?} */
1799
+ AnimationAstBuilderContext.prototype.depCount;
1800
+ /** @type {?} */
1801
+ AnimationAstBuilderContext.prototype.currentTransition;
1802
+ /** @type {?} */
1803
+ AnimationAstBuilderContext.prototype.currentQuery;
1804
+ /** @type {?} */
1805
+ AnimationAstBuilderContext.prototype.currentQuerySelector;
1806
+ /** @type {?} */
1807
+ AnimationAstBuilderContext.prototype.currentAnimateTimings;
1808
+ /** @type {?} */
1809
+ AnimationAstBuilderContext.prototype.currentTime;
1810
+ /** @type {?} */
1811
+ AnimationAstBuilderContext.prototype.collectedStyles;
1812
+ /** @type {?} */
1813
+ AnimationAstBuilderContext.prototype.options;
1814
+ /** @type {?} */
1815
+ AnimationAstBuilderContext.prototype.errors;
1816
+ }
1703
1817
  /**
1704
1818
  * @param {?} styles
1705
1819
  * @return {?}
@@ -1802,6 +1916,32 @@ function makeTimingAst(duration, delay, easing) {
1802
1916
  * @fileoverview added by tsickle
1803
1917
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1804
1918
  */
1919
+ /**
1920
+ * @record
1921
+ */
1922
+ function AnimationTimelineInstruction() { }
1923
+ if (false) {
1924
+ /** @type {?} */
1925
+ AnimationTimelineInstruction.prototype.element;
1926
+ /** @type {?} */
1927
+ AnimationTimelineInstruction.prototype.keyframes;
1928
+ /** @type {?} */
1929
+ AnimationTimelineInstruction.prototype.preStyleProps;
1930
+ /** @type {?} */
1931
+ AnimationTimelineInstruction.prototype.postStyleProps;
1932
+ /** @type {?} */
1933
+ AnimationTimelineInstruction.prototype.duration;
1934
+ /** @type {?} */
1935
+ AnimationTimelineInstruction.prototype.delay;
1936
+ /** @type {?} */
1937
+ AnimationTimelineInstruction.prototype.totalTime;
1938
+ /** @type {?} */
1939
+ AnimationTimelineInstruction.prototype.easing;
1940
+ /** @type {?|undefined} */
1941
+ AnimationTimelineInstruction.prototype.stretchStartingKeyframe;
1942
+ /** @type {?} */
1943
+ AnimationTimelineInstruction.prototype.subTimeline;
1944
+ }
1805
1945
  /**
1806
1946
  * @param {?} element
1807
1947
  * @param {?} keyframes
@@ -1872,6 +2012,13 @@ class ElementInstructionMap {
1872
2012
  */
1873
2013
  clear() { this._map.clear(); }
1874
2014
  }
2015
+ if (false) {
2016
+ /**
2017
+ * @type {?}
2018
+ * @private
2019
+ */
2020
+ ElementInstructionMap.prototype._map;
2021
+ }
1875
2022
 
1876
2023
  /**
1877
2024
  * @fileoverview added by tsickle
@@ -2616,6 +2763,49 @@ class AnimationTimelineContext {
2616
2763
  return results;
2617
2764
  }
2618
2765
  }
2766
+ if (false) {
2767
+ /** @type {?} */
2768
+ AnimationTimelineContext.prototype.parentContext;
2769
+ /** @type {?} */
2770
+ AnimationTimelineContext.prototype.currentTimeline;
2771
+ /** @type {?} */
2772
+ AnimationTimelineContext.prototype.currentAnimateTimings;
2773
+ /** @type {?} */
2774
+ AnimationTimelineContext.prototype.previousNode;
2775
+ /** @type {?} */
2776
+ AnimationTimelineContext.prototype.subContextCount;
2777
+ /** @type {?} */
2778
+ AnimationTimelineContext.prototype.options;
2779
+ /** @type {?} */
2780
+ AnimationTimelineContext.prototype.currentQueryIndex;
2781
+ /** @type {?} */
2782
+ AnimationTimelineContext.prototype.currentQueryTotal;
2783
+ /** @type {?} */
2784
+ AnimationTimelineContext.prototype.currentStaggerTime;
2785
+ /**
2786
+ * @type {?}
2787
+ * @private
2788
+ */
2789
+ AnimationTimelineContext.prototype._driver;
2790
+ /** @type {?} */
2791
+ AnimationTimelineContext.prototype.element;
2792
+ /** @type {?} */
2793
+ AnimationTimelineContext.prototype.subInstructions;
2794
+ /**
2795
+ * @type {?}
2796
+ * @private
2797
+ */
2798
+ AnimationTimelineContext.prototype._enterClassName;
2799
+ /**
2800
+ * @type {?}
2801
+ * @private
2802
+ */
2803
+ AnimationTimelineContext.prototype._leaveClassName;
2804
+ /** @type {?} */
2805
+ AnimationTimelineContext.prototype.errors;
2806
+ /** @type {?} */
2807
+ AnimationTimelineContext.prototype.timelines;
2808
+ }
2619
2809
  class TimelineBuilder {
2620
2810
  /**
2621
2811
  * @param {?} _driver
@@ -2934,6 +3124,71 @@ class TimelineBuilder {
2934
3124
  return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);
2935
3125
  }
2936
3126
  }
3127
+ if (false) {
3128
+ /** @type {?} */
3129
+ TimelineBuilder.prototype.duration;
3130
+ /** @type {?} */
3131
+ TimelineBuilder.prototype.easing;
3132
+ /**
3133
+ * @type {?}
3134
+ * @private
3135
+ */
3136
+ TimelineBuilder.prototype._previousKeyframe;
3137
+ /**
3138
+ * @type {?}
3139
+ * @private
3140
+ */
3141
+ TimelineBuilder.prototype._currentKeyframe;
3142
+ /**
3143
+ * @type {?}
3144
+ * @private
3145
+ */
3146
+ TimelineBuilder.prototype._keyframes;
3147
+ /**
3148
+ * @type {?}
3149
+ * @private
3150
+ */
3151
+ TimelineBuilder.prototype._styleSummary;
3152
+ /**
3153
+ * @type {?}
3154
+ * @private
3155
+ */
3156
+ TimelineBuilder.prototype._localTimelineStyles;
3157
+ /**
3158
+ * @type {?}
3159
+ * @private
3160
+ */
3161
+ TimelineBuilder.prototype._globalTimelineStyles;
3162
+ /**
3163
+ * @type {?}
3164
+ * @private
3165
+ */
3166
+ TimelineBuilder.prototype._pendingStyles;
3167
+ /**
3168
+ * @type {?}
3169
+ * @private
3170
+ */
3171
+ TimelineBuilder.prototype._backFill;
3172
+ /**
3173
+ * @type {?}
3174
+ * @private
3175
+ */
3176
+ TimelineBuilder.prototype._currentEmptyStepKeyframe;
3177
+ /**
3178
+ * @type {?}
3179
+ * @private
3180
+ */
3181
+ TimelineBuilder.prototype._driver;
3182
+ /** @type {?} */
3183
+ TimelineBuilder.prototype.element;
3184
+ /** @type {?} */
3185
+ TimelineBuilder.prototype.startTime;
3186
+ /**
3187
+ * @type {?}
3188
+ * @private
3189
+ */
3190
+ TimelineBuilder.prototype._elementTimelineStylesLookup;
3191
+ }
2937
3192
  class SubTimelineBuilder extends TimelineBuilder {
2938
3193
  /**
2939
3194
  * @param {?} driver
@@ -3016,6 +3271,23 @@ class SubTimelineBuilder extends TimelineBuilder {
3016
3271
  return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);
3017
3272
  }
3018
3273
  }
3274
+ if (false) {
3275
+ /** @type {?} */
3276
+ SubTimelineBuilder.prototype.timings;
3277
+ /** @type {?} */
3278
+ SubTimelineBuilder.prototype.element;
3279
+ /** @type {?} */
3280
+ SubTimelineBuilder.prototype.keyframes;
3281
+ /** @type {?} */
3282
+ SubTimelineBuilder.prototype.preStyleProps;
3283
+ /** @type {?} */
3284
+ SubTimelineBuilder.prototype.postStyleProps;
3285
+ /**
3286
+ * @type {?}
3287
+ * @private
3288
+ */
3289
+ SubTimelineBuilder.prototype._stretchStartingKeyframe;
3290
+ }
3019
3291
  /**
3020
3292
  * @param {?} offset
3021
3293
  * @param {?=} decimalPoints
@@ -3106,6 +3378,18 @@ class Animation {
3106
3378
  return result;
3107
3379
  }
3108
3380
  }
3381
+ if (false) {
3382
+ /**
3383
+ * @type {?}
3384
+ * @private
3385
+ */
3386
+ Animation.prototype._animationAst;
3387
+ /**
3388
+ * @type {?}
3389
+ * @private
3390
+ */
3391
+ Animation.prototype._driver;
3392
+ }
3109
3393
 
3110
3394
  /**
3111
3395
  * @fileoverview added by tsickle
@@ -3124,6 +3408,24 @@ class Animation {
3124
3408
  */
3125
3409
  class AnimationStyleNormalizer {
3126
3410
  }
3411
+ if (false) {
3412
+ /**
3413
+ * @abstract
3414
+ * @param {?} propertyName
3415
+ * @param {?} errors
3416
+ * @return {?}
3417
+ */
3418
+ AnimationStyleNormalizer.prototype.normalizePropertyName = function (propertyName, errors) { };
3419
+ /**
3420
+ * @abstract
3421
+ * @param {?} userProvidedProperty
3422
+ * @param {?} normalizedProperty
3423
+ * @param {?} value
3424
+ * @param {?} errors
3425
+ * @return {?}
3426
+ */
3427
+ AnimationStyleNormalizer.prototype.normalizeStyleValue = function (userProvidedProperty, normalizedProperty, value, errors) { };
3428
+ }
3127
3429
  /**
3128
3430
  * \@publicApi
3129
3431
  */
@@ -3186,13 +3488,13 @@ class WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {
3186
3488
  return strVal + unit;
3187
3489
  }
3188
3490
  }
3189
- const ɵ0 = /**
3491
+ const ɵ0$1 = /**
3190
3492
  * @return {?}
3191
3493
  */
3192
3494
  () => makeBooleanMap('width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective'
3193
3495
  .split(','));
3194
3496
  /** @type {?} */
3195
- const DIMENSIONAL_PROP_MAP = ((ɵ0))();
3497
+ const DIMENSIONAL_PROP_MAP = ((ɵ0$1))();
3196
3498
  /**
3197
3499
  * @param {?} keys
3198
3500
  * @return {?}
@@ -3212,6 +3514,38 @@ function makeBooleanMap(keys) {
3212
3514
  * @fileoverview added by tsickle
3213
3515
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3214
3516
  */
3517
+ /**
3518
+ * @record
3519
+ */
3520
+ function AnimationTransitionInstruction() { }
3521
+ if (false) {
3522
+ /** @type {?} */
3523
+ AnimationTransitionInstruction.prototype.element;
3524
+ /** @type {?} */
3525
+ AnimationTransitionInstruction.prototype.triggerName;
3526
+ /** @type {?} */
3527
+ AnimationTransitionInstruction.prototype.isRemovalTransition;
3528
+ /** @type {?} */
3529
+ AnimationTransitionInstruction.prototype.fromState;
3530
+ /** @type {?} */
3531
+ AnimationTransitionInstruction.prototype.fromStyles;
3532
+ /** @type {?} */
3533
+ AnimationTransitionInstruction.prototype.toState;
3534
+ /** @type {?} */
3535
+ AnimationTransitionInstruction.prototype.toStyles;
3536
+ /** @type {?} */
3537
+ AnimationTransitionInstruction.prototype.timelines;
3538
+ /** @type {?} */
3539
+ AnimationTransitionInstruction.prototype.queriedElements;
3540
+ /** @type {?} */
3541
+ AnimationTransitionInstruction.prototype.preStyleProps;
3542
+ /** @type {?} */
3543
+ AnimationTransitionInstruction.prototype.postStyleProps;
3544
+ /** @type {?} */
3545
+ AnimationTransitionInstruction.prototype.totalTime;
3546
+ /** @type {?|undefined} */
3547
+ AnimationTransitionInstruction.prototype.errors;
3548
+ }
3215
3549
  /**
3216
3550
  * @param {?} element
3217
3551
  * @param {?} triggerName
@@ -3367,6 +3701,20 @@ class AnimationTransitionFactory {
3367
3701
  return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime);
3368
3702
  }
3369
3703
  }
3704
+ if (false) {
3705
+ /**
3706
+ * @type {?}
3707
+ * @private
3708
+ */
3709
+ AnimationTransitionFactory.prototype._triggerName;
3710
+ /** @type {?} */
3711
+ AnimationTransitionFactory.prototype.ast;
3712
+ /**
3713
+ * @type {?}
3714
+ * @private
3715
+ */
3716
+ AnimationTransitionFactory.prototype._stateStyles;
3717
+ }
3370
3718
  /**
3371
3719
  * @param {?} matchFns
3372
3720
  * @param {?} currentState
@@ -3437,6 +3785,18 @@ class AnimationStateStyles {
3437
3785
  return finalStyles;
3438
3786
  }
3439
3787
  }
3788
+ if (false) {
3789
+ /**
3790
+ * @type {?}
3791
+ * @private
3792
+ */
3793
+ AnimationStateStyles.prototype.styles;
3794
+ /**
3795
+ * @type {?}
3796
+ * @private
3797
+ */
3798
+ AnimationStateStyles.prototype.defaultParams;
3799
+ }
3440
3800
 
3441
3801
  /**
3442
3802
  * @fileoverview added by tsickle
@@ -3514,6 +3874,18 @@ class AnimationTrigger {
3514
3874
  return this.fallbackTransition.buildStyles(currentState, params, errors);
3515
3875
  }
3516
3876
  }
3877
+ if (false) {
3878
+ /** @type {?} */
3879
+ AnimationTrigger.prototype.transitionFactories;
3880
+ /** @type {?} */
3881
+ AnimationTrigger.prototype.fallbackTransition;
3882
+ /** @type {?} */
3883
+ AnimationTrigger.prototype.states;
3884
+ /** @type {?} */
3885
+ AnimationTrigger.prototype.name;
3886
+ /** @type {?} */
3887
+ AnimationTrigger.prototype.ast;
3888
+ }
3517
3889
  /**
3518
3890
  * @param {?} triggerName
3519
3891
  * @param {?} states
@@ -3771,6 +4143,32 @@ class TimelineAnimationEngine {
3771
4143
  }
3772
4144
  }
3773
4145
  }
4146
+ if (false) {
4147
+ /**
4148
+ * @type {?}
4149
+ * @private
4150
+ */
4151
+ TimelineAnimationEngine.prototype._animations;
4152
+ /**
4153
+ * @type {?}
4154
+ * @private
4155
+ */
4156
+ TimelineAnimationEngine.prototype._playersById;
4157
+ /** @type {?} */
4158
+ TimelineAnimationEngine.prototype.players;
4159
+ /** @type {?} */
4160
+ TimelineAnimationEngine.prototype.bodyNode;
4161
+ /**
4162
+ * @type {?}
4163
+ * @private
4164
+ */
4165
+ TimelineAnimationEngine.prototype._driver;
4166
+ /**
4167
+ * @type {?}
4168
+ * @private
4169
+ */
4170
+ TimelineAnimationEngine.prototype._normalizer;
4171
+ }
3774
4172
 
3775
4173
  /**
3776
4174
  * @fileoverview added by tsickle
@@ -3806,8 +4204,56 @@ const NULL_REMOVED_QUERIED_STATE = {
3806
4204
  hasAnimation: false,
3807
4205
  removedBeforeQueried: true
3808
4206
  };
4207
+ /**
4208
+ * @record
4209
+ */
4210
+ function TriggerListener() { }
4211
+ if (false) {
4212
+ /** @type {?} */
4213
+ TriggerListener.prototype.name;
4214
+ /** @type {?} */
4215
+ TriggerListener.prototype.phase;
4216
+ /** @type {?} */
4217
+ TriggerListener.prototype.callback;
4218
+ }
4219
+ /**
4220
+ * @record
4221
+ */
4222
+ function QueueInstruction() { }
4223
+ if (false) {
4224
+ /** @type {?} */
4225
+ QueueInstruction.prototype.element;
4226
+ /** @type {?} */
4227
+ QueueInstruction.prototype.triggerName;
4228
+ /** @type {?} */
4229
+ QueueInstruction.prototype.fromState;
4230
+ /** @type {?} */
4231
+ QueueInstruction.prototype.toState;
4232
+ /** @type {?} */
4233
+ QueueInstruction.prototype.transition;
4234
+ /** @type {?} */
4235
+ QueueInstruction.prototype.player;
4236
+ /** @type {?} */
4237
+ QueueInstruction.prototype.isFallbackTransition;
4238
+ }
3809
4239
  /** @type {?} */
3810
4240
  const REMOVAL_FLAG = '__ng_removed';
4241
+ /**
4242
+ * @record
4243
+ */
4244
+ function ElementAnimationState() { }
4245
+ if (false) {
4246
+ /** @type {?} */
4247
+ ElementAnimationState.prototype.setForRemoval;
4248
+ /** @type {?} */
4249
+ ElementAnimationState.prototype.setForMove;
4250
+ /** @type {?} */
4251
+ ElementAnimationState.prototype.hasAnimation;
4252
+ /** @type {?} */
4253
+ ElementAnimationState.prototype.namespaceId;
4254
+ /** @type {?} */
4255
+ ElementAnimationState.prototype.removedBeforeQueried;
4256
+ }
3811
4257
  class StateValue {
3812
4258
  /**
3813
4259
  * @param {?} input
@@ -3859,6 +4305,14 @@ class StateValue {
3859
4305
  }
3860
4306
  }
3861
4307
  }
4308
+ if (false) {
4309
+ /** @type {?} */
4310
+ StateValue.prototype.value;
4311
+ /** @type {?} */
4312
+ StateValue.prototype.options;
4313
+ /** @type {?} */
4314
+ StateValue.prototype.namespaceId;
4315
+ }
3862
4316
  /** @type {?} */
3863
4317
  const VOID_VALUE = 'void';
3864
4318
  /** @type {?} */
@@ -4409,10 +4863,55 @@ class AnimationTransitionNamespace {
4409
4863
  return containsData;
4410
4864
  }
4411
4865
  }
4412
- class TransitionAnimationEngine {
4866
+ if (false) {
4867
+ /** @type {?} */
4868
+ AnimationTransitionNamespace.prototype.players;
4413
4869
  /**
4414
- * @param {?} bodyNode
4415
- * @param {?} driver
4870
+ * @type {?}
4871
+ * @private
4872
+ */
4873
+ AnimationTransitionNamespace.prototype._triggers;
4874
+ /**
4875
+ * @type {?}
4876
+ * @private
4877
+ */
4878
+ AnimationTransitionNamespace.prototype._queue;
4879
+ /**
4880
+ * @type {?}
4881
+ * @private
4882
+ */
4883
+ AnimationTransitionNamespace.prototype._elementListeners;
4884
+ /**
4885
+ * @type {?}
4886
+ * @private
4887
+ */
4888
+ AnimationTransitionNamespace.prototype._hostClassName;
4889
+ /** @type {?} */
4890
+ AnimationTransitionNamespace.prototype.id;
4891
+ /** @type {?} */
4892
+ AnimationTransitionNamespace.prototype.hostElement;
4893
+ /**
4894
+ * @type {?}
4895
+ * @private
4896
+ */
4897
+ AnimationTransitionNamespace.prototype._engine;
4898
+ }
4899
+ /**
4900
+ * @record
4901
+ */
4902
+ function QueuedTransition() { }
4903
+ if (false) {
4904
+ /** @type {?} */
4905
+ QueuedTransition.prototype.element;
4906
+ /** @type {?} */
4907
+ QueuedTransition.prototype.instruction;
4908
+ /** @type {?} */
4909
+ QueuedTransition.prototype.player;
4910
+ }
4911
+ class TransitionAnimationEngine {
4912
+ /**
4913
+ * @param {?} bodyNode
4914
+ * @param {?} driver
4416
4915
  * @param {?} _normalizer
4417
4916
  */
4418
4917
  constructor(bodyNode, driver, _normalizer) {
@@ -5803,6 +6302,61 @@ class TransitionAnimationEngine {
5803
6302
  return new NoopAnimationPlayer(instruction.duration, instruction.delay);
5804
6303
  }
5805
6304
  }
6305
+ if (false) {
6306
+ /** @type {?} */
6307
+ TransitionAnimationEngine.prototype.players;
6308
+ /** @type {?} */
6309
+ TransitionAnimationEngine.prototype.newHostElements;
6310
+ /** @type {?} */
6311
+ TransitionAnimationEngine.prototype.playersByElement;
6312
+ /** @type {?} */
6313
+ TransitionAnimationEngine.prototype.playersByQueriedElement;
6314
+ /** @type {?} */
6315
+ TransitionAnimationEngine.prototype.statesByElement;
6316
+ /** @type {?} */
6317
+ TransitionAnimationEngine.prototype.disabledNodes;
6318
+ /** @type {?} */
6319
+ TransitionAnimationEngine.prototype.totalAnimations;
6320
+ /** @type {?} */
6321
+ TransitionAnimationEngine.prototype.totalQueuedPlayers;
6322
+ /**
6323
+ * @type {?}
6324
+ * @private
6325
+ */
6326
+ TransitionAnimationEngine.prototype._namespaceLookup;
6327
+ /**
6328
+ * @type {?}
6329
+ * @private
6330
+ */
6331
+ TransitionAnimationEngine.prototype._namespaceList;
6332
+ /**
6333
+ * @type {?}
6334
+ * @private
6335
+ */
6336
+ TransitionAnimationEngine.prototype._flushFns;
6337
+ /**
6338
+ * @type {?}
6339
+ * @private
6340
+ */
6341
+ TransitionAnimationEngine.prototype._whenQuietFns;
6342
+ /** @type {?} */
6343
+ TransitionAnimationEngine.prototype.namespacesByHostElement;
6344
+ /** @type {?} */
6345
+ TransitionAnimationEngine.prototype.collectedEnterElements;
6346
+ /** @type {?} */
6347
+ TransitionAnimationEngine.prototype.collectedLeaveElements;
6348
+ /** @type {?} */
6349
+ TransitionAnimationEngine.prototype.onRemovalComplete;
6350
+ /** @type {?} */
6351
+ TransitionAnimationEngine.prototype.bodyNode;
6352
+ /** @type {?} */
6353
+ TransitionAnimationEngine.prototype.driver;
6354
+ /**
6355
+ * @type {?}
6356
+ * @private
6357
+ */
6358
+ TransitionAnimationEngine.prototype._normalizer;
6359
+ }
5806
6360
  class TransitionAnimationPlayer {
5807
6361
  /**
5808
6362
  * @param {?} namespaceId
@@ -5977,6 +6531,41 @@ class TransitionAnimationPlayer {
5977
6531
  }
5978
6532
  }
5979
6533
  }
6534
+ if (false) {
6535
+ /**
6536
+ * @type {?}
6537
+ * @private
6538
+ */
6539
+ TransitionAnimationPlayer.prototype._player;
6540
+ /**
6541
+ * @type {?}
6542
+ * @private
6543
+ */
6544
+ TransitionAnimationPlayer.prototype._containsRealPlayer;
6545
+ /**
6546
+ * @type {?}
6547
+ * @private
6548
+ */
6549
+ TransitionAnimationPlayer.prototype._queuedCallbacks;
6550
+ /** @type {?} */
6551
+ TransitionAnimationPlayer.prototype.destroyed;
6552
+ /** @type {?} */
6553
+ TransitionAnimationPlayer.prototype.parentPlayer;
6554
+ /** @type {?} */
6555
+ TransitionAnimationPlayer.prototype.markedForDestroy;
6556
+ /** @type {?} */
6557
+ TransitionAnimationPlayer.prototype.disabled;
6558
+ /** @type {?} */
6559
+ TransitionAnimationPlayer.prototype.queued;
6560
+ /** @type {?} */
6561
+ TransitionAnimationPlayer.prototype.totalTime;
6562
+ /** @type {?} */
6563
+ TransitionAnimationPlayer.prototype.namespaceId;
6564
+ /** @type {?} */
6565
+ TransitionAnimationPlayer.prototype.triggerName;
6566
+ /** @type {?} */
6567
+ TransitionAnimationPlayer.prototype.element;
6568
+ }
5980
6569
  /**
5981
6570
  * @param {?} map
5982
6571
  * @param {?} key
@@ -6173,6 +6762,21 @@ function buildRootMap(roots, nodes) {
6173
6762
  }
6174
6763
  /** @type {?} */
6175
6764
  const CLASSES_CACHE_KEY = '$$classes';
6765
+ /**
6766
+ * @param {?} element
6767
+ * @param {?} className
6768
+ * @return {?}
6769
+ */
6770
+ function containsClass(element, className) {
6771
+ if (element.classList) {
6772
+ return element.classList.contains(className);
6773
+ }
6774
+ else {
6775
+ /** @type {?} */
6776
+ const classes = element[CLASSES_CACHE_KEY];
6777
+ return classes && classes[className];
6778
+ }
6779
+ }
6176
6780
  /**
6177
6781
  * @param {?} element
6178
6782
  * @param {?} className
@@ -6445,6 +7049,35 @@ class AnimationEngine {
6445
7049
  */
6446
7050
  whenRenderingDone() { return this._transitionEngine.whenRenderingDone(); }
6447
7051
  }
7052
+ if (false) {
7053
+ /**
7054
+ * @type {?}
7055
+ * @private
7056
+ */
7057
+ AnimationEngine.prototype._transitionEngine;
7058
+ /**
7059
+ * @type {?}
7060
+ * @private
7061
+ */
7062
+ AnimationEngine.prototype._timelineEngine;
7063
+ /**
7064
+ * @type {?}
7065
+ * @private
7066
+ */
7067
+ AnimationEngine.prototype._triggerCache;
7068
+ /** @type {?} */
7069
+ AnimationEngine.prototype.onRemovalComplete;
7070
+ /**
7071
+ * @type {?}
7072
+ * @private
7073
+ */
7074
+ AnimationEngine.prototype.bodyNode;
7075
+ /**
7076
+ * @type {?}
7077
+ * @private
7078
+ */
7079
+ AnimationEngine.prototype._driver;
7080
+ }
6448
7081
 
6449
7082
  /**
6450
7083
  * @fileoverview added by tsickle
@@ -6552,6 +7185,42 @@ class SpecialCasedStyles {
6552
7185
  }
6553
7186
  }
6554
7187
  SpecialCasedStyles.initialStylesByElement = new WeakMap();
7188
+ if (false) {
7189
+ /** @type {?} */
7190
+ SpecialCasedStyles.initialStylesByElement;
7191
+ /**
7192
+ * @type {?}
7193
+ * @private
7194
+ */
7195
+ SpecialCasedStyles.prototype._state;
7196
+ /**
7197
+ * @type {?}
7198
+ * @private
7199
+ */
7200
+ SpecialCasedStyles.prototype._initialStyles;
7201
+ /**
7202
+ * @type {?}
7203
+ * @private
7204
+ */
7205
+ SpecialCasedStyles.prototype._element;
7206
+ /**
7207
+ * @type {?}
7208
+ * @private
7209
+ */
7210
+ SpecialCasedStyles.prototype._startStyles;
7211
+ /**
7212
+ * @type {?}
7213
+ * @private
7214
+ */
7215
+ SpecialCasedStyles.prototype._endStyles;
7216
+ }
7217
+ /** @enum {number} */
7218
+ const SpecialCasedStylesState = {
7219
+ Pending: 0,
7220
+ Started: 1,
7221
+ Finished: 2,
7222
+ Destroyed: 3,
7223
+ };
6555
7224
  /**
6556
7225
  * @param {?} styles
6557
7226
  * @return {?}
@@ -6692,6 +7361,68 @@ class ElementAnimationStyleHandler {
6692
7361
  removeKeyframeAnimation(this._element, this._name);
6693
7362
  }
6694
7363
  }
7364
+ if (false) {
7365
+ /**
7366
+ * @type {?}
7367
+ * @private
7368
+ */
7369
+ ElementAnimationStyleHandler.prototype._eventFn;
7370
+ /**
7371
+ * @type {?}
7372
+ * @private
7373
+ */
7374
+ ElementAnimationStyleHandler.prototype._finished;
7375
+ /**
7376
+ * @type {?}
7377
+ * @private
7378
+ */
7379
+ ElementAnimationStyleHandler.prototype._destroyed;
7380
+ /**
7381
+ * @type {?}
7382
+ * @private
7383
+ */
7384
+ ElementAnimationStyleHandler.prototype._startTime;
7385
+ /**
7386
+ * @type {?}
7387
+ * @private
7388
+ */
7389
+ ElementAnimationStyleHandler.prototype._position;
7390
+ /**
7391
+ * @type {?}
7392
+ * @private
7393
+ */
7394
+ ElementAnimationStyleHandler.prototype._element;
7395
+ /**
7396
+ * @type {?}
7397
+ * @private
7398
+ */
7399
+ ElementAnimationStyleHandler.prototype._name;
7400
+ /**
7401
+ * @type {?}
7402
+ * @private
7403
+ */
7404
+ ElementAnimationStyleHandler.prototype._duration;
7405
+ /**
7406
+ * @type {?}
7407
+ * @private
7408
+ */
7409
+ ElementAnimationStyleHandler.prototype._delay;
7410
+ /**
7411
+ * @type {?}
7412
+ * @private
7413
+ */
7414
+ ElementAnimationStyleHandler.prototype._easing;
7415
+ /**
7416
+ * @type {?}
7417
+ * @private
7418
+ */
7419
+ ElementAnimationStyleHandler.prototype._fillMode;
7420
+ /**
7421
+ * @type {?}
7422
+ * @private
7423
+ */
7424
+ ElementAnimationStyleHandler.prototype._onDoneFn;
7425
+ }
6695
7426
  /**
6696
7427
  * @param {?} element
6697
7428
  * @param {?} name
@@ -6832,6 +7563,10 @@ function countChars(value, char) {
6832
7563
  const DEFAULT_FILL_MODE = 'forwards';
6833
7564
  /** @type {?} */
6834
7565
  const DEFAULT_EASING = 'linear';
7566
+ /** @enum {number} */
7567
+ const AnimatorControlState = {
7568
+ INITIALIZED: 1, STARTED: 2, FINISHED: 3, DESTROYED: 4,
7569
+ };
6835
7570
  class CssKeyframesPlayer {
6836
7571
  /**
6837
7572
  * @param {?} element
@@ -7047,6 +7782,72 @@ class CssKeyframesPlayer {
7047
7782
  this.currentSnapshot = styles;
7048
7783
  }
7049
7784
  }
7785
+ if (false) {
7786
+ /**
7787
+ * @type {?}
7788
+ * @private
7789
+ */
7790
+ CssKeyframesPlayer.prototype._onDoneFns;
7791
+ /**
7792
+ * @type {?}
7793
+ * @private
7794
+ */
7795
+ CssKeyframesPlayer.prototype._onStartFns;
7796
+ /**
7797
+ * @type {?}
7798
+ * @private
7799
+ */
7800
+ CssKeyframesPlayer.prototype._onDestroyFns;
7801
+ /**
7802
+ * @type {?}
7803
+ * @private
7804
+ */
7805
+ CssKeyframesPlayer.prototype._started;
7806
+ /**
7807
+ * @type {?}
7808
+ * @private
7809
+ */
7810
+ CssKeyframesPlayer.prototype._styler;
7811
+ /** @type {?} */
7812
+ CssKeyframesPlayer.prototype.parentPlayer;
7813
+ /** @type {?} */
7814
+ CssKeyframesPlayer.prototype.totalTime;
7815
+ /** @type {?} */
7816
+ CssKeyframesPlayer.prototype.easing;
7817
+ /** @type {?} */
7818
+ CssKeyframesPlayer.prototype.currentSnapshot;
7819
+ /**
7820
+ * @type {?}
7821
+ * @private
7822
+ */
7823
+ CssKeyframesPlayer.prototype._state;
7824
+ /** @type {?} */
7825
+ CssKeyframesPlayer.prototype.element;
7826
+ /** @type {?} */
7827
+ CssKeyframesPlayer.prototype.keyframes;
7828
+ /** @type {?} */
7829
+ CssKeyframesPlayer.prototype.animationName;
7830
+ /**
7831
+ * @type {?}
7832
+ * @private
7833
+ */
7834
+ CssKeyframesPlayer.prototype._duration;
7835
+ /**
7836
+ * @type {?}
7837
+ * @private
7838
+ */
7839
+ CssKeyframesPlayer.prototype._delay;
7840
+ /**
7841
+ * @type {?}
7842
+ * @private
7843
+ */
7844
+ CssKeyframesPlayer.prototype._finalStyles;
7845
+ /**
7846
+ * @type {?}
7847
+ * @private
7848
+ */
7849
+ CssKeyframesPlayer.prototype._specialStyles;
7850
+ }
7050
7851
 
7051
7852
  /**
7052
7853
  * @fileoverview added by tsickle
@@ -7119,6 +7920,25 @@ class DirectStylePlayer extends NoopAnimationPlayer {
7119
7920
  super.destroy();
7120
7921
  }
7121
7922
  }
7923
+ if (false) {
7924
+ /**
7925
+ * @type {?}
7926
+ * @private
7927
+ */
7928
+ DirectStylePlayer.prototype._startingStyles;
7929
+ /**
7930
+ * @type {?}
7931
+ * @private
7932
+ */
7933
+ DirectStylePlayer.prototype.__initialized;
7934
+ /**
7935
+ * @type {?}
7936
+ * @private
7937
+ */
7938
+ DirectStylePlayer.prototype._styles;
7939
+ /** @type {?} */
7940
+ DirectStylePlayer.prototype.element;
7941
+ }
7122
7942
 
7123
7943
  /**
7124
7944
  * @fileoverview added by tsickle
@@ -7298,6 +8118,23 @@ class CssKeyframesDriver {
7298
8118
  }
7299
8119
  }
7300
8120
  }
8121
+ if (false) {
8122
+ /**
8123
+ * @type {?}
8124
+ * @private
8125
+ */
8126
+ CssKeyframesDriver.prototype._count;
8127
+ /**
8128
+ * @type {?}
8129
+ * @private
8130
+ */
8131
+ CssKeyframesDriver.prototype._head;
8132
+ /**
8133
+ * @type {?}
8134
+ * @private
8135
+ */
8136
+ CssKeyframesDriver.prototype._warningIssued;
8137
+ }
7301
8138
  /**
7302
8139
  * @param {?} keyframes
7303
8140
  * @return {?}
@@ -7578,6 +8415,77 @@ class WebAnimationsPlayer {
7578
8415
  methods.length = 0;
7579
8416
  }
7580
8417
  }
8418
+ if (false) {
8419
+ /**
8420
+ * @type {?}
8421
+ * @private
8422
+ */
8423
+ WebAnimationsPlayer.prototype._onDoneFns;
8424
+ /**
8425
+ * @type {?}
8426
+ * @private
8427
+ */
8428
+ WebAnimationsPlayer.prototype._onStartFns;
8429
+ /**
8430
+ * @type {?}
8431
+ * @private
8432
+ */
8433
+ WebAnimationsPlayer.prototype._onDestroyFns;
8434
+ /**
8435
+ * @type {?}
8436
+ * @private
8437
+ */
8438
+ WebAnimationsPlayer.prototype._duration;
8439
+ /**
8440
+ * @type {?}
8441
+ * @private
8442
+ */
8443
+ WebAnimationsPlayer.prototype._delay;
8444
+ /**
8445
+ * @type {?}
8446
+ * @private
8447
+ */
8448
+ WebAnimationsPlayer.prototype._initialized;
8449
+ /**
8450
+ * @type {?}
8451
+ * @private
8452
+ */
8453
+ WebAnimationsPlayer.prototype._finished;
8454
+ /**
8455
+ * @type {?}
8456
+ * @private
8457
+ */
8458
+ WebAnimationsPlayer.prototype._started;
8459
+ /**
8460
+ * @type {?}
8461
+ * @private
8462
+ */
8463
+ WebAnimationsPlayer.prototype._destroyed;
8464
+ /**
8465
+ * @type {?}
8466
+ * @private
8467
+ */
8468
+ WebAnimationsPlayer.prototype._finalKeyframe;
8469
+ /** @type {?} */
8470
+ WebAnimationsPlayer.prototype.domPlayer;
8471
+ /** @type {?} */
8472
+ WebAnimationsPlayer.prototype.time;
8473
+ /** @type {?} */
8474
+ WebAnimationsPlayer.prototype.parentPlayer;
8475
+ /** @type {?} */
8476
+ WebAnimationsPlayer.prototype.currentSnapshot;
8477
+ /** @type {?} */
8478
+ WebAnimationsPlayer.prototype.element;
8479
+ /** @type {?} */
8480
+ WebAnimationsPlayer.prototype.keyframes;
8481
+ /** @type {?} */
8482
+ WebAnimationsPlayer.prototype.options;
8483
+ /**
8484
+ * @type {?}
8485
+ * @private
8486
+ */
8487
+ WebAnimationsPlayer.prototype._specialStyles;
8488
+ }
7581
8489
 
7582
8490
  /**
7583
8491
  * @fileoverview added by tsickle
@@ -7689,6 +8597,18 @@ class WebAnimationsDriver {
7689
8597
  return new WebAnimationsPlayer(element, keyframes, playerOptions, specialStyles);
7690
8598
  }
7691
8599
  }
8600
+ if (false) {
8601
+ /**
8602
+ * @type {?}
8603
+ * @private
8604
+ */
8605
+ WebAnimationsDriver.prototype._isNativeImpl;
8606
+ /**
8607
+ * @type {?}
8608
+ * @private
8609
+ */
8610
+ WebAnimationsDriver.prototype._cssKeyframesDriver;
8611
+ }
7692
8612
  /**
7693
8613
  * @return {?}
7694
8614
  */