platform-browser-animations.umd.js
24.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
/**
* @license Angular v4.2.3
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser'), require('@angular/animations'), require('@angular/animations/browser')) :
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/platform-browser', '@angular/animations', '@angular/animations/browser'], factory) :
(factory((global.ng = global.ng || {}, global.ng.platformBrowser = global.ng.platformBrowser || {}, global.ng.platformBrowser.animations = global.ng.platformBrowser.animations || {}),global.ng.core,global.ng.platformBrowser,global.ng.animations,global.ng.animations.browser));
}(this, (function (exports,_angular_core,_angular_platformBrowser,_angular_animations,_angular_animations_browser) { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
/**
* @license Angular v4.2.3
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var BrowserAnimationBuilder = (function (_super) {
__extends(BrowserAnimationBuilder, _super);
/**
* @param {?} rootRenderer
*/
function BrowserAnimationBuilder(rootRenderer) {
var _this = _super.call(this) || this;
_this._nextAnimationId = 0;
var typeData = {
id: '0',
encapsulation: _angular_core.ViewEncapsulation.None,
styles: [],
data: { animation: [] }
};
_this._renderer = rootRenderer.createRenderer(document.body, typeData);
return _this;
}
/**
* @param {?} animation
* @return {?}
*/
BrowserAnimationBuilder.prototype.build = function (animation) {
var /** @type {?} */ id = this._nextAnimationId.toString();
this._nextAnimationId++;
var /** @type {?} */ entry = Array.isArray(animation) ? _angular_animations.sequence(animation) : animation;
issueAnimationCommand(this._renderer, null, id, 'register', [entry]);
return new BrowserAnimationFactory(id, this._renderer);
};
return BrowserAnimationBuilder;
}(_angular_animations.AnimationBuilder));
BrowserAnimationBuilder.decorators = [
{ type: _angular_core.Injectable },
];
/**
* @nocollapse
*/
BrowserAnimationBuilder.ctorParameters = function () { return [
{ type: _angular_core.RendererFactory2, },
]; };
var BrowserAnimationFactory = (function (_super) {
__extends(BrowserAnimationFactory, _super);
/**
* @param {?} _id
* @param {?} _renderer
*/
function BrowserAnimationFactory(_id, _renderer) {
var _this = _super.call(this) || this;
_this._id = _id;
_this._renderer = _renderer;
return _this;
}
/**
* @param {?} element
* @param {?=} options
* @return {?}
*/
BrowserAnimationFactory.prototype.create = function (element, options) {
return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);
};
return BrowserAnimationFactory;
}(_angular_animations.AnimationFactory));
var RendererAnimationPlayer = (function () {
/**
* @param {?} id
* @param {?} element
* @param {?} options
* @param {?} _renderer
*/
function RendererAnimationPlayer(id, element, options, _renderer) {
this.id = id;
this.element = element;
this._renderer = _renderer;
this.parentPlayer = null;
this._started = false;
this.totalTime = 0;
this._command('create', options);
}
/**
* @param {?} eventName
* @param {?} callback
* @return {?}
*/
RendererAnimationPlayer.prototype._listen = function (eventName, callback) {
return this._renderer.listen(this.element, "@@" + this.id + ":" + eventName, callback);
};
/**
* @param {?} command
* @param {...?} args
* @return {?}
*/
RendererAnimationPlayer.prototype._command = function (command) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
return issueAnimationCommand(this._renderer, this.element, this.id, command, args);
};
/**
* @param {?} fn
* @return {?}
*/
RendererAnimationPlayer.prototype.onDone = function (fn) { this._listen('done', fn); };
/**
* @param {?} fn
* @return {?}
*/
RendererAnimationPlayer.prototype.onStart = function (fn) { this._listen('start', fn); };
/**
* @param {?} fn
* @return {?}
*/
RendererAnimationPlayer.prototype.onDestroy = function (fn) { this._listen('destroy', fn); };
/**
* @return {?}
*/
RendererAnimationPlayer.prototype.init = function () { this._command('init'); };
/**
* @return {?}
*/
RendererAnimationPlayer.prototype.hasStarted = function () { return this._started; };
/**
* @return {?}
*/
RendererAnimationPlayer.prototype.play = function () {
this._command('play');
this._started = true;
};
/**
* @return {?}
*/
RendererAnimationPlayer.prototype.pause = function () { this._command('pause'); };
/**
* @return {?}
*/
RendererAnimationPlayer.prototype.restart = function () { this._command('restart'); };
/**
* @return {?}
*/
RendererAnimationPlayer.prototype.finish = function () { this._command('finish'); };
/**
* @return {?}
*/
RendererAnimationPlayer.prototype.destroy = function () { this._command('destroy'); };
/**
* @return {?}
*/
RendererAnimationPlayer.prototype.reset = function () { this._command('reset'); };
/**
* @param {?} p
* @return {?}
*/
RendererAnimationPlayer.prototype.setPosition = function (p) { this._command('setPosition', p); };
/**
* @return {?}
*/
RendererAnimationPlayer.prototype.getPosition = function () { return 0; };
return RendererAnimationPlayer;
}());
/**
* @param {?} renderer
* @param {?} element
* @param {?} id
* @param {?} command
* @param {?} args
* @return {?}
*/
function issueAnimationCommand(renderer, element, id, command, args) {
return renderer.setProperty(element, "@@" + id + ":" + command, args);
}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var AnimationRendererFactory = (function () {
/**
* @param {?} delegate
* @param {?} engine
* @param {?} _zone
*/
function AnimationRendererFactory(delegate, engine, _zone) {
this.delegate = delegate;
this.engine = engine;
this._zone = _zone;
this._currentId = 0;
this._microtaskId = 1;
this._animationCallbacksBuffer = [];
this._rendererCache = new Map();
engine.onRemovalComplete = function (element, delegate) {
// Note: if an component element has a leave animation, and the component
// a host leave animation, the view engine will call `removeChild` for the parent
// component renderer as well as for the child component renderer.
// Therefore, we need to check if we already removed the element.
if (delegate && delegate.parentNode(element)) {
delegate.removeChild(element.parentNode, element);
}
};
}
/**
* @param {?} hostElement
* @param {?} type
* @return {?}
*/
AnimationRendererFactory.prototype.createRenderer = function (hostElement, type) {
var _this = this;
var /** @type {?} */ EMPTY_NAMESPACE_ID = '';
// cache the delegates to find out which cached delegate can
// be used by which cached renderer
var /** @type {?} */ delegate = this.delegate.createRenderer(hostElement, type);
if (!hostElement || !type || !type.data || !type.data['animation']) {
var /** @type {?} */ renderer = this._rendererCache.get(delegate);
if (!renderer) {
renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine);
// only cache this result when the base renderer is used
this._rendererCache.set(delegate, renderer);
}
return renderer;
}
var /** @type {?} */ componentId = type.id;
var /** @type {?} */ namespaceId = type.id + '-' + this._currentId;
this._currentId++;
this.engine.register(namespaceId, hostElement);
var /** @type {?} */ animationTriggers = (type.data['animation']);
animationTriggers.forEach(function (trigger) { return _this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger); });
return new AnimationRenderer(this, namespaceId, delegate, this.engine);
};
/**
* @return {?}
*/
AnimationRendererFactory.prototype.begin = function () {
if (this.delegate.begin) {
this.delegate.begin();
}
};
/**
* @return {?}
*/
AnimationRendererFactory.prototype._scheduleCountTask = function () {
var _this = this;
Zone.current.scheduleMicroTask('incremenet the animation microtask', function () { return _this._microtaskId++; });
};
/**
* @param {?} count
* @param {?} fn
* @param {?} data
* @return {?}
*/
AnimationRendererFactory.prototype.scheduleListenerCallback = function (count, fn, data) {
var _this = this;
if (count >= 0 && count < this._microtaskId) {
this._zone.run(function () { return fn(data); });
return;
}
if (this._animationCallbacksBuffer.length == 0) {
Promise.resolve(null).then(function () {
_this._zone.run(function () {
_this._animationCallbacksBuffer.forEach(function (tuple) {
var fn = tuple[0], data = tuple[1];
fn(data);
});
_this._animationCallbacksBuffer = [];
});
});
}
this._animationCallbacksBuffer.push([fn, data]);
};
/**
* @return {?}
*/
AnimationRendererFactory.prototype.end = function () {
var _this = this;
this._zone.runOutsideAngular(function () {
_this._scheduleCountTask();
_this.engine.flush(_this._microtaskId);
});
if (this.delegate.end) {
this.delegate.end();
}
};
/**
* @return {?}
*/
AnimationRendererFactory.prototype.whenRenderingDone = function () { return this.engine.whenRenderingDone(); };
return AnimationRendererFactory;
}());
AnimationRendererFactory.decorators = [
{ type: _angular_core.Injectable },
];
/**
* @nocollapse
*/
AnimationRendererFactory.ctorParameters = function () { return [
{ type: _angular_core.RendererFactory2, },
{ type: _angular_animations_browser.ɵAnimationEngine, },
{ type: _angular_core.NgZone, },
]; };
var BaseAnimationRenderer = (function () {
/**
* @param {?} namespaceId
* @param {?} delegate
* @param {?} engine
*/
function BaseAnimationRenderer(namespaceId, delegate, engine) {
this.namespaceId = namespaceId;
this.delegate = delegate;
this.engine = engine;
this.destroyNode = this.delegate.destroyNode ? function (n) { return delegate.destroyNode(n); } : null;
}
Object.defineProperty(BaseAnimationRenderer.prototype, "data", {
/**
* @return {?}
*/
get: function () { return this.delegate.data; },
enumerable: true,
configurable: true
});
/**
* @return {?}
*/
BaseAnimationRenderer.prototype.destroy = function () {
this.engine.destroy(this.namespaceId, this.delegate);
this.delegate.destroy();
};
/**
* @param {?} name
* @param {?=} namespace
* @return {?}
*/
BaseAnimationRenderer.prototype.createElement = function (name, namespace) {
return this.delegate.createElement(name, namespace);
};
/**
* @param {?} value
* @return {?}
*/
BaseAnimationRenderer.prototype.createComment = function (value) { return this.delegate.createComment(value); };
/**
* @param {?} value
* @return {?}
*/
BaseAnimationRenderer.prototype.createText = function (value) { return this.delegate.createText(value); };
/**
* @param {?} parent
* @param {?} newChild
* @return {?}
*/
BaseAnimationRenderer.prototype.appendChild = function (parent, newChild) {
this.delegate.appendChild(parent, newChild);
this.engine.onInsert(this.namespaceId, newChild, parent, false);
};
/**
* @param {?} parent
* @param {?} newChild
* @param {?} refChild
* @return {?}
*/
BaseAnimationRenderer.prototype.insertBefore = function (parent, newChild, refChild) {
this.delegate.insertBefore(parent, newChild, refChild);
this.engine.onInsert(this.namespaceId, newChild, parent, true);
};
/**
* @param {?} parent
* @param {?} oldChild
* @return {?}
*/
BaseAnimationRenderer.prototype.removeChild = function (parent, oldChild) {
this.engine.onRemove(this.namespaceId, oldChild, this.delegate);
};
/**
* @param {?} selectorOrNode
* @return {?}
*/
BaseAnimationRenderer.prototype.selectRootElement = function (selectorOrNode) { return this.delegate.selectRootElement(selectorOrNode); };
/**
* @param {?} node
* @return {?}
*/
BaseAnimationRenderer.prototype.parentNode = function (node) { return this.delegate.parentNode(node); };
/**
* @param {?} node
* @return {?}
*/
BaseAnimationRenderer.prototype.nextSibling = function (node) { return this.delegate.nextSibling(node); };
/**
* @param {?} el
* @param {?} name
* @param {?} value
* @param {?=} namespace
* @return {?}
*/
BaseAnimationRenderer.prototype.setAttribute = function (el, name, value, namespace) {
this.delegate.setAttribute(el, name, value, namespace);
};
/**
* @param {?} el
* @param {?} name
* @param {?=} namespace
* @return {?}
*/
BaseAnimationRenderer.prototype.removeAttribute = function (el, name, namespace) {
this.delegate.removeAttribute(el, name, namespace);
};
/**
* @param {?} el
* @param {?} name
* @return {?}
*/
BaseAnimationRenderer.prototype.addClass = function (el, name) { this.delegate.addClass(el, name); };
/**
* @param {?} el
* @param {?} name
* @return {?}
*/
BaseAnimationRenderer.prototype.removeClass = function (el, name) { this.delegate.removeClass(el, name); };
/**
* @param {?} el
* @param {?} style
* @param {?} value
* @param {?=} flags
* @return {?}
*/
BaseAnimationRenderer.prototype.setStyle = function (el, style, value, flags) {
this.delegate.setStyle(el, style, value, flags);
};
/**
* @param {?} el
* @param {?} style
* @param {?=} flags
* @return {?}
*/
BaseAnimationRenderer.prototype.removeStyle = function (el, style, flags) {
this.delegate.removeStyle(el, style, flags);
};
/**
* @param {?} el
* @param {?} name
* @param {?} value
* @return {?}
*/
BaseAnimationRenderer.prototype.setProperty = function (el, name, value) {
this.delegate.setProperty(el, name, value);
};
/**
* @param {?} node
* @param {?} value
* @return {?}
*/
BaseAnimationRenderer.prototype.setValue = function (node, value) { this.delegate.setValue(node, value); };
/**
* @param {?} target
* @param {?} eventName
* @param {?} callback
* @return {?}
*/
BaseAnimationRenderer.prototype.listen = function (target, eventName, callback) {
return this.delegate.listen(target, eventName, callback);
};
return BaseAnimationRenderer;
}());
var AnimationRenderer = (function (_super) {
__extends(AnimationRenderer, _super);
/**
* @param {?} factory
* @param {?} namespaceId
* @param {?} delegate
* @param {?} engine
*/
function AnimationRenderer(factory, namespaceId, delegate, engine) {
var _this = _super.call(this, namespaceId, delegate, engine) || this;
_this.factory = factory;
_this.namespaceId = namespaceId;
return _this;
}
/**
* @param {?} el
* @param {?} name
* @param {?} value
* @return {?}
*/
AnimationRenderer.prototype.setProperty = function (el, name, value) {
if (name.charAt(0) == '@') {
name = name.substr(1);
this.engine.setProperty(this.namespaceId, el, name, value);
}
else {
this.delegate.setProperty(el, name, value);
}
};
/**
* @param {?} target
* @param {?} eventName
* @param {?} callback
* @return {?}
*/
AnimationRenderer.prototype.listen = function (target, eventName, callback) {
var _this = this;
if (eventName.charAt(0) == '@') {
var /** @type {?} */ element = resolveElementFromTarget(target);
var /** @type {?} */ name = eventName.substr(1);
var /** @type {?} */ phase = '';
if (name.charAt(0) != '@') {
_a = parseTriggerCallbackName(name), name = _a[0], phase = _a[1];
}
return this.engine.listen(this.namespaceId, element, name, phase, function (event) {
var /** @type {?} */ countId = ((event))['_data'] || -1;
_this.factory.scheduleListenerCallback(countId, callback, event);
});
}
return this.delegate.listen(target, eventName, callback);
var _a;
};
return AnimationRenderer;
}(BaseAnimationRenderer));
/**
* @param {?} target
* @return {?}
*/
function resolveElementFromTarget(target) {
switch (target) {
case 'body':
return document.body;
case 'document':
return document;
case 'window':
return window;
default:
return target;
}
}
/**
* @param {?} triggerName
* @return {?}
*/
function parseTriggerCallbackName(triggerName) {
var /** @type {?} */ dotIndex = triggerName.indexOf('.');
var /** @type {?} */ trigger = triggerName.substring(0, dotIndex);
var /** @type {?} */ phase = triggerName.substr(dotIndex + 1);
return [trigger, phase];
}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var InjectableAnimationEngine = (function (_super) {
__extends(InjectableAnimationEngine, _super);
/**
* @param {?} driver
* @param {?} normalizer
*/
function InjectableAnimationEngine(driver, normalizer) {
return _super.call(this, driver, normalizer) || this;
}
return InjectableAnimationEngine;
}(_angular_animations_browser.ɵAnimationEngine));
InjectableAnimationEngine.decorators = [
{ type: _angular_core.Injectable },
];
/**
* @nocollapse
*/
InjectableAnimationEngine.ctorParameters = function () { return [
{ type: _angular_animations_browser.AnimationDriver, },
{ type: _angular_animations_browser.ɵAnimationStyleNormalizer, },
]; };
/**
* @return {?}
*/
function instantiateSupportedAnimationDriver() {
if (_angular_animations_browser.ɵsupportsWebAnimations()) {
return new _angular_animations_browser.ɵWebAnimationsDriver();
}
return new _angular_animations_browser.ɵNoopAnimationDriver();
}
/**
* @return {?}
*/
function instantiateDefaultStyleNormalizer() {
return new _angular_animations_browser.ɵWebAnimationsStyleNormalizer();
}
/**
* @param {?} renderer
* @param {?} engine
* @param {?} zone
* @return {?}
*/
function instantiateRendererFactory(renderer, engine, zone) {
return new AnimationRendererFactory(renderer, engine, zone);
}
var SHARED_ANIMATION_PROVIDERS = [
{ provide: _angular_animations.AnimationBuilder, useClass: BrowserAnimationBuilder },
{ provide: _angular_animations_browser.ɵAnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer },
{ provide: _angular_animations_browser.ɵAnimationEngine, useClass: InjectableAnimationEngine }, {
provide: _angular_core.RendererFactory2,
useFactory: instantiateRendererFactory,
deps: [_angular_platformBrowser.ɵDomRendererFactory2, _angular_animations_browser.ɵAnimationEngine, _angular_core.NgZone]
}
];
/**
* Separate providers from the actual module so that we can do a local modification in Google3 to
* include them in the BrowserModule.
*/
var BROWSER_ANIMATIONS_PROVIDERS = [
{ provide: _angular_animations_browser.AnimationDriver, useFactory: instantiateSupportedAnimationDriver }
].concat(SHARED_ANIMATION_PROVIDERS);
/**
* Separate providers from the actual module so that we can do a local modification in Google3 to
* include them in the BrowserTestingModule.
*/
var BROWSER_NOOP_ANIMATIONS_PROVIDERS = [{ provide: _angular_animations_browser.AnimationDriver, useClass: _angular_animations_browser.ɵNoopAnimationDriver }].concat(SHARED_ANIMATION_PROVIDERS);
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* \@experimental Animation support is experimental.
*/
var BrowserAnimationsModule = (function () {
function BrowserAnimationsModule() {
}
return BrowserAnimationsModule;
}());
BrowserAnimationsModule.decorators = [
{ type: _angular_core.NgModule, args: [{
imports: [_angular_platformBrowser.BrowserModule],
providers: BROWSER_ANIMATIONS_PROVIDERS,
},] },
];
/**
* @nocollapse
*/
BrowserAnimationsModule.ctorParameters = function () { return []; };
/**
* \@experimental Animation support is experimental.
*/
var NoopAnimationsModule = (function () {
function NoopAnimationsModule() {
}
return NoopAnimationsModule;
}());
NoopAnimationsModule.decorators = [
{ type: _angular_core.NgModule, args: [{
imports: [_angular_platformBrowser.BrowserModule],
providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,
},] },
];
/**
* @nocollapse
*/
NoopAnimationsModule.ctorParameters = function () { return []; };
exports.BrowserAnimationsModule = BrowserAnimationsModule;
exports.NoopAnimationsModule = NoopAnimationsModule;
exports.ɵBrowserAnimationBuilder = BrowserAnimationBuilder;
exports.ɵBrowserAnimationFactory = BrowserAnimationFactory;
exports.ɵAnimationRenderer = AnimationRenderer;
exports.ɵAnimationRendererFactory = AnimationRendererFactory;
exports.ɵa = BaseAnimationRenderer;
exports.ɵf = BROWSER_ANIMATIONS_PROVIDERS;
exports.ɵg = BROWSER_NOOP_ANIMATIONS_PROVIDERS;
exports.ɵb = InjectableAnimationEngine;
exports.ɵd = instantiateDefaultStyleNormalizer;
exports.ɵe = instantiateRendererFactory;
exports.ɵc = instantiateSupportedAnimationDriver;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=platform-browser-animations.umd.js.map