platform-browser-animations.umd.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. /**
  2. * @license Angular v8.1.3
  3. * (c) 2010-2019 Google LLC. https://angular.io/
  4. * License: MIT
  5. */
  6. (function (global, factory) {
  7. typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser'), require('@angular/animations'), require('@angular/animations/browser'), require('@angular/common')) :
  8. typeof define === 'function' && define.amd ? define('@angular/platform-browser/animations', ['exports', '@angular/core', '@angular/platform-browser', '@angular/animations', '@angular/animations/browser', '@angular/common'], factory) :
  9. (global = global || self, factory((global.ng = global.ng || {}, global.ng.platformBrowser = global.ng.platformBrowser || {}, global.ng.platformBrowser.animations = {}), global.ng.core, global.ng.platformBrowser, global.ng.animations, global.ng.animations.browser, global.ng.common));
  10. }(this, function (exports, core, platformBrowser, animations, browser, common) { 'use strict';
  11. /*! *****************************************************************************
  12. Copyright (c) Microsoft Corporation. All rights reserved.
  13. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  14. this file except in compliance with the License. You may obtain a copy of the
  15. License at http://www.apache.org/licenses/LICENSE-2.0
  16. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  17. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  18. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  19. MERCHANTABLITY OR NON-INFRINGEMENT.
  20. See the Apache Version 2.0 License for specific language governing permissions
  21. and limitations under the License.
  22. ***************************************************************************** */
  23. /* global Reflect, Promise */
  24. var extendStatics = function(d, b) {
  25. extendStatics = Object.setPrototypeOf ||
  26. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  27. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  28. return extendStatics(d, b);
  29. };
  30. function __extends(d, b) {
  31. extendStatics(d, b);
  32. function __() { this.constructor = d; }
  33. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  34. }
  35. function __decorate(decorators, target, key, desc) {
  36. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  37. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  38. else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
  39. return c > 3 && r && Object.defineProperty(target, key, r), r;
  40. }
  41. function __param(paramIndex, decorator) {
  42. return function (target, key) { decorator(target, key, paramIndex); }
  43. }
  44. function __metadata(metadataKey, metadataValue) {
  45. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
  46. }
  47. function __read(o, n) {
  48. var m = typeof Symbol === "function" && o[Symbol.iterator];
  49. if (!m) return o;
  50. var i = m.call(o), r, ar = [], e;
  51. try {
  52. while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  53. }
  54. catch (error) { e = { error: error }; }
  55. finally {
  56. try {
  57. if (r && !r.done && (m = i["return"])) m.call(i);
  58. }
  59. finally { if (e) throw e.error; }
  60. }
  61. return ar;
  62. }
  63. function __spread() {
  64. for (var ar = [], i = 0; i < arguments.length; i++)
  65. ar = ar.concat(__read(arguments[i]));
  66. return ar;
  67. }
  68. var BrowserAnimationBuilder = /** @class */ (function (_super) {
  69. __extends(BrowserAnimationBuilder, _super);
  70. function BrowserAnimationBuilder(rootRenderer, doc) {
  71. var _this = _super.call(this) || this;
  72. _this._nextAnimationId = 0;
  73. var typeData = {
  74. id: '0',
  75. encapsulation: core.ViewEncapsulation.None,
  76. styles: [],
  77. data: { animation: [] }
  78. };
  79. _this._renderer = rootRenderer.createRenderer(doc.body, typeData);
  80. return _this;
  81. }
  82. BrowserAnimationBuilder.prototype.build = function (animation) {
  83. var id = this._nextAnimationId.toString();
  84. this._nextAnimationId++;
  85. var entry = Array.isArray(animation) ? animations.sequence(animation) : animation;
  86. issueAnimationCommand(this._renderer, null, id, 'register', [entry]);
  87. return new BrowserAnimationFactory(id, this._renderer);
  88. };
  89. BrowserAnimationBuilder = __decorate([
  90. core.Injectable(),
  91. __param(1, core.Inject(common.DOCUMENT)),
  92. __metadata("design:paramtypes", [core.RendererFactory2, Object])
  93. ], BrowserAnimationBuilder);
  94. return BrowserAnimationBuilder;
  95. }(animations.AnimationBuilder));
  96. var BrowserAnimationFactory = /** @class */ (function (_super) {
  97. __extends(BrowserAnimationFactory, _super);
  98. function BrowserAnimationFactory(_id, _renderer) {
  99. var _this = _super.call(this) || this;
  100. _this._id = _id;
  101. _this._renderer = _renderer;
  102. return _this;
  103. }
  104. BrowserAnimationFactory.prototype.create = function (element, options) {
  105. return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);
  106. };
  107. return BrowserAnimationFactory;
  108. }(animations.AnimationFactory));
  109. var RendererAnimationPlayer = /** @class */ (function () {
  110. function RendererAnimationPlayer(id, element, options, _renderer) {
  111. this.id = id;
  112. this.element = element;
  113. this._renderer = _renderer;
  114. this.parentPlayer = null;
  115. this._started = false;
  116. this.totalTime = 0;
  117. this._command('create', options);
  118. }
  119. RendererAnimationPlayer.prototype._listen = function (eventName, callback) {
  120. return this._renderer.listen(this.element, "@@" + this.id + ":" + eventName, callback);
  121. };
  122. RendererAnimationPlayer.prototype._command = function (command) {
  123. var args = [];
  124. for (var _i = 1; _i < arguments.length; _i++) {
  125. args[_i - 1] = arguments[_i];
  126. }
  127. return issueAnimationCommand(this._renderer, this.element, this.id, command, args);
  128. };
  129. RendererAnimationPlayer.prototype.onDone = function (fn) { this._listen('done', fn); };
  130. RendererAnimationPlayer.prototype.onStart = function (fn) { this._listen('start', fn); };
  131. RendererAnimationPlayer.prototype.onDestroy = function (fn) { this._listen('destroy', fn); };
  132. RendererAnimationPlayer.prototype.init = function () { this._command('init'); };
  133. RendererAnimationPlayer.prototype.hasStarted = function () { return this._started; };
  134. RendererAnimationPlayer.prototype.play = function () {
  135. this._command('play');
  136. this._started = true;
  137. };
  138. RendererAnimationPlayer.prototype.pause = function () { this._command('pause'); };
  139. RendererAnimationPlayer.prototype.restart = function () { this._command('restart'); };
  140. RendererAnimationPlayer.prototype.finish = function () { this._command('finish'); };
  141. RendererAnimationPlayer.prototype.destroy = function () { this._command('destroy'); };
  142. RendererAnimationPlayer.prototype.reset = function () { this._command('reset'); };
  143. RendererAnimationPlayer.prototype.setPosition = function (p) { this._command('setPosition', p); };
  144. RendererAnimationPlayer.prototype.getPosition = function () { return 0; };
  145. return RendererAnimationPlayer;
  146. }());
  147. function issueAnimationCommand(renderer, element, id, command, args) {
  148. return renderer.setProperty(element, "@@" + id + ":" + command, args);
  149. }
  150. var ANIMATION_PREFIX = '@';
  151. var DISABLE_ANIMATIONS_FLAG = '@.disabled';
  152. var AnimationRendererFactory = /** @class */ (function () {
  153. function AnimationRendererFactory(delegate, engine, _zone) {
  154. this.delegate = delegate;
  155. this.engine = engine;
  156. this._zone = _zone;
  157. this._currentId = 0;
  158. this._microtaskId = 1;
  159. this._animationCallbacksBuffer = [];
  160. this._rendererCache = new Map();
  161. this._cdRecurDepth = 0;
  162. this.promise = Promise.resolve(0);
  163. engine.onRemovalComplete = function (element, delegate) {
  164. // Note: if an component element has a leave animation, and the component
  165. // a host leave animation, the view engine will call `removeChild` for the parent
  166. // component renderer as well as for the child component renderer.
  167. // Therefore, we need to check if we already removed the element.
  168. if (delegate && delegate.parentNode(element)) {
  169. delegate.removeChild(element.parentNode, element);
  170. }
  171. };
  172. }
  173. AnimationRendererFactory.prototype.createRenderer = function (hostElement, type) {
  174. var _this = this;
  175. var EMPTY_NAMESPACE_ID = '';
  176. // cache the delegates to find out which cached delegate can
  177. // be used by which cached renderer
  178. var delegate = this.delegate.createRenderer(hostElement, type);
  179. if (!hostElement || !type || !type.data || !type.data['animation']) {
  180. var renderer = this._rendererCache.get(delegate);
  181. if (!renderer) {
  182. renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine);
  183. // only cache this result when the base renderer is used
  184. this._rendererCache.set(delegate, renderer);
  185. }
  186. return renderer;
  187. }
  188. var componentId = type.id;
  189. var namespaceId = type.id + '-' + this._currentId;
  190. this._currentId++;
  191. this.engine.register(namespaceId, hostElement);
  192. var animationTriggers = type.data['animation'];
  193. animationTriggers.forEach(function (trigger) { return _this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger); });
  194. return new AnimationRenderer(this, namespaceId, delegate, this.engine);
  195. };
  196. AnimationRendererFactory.prototype.begin = function () {
  197. this._cdRecurDepth++;
  198. if (this.delegate.begin) {
  199. this.delegate.begin();
  200. }
  201. };
  202. AnimationRendererFactory.prototype._scheduleCountTask = function () {
  203. var _this = this;
  204. // always use promise to schedule microtask instead of use Zone
  205. this.promise.then(function () { _this._microtaskId++; });
  206. };
  207. /** @internal */
  208. AnimationRendererFactory.prototype.scheduleListenerCallback = function (count, fn, data) {
  209. var _this = this;
  210. if (count >= 0 && count < this._microtaskId) {
  211. this._zone.run(function () { return fn(data); });
  212. return;
  213. }
  214. if (this._animationCallbacksBuffer.length == 0) {
  215. Promise.resolve(null).then(function () {
  216. _this._zone.run(function () {
  217. _this._animationCallbacksBuffer.forEach(function (tuple) {
  218. var _a = __read(tuple, 2), fn = _a[0], data = _a[1];
  219. fn(data);
  220. });
  221. _this._animationCallbacksBuffer = [];
  222. });
  223. });
  224. }
  225. this._animationCallbacksBuffer.push([fn, data]);
  226. };
  227. AnimationRendererFactory.prototype.end = function () {
  228. var _this = this;
  229. this._cdRecurDepth--;
  230. // this is to prevent animations from running twice when an inner
  231. // component does CD when a parent component instead has inserted it
  232. if (this._cdRecurDepth == 0) {
  233. this._zone.runOutsideAngular(function () {
  234. _this._scheduleCountTask();
  235. _this.engine.flush(_this._microtaskId);
  236. });
  237. }
  238. if (this.delegate.end) {
  239. this.delegate.end();
  240. }
  241. };
  242. AnimationRendererFactory.prototype.whenRenderingDone = function () { return this.engine.whenRenderingDone(); };
  243. AnimationRendererFactory = __decorate([
  244. core.Injectable(),
  245. __metadata("design:paramtypes", [core.RendererFactory2, browser.ɵAnimationEngine, core.NgZone])
  246. ], AnimationRendererFactory);
  247. return AnimationRendererFactory;
  248. }());
  249. var BaseAnimationRenderer = /** @class */ (function () {
  250. function BaseAnimationRenderer(namespaceId, delegate, engine) {
  251. this.namespaceId = namespaceId;
  252. this.delegate = delegate;
  253. this.engine = engine;
  254. this.destroyNode = this.delegate.destroyNode ? function (n) { return delegate.destroyNode(n); } : null;
  255. }
  256. Object.defineProperty(BaseAnimationRenderer.prototype, "data", {
  257. get: function () { return this.delegate.data; },
  258. enumerable: true,
  259. configurable: true
  260. });
  261. BaseAnimationRenderer.prototype.destroy = function () {
  262. this.engine.destroy(this.namespaceId, this.delegate);
  263. this.delegate.destroy();
  264. };
  265. BaseAnimationRenderer.prototype.createElement = function (name, namespace) {
  266. return this.delegate.createElement(name, namespace);
  267. };
  268. BaseAnimationRenderer.prototype.createComment = function (value) { return this.delegate.createComment(value); };
  269. BaseAnimationRenderer.prototype.createText = function (value) { return this.delegate.createText(value); };
  270. BaseAnimationRenderer.prototype.appendChild = function (parent, newChild) {
  271. this.delegate.appendChild(parent, newChild);
  272. this.engine.onInsert(this.namespaceId, newChild, parent, false);
  273. };
  274. BaseAnimationRenderer.prototype.insertBefore = function (parent, newChild, refChild) {
  275. this.delegate.insertBefore(parent, newChild, refChild);
  276. this.engine.onInsert(this.namespaceId, newChild, parent, true);
  277. };
  278. BaseAnimationRenderer.prototype.removeChild = function (parent, oldChild, isHostElement) {
  279. this.engine.onRemove(this.namespaceId, oldChild, this.delegate, isHostElement);
  280. };
  281. BaseAnimationRenderer.prototype.selectRootElement = function (selectorOrNode, preserveContent) {
  282. return this.delegate.selectRootElement(selectorOrNode, preserveContent);
  283. };
  284. BaseAnimationRenderer.prototype.parentNode = function (node) { return this.delegate.parentNode(node); };
  285. BaseAnimationRenderer.prototype.nextSibling = function (node) { return this.delegate.nextSibling(node); };
  286. BaseAnimationRenderer.prototype.setAttribute = function (el, name, value, namespace) {
  287. this.delegate.setAttribute(el, name, value, namespace);
  288. };
  289. BaseAnimationRenderer.prototype.removeAttribute = function (el, name, namespace) {
  290. this.delegate.removeAttribute(el, name, namespace);
  291. };
  292. BaseAnimationRenderer.prototype.addClass = function (el, name) { this.delegate.addClass(el, name); };
  293. BaseAnimationRenderer.prototype.removeClass = function (el, name) { this.delegate.removeClass(el, name); };
  294. BaseAnimationRenderer.prototype.setStyle = function (el, style, value, flags) {
  295. this.delegate.setStyle(el, style, value, flags);
  296. };
  297. BaseAnimationRenderer.prototype.removeStyle = function (el, style, flags) {
  298. this.delegate.removeStyle(el, style, flags);
  299. };
  300. BaseAnimationRenderer.prototype.setProperty = function (el, name, value) {
  301. if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {
  302. this.disableAnimations(el, !!value);
  303. }
  304. else {
  305. this.delegate.setProperty(el, name, value);
  306. }
  307. };
  308. BaseAnimationRenderer.prototype.setValue = function (node, value) { this.delegate.setValue(node, value); };
  309. BaseAnimationRenderer.prototype.listen = function (target, eventName, callback) {
  310. return this.delegate.listen(target, eventName, callback);
  311. };
  312. BaseAnimationRenderer.prototype.disableAnimations = function (element, value) {
  313. this.engine.disableAnimations(element, value);
  314. };
  315. return BaseAnimationRenderer;
  316. }());
  317. var AnimationRenderer = /** @class */ (function (_super) {
  318. __extends(AnimationRenderer, _super);
  319. function AnimationRenderer(factory, namespaceId, delegate, engine) {
  320. var _this = _super.call(this, namespaceId, delegate, engine) || this;
  321. _this.factory = factory;
  322. _this.namespaceId = namespaceId;
  323. return _this;
  324. }
  325. AnimationRenderer.prototype.setProperty = function (el, name, value) {
  326. if (name.charAt(0) == ANIMATION_PREFIX) {
  327. if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {
  328. value = value === undefined ? true : !!value;
  329. this.disableAnimations(el, value);
  330. }
  331. else {
  332. this.engine.process(this.namespaceId, el, name.substr(1), value);
  333. }
  334. }
  335. else {
  336. this.delegate.setProperty(el, name, value);
  337. }
  338. };
  339. AnimationRenderer.prototype.listen = function (target, eventName, callback) {
  340. var _this = this;
  341. var _a;
  342. if (eventName.charAt(0) == ANIMATION_PREFIX) {
  343. var element = resolveElementFromTarget(target);
  344. var name_1 = eventName.substr(1);
  345. var phase = '';
  346. // @listener.phase is for trigger animation callbacks
  347. // @@listener is for animation builder callbacks
  348. if (name_1.charAt(0) != ANIMATION_PREFIX) {
  349. _a = __read(parseTriggerCallbackName(name_1), 2), name_1 = _a[0], phase = _a[1];
  350. }
  351. return this.engine.listen(this.namespaceId, element, name_1, phase, function (event) {
  352. var countId = event['_data'] || -1;
  353. _this.factory.scheduleListenerCallback(countId, callback, event);
  354. });
  355. }
  356. return this.delegate.listen(target, eventName, callback);
  357. };
  358. return AnimationRenderer;
  359. }(BaseAnimationRenderer));
  360. function resolveElementFromTarget(target) {
  361. switch (target) {
  362. case 'body':
  363. return document.body;
  364. case 'document':
  365. return document;
  366. case 'window':
  367. return window;
  368. default:
  369. return target;
  370. }
  371. }
  372. function parseTriggerCallbackName(triggerName) {
  373. var dotIndex = triggerName.indexOf('.');
  374. var trigger = triggerName.substring(0, dotIndex);
  375. var phase = triggerName.substr(dotIndex + 1);
  376. return [trigger, phase];
  377. }
  378. /**
  379. * @license
  380. * Copyright Google Inc. All Rights Reserved.
  381. *
  382. * Use of this source code is governed by an MIT-style license that can be
  383. * found in the LICENSE file at https://angular.io/license
  384. */
  385. var InjectableAnimationEngine = /** @class */ (function (_super) {
  386. __extends(InjectableAnimationEngine, _super);
  387. function InjectableAnimationEngine(doc, driver, normalizer) {
  388. return _super.call(this, doc.body, driver, normalizer) || this;
  389. }
  390. InjectableAnimationEngine = __decorate([
  391. core.Injectable(),
  392. __param(0, core.Inject(common.DOCUMENT)),
  393. __metadata("design:paramtypes", [Object, browser.AnimationDriver, browser.ɵAnimationStyleNormalizer])
  394. ], InjectableAnimationEngine);
  395. return InjectableAnimationEngine;
  396. }(browser.ɵAnimationEngine));
  397. function instantiateSupportedAnimationDriver() {
  398. return browser.ɵsupportsWebAnimations() ? new browser.ɵWebAnimationsDriver() : new browser.ɵCssKeyframesDriver();
  399. }
  400. function instantiateDefaultStyleNormalizer() {
  401. return new browser.ɵWebAnimationsStyleNormalizer();
  402. }
  403. function instantiateRendererFactory(renderer, engine, zone) {
  404. return new AnimationRendererFactory(renderer, engine, zone);
  405. }
  406. /**
  407. * @publicApi
  408. */
  409. var ANIMATION_MODULE_TYPE = new core.InjectionToken('AnimationModuleType');
  410. var SHARED_ANIMATION_PROVIDERS = [
  411. { provide: animations.AnimationBuilder, useClass: BrowserAnimationBuilder },
  412. { provide: browser.ɵAnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer },
  413. { provide: browser.ɵAnimationEngine, useClass: InjectableAnimationEngine }, {
  414. provide: core.RendererFactory2,
  415. useFactory: instantiateRendererFactory,
  416. deps: [platformBrowser.ɵDomRendererFactory2, browser.ɵAnimationEngine, core.NgZone]
  417. }
  418. ];
  419. /**
  420. * Separate providers from the actual module so that we can do a local modification in Google3 to
  421. * include them in the BrowserModule.
  422. */
  423. var BROWSER_ANIMATIONS_PROVIDERS = __spread([
  424. { provide: browser.AnimationDriver, useFactory: instantiateSupportedAnimationDriver },
  425. { provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations' }
  426. ], SHARED_ANIMATION_PROVIDERS);
  427. /**
  428. * Separate providers from the actual module so that we can do a local modification in Google3 to
  429. * include them in the BrowserTestingModule.
  430. */
  431. var BROWSER_NOOP_ANIMATIONS_PROVIDERS = __spread([
  432. { provide: browser.AnimationDriver, useClass: browser.ɵNoopAnimationDriver },
  433. { provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations' }
  434. ], SHARED_ANIMATION_PROVIDERS);
  435. /**
  436. * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider)
  437. * for use with animations. See [Animations](guide/animations).
  438. * @publicApi
  439. */
  440. var BrowserAnimationsModule = /** @class */ (function () {
  441. function BrowserAnimationsModule() {
  442. }
  443. BrowserAnimationsModule = __decorate([
  444. core.NgModule({
  445. exports: [platformBrowser.BrowserModule],
  446. providers: BROWSER_ANIMATIONS_PROVIDERS,
  447. })
  448. ], BrowserAnimationsModule);
  449. return BrowserAnimationsModule;
  450. }());
  451. /**
  452. * A null player that must be imported to allow disabling of animations.
  453. * @publicApi
  454. */
  455. var NoopAnimationsModule = /** @class */ (function () {
  456. function NoopAnimationsModule() {
  457. }
  458. NoopAnimationsModule = __decorate([
  459. core.NgModule({
  460. exports: [platformBrowser.BrowserModule],
  461. providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,
  462. })
  463. ], NoopAnimationsModule);
  464. return NoopAnimationsModule;
  465. }());
  466. /**
  467. * @license
  468. * Copyright Google Inc. All Rights Reserved.
  469. *
  470. * Use of this source code is governed by an MIT-style license that can be
  471. * found in the LICENSE file at https://angular.io/license
  472. */
  473. /**
  474. * @license
  475. * Copyright Google Inc. All Rights Reserved.
  476. *
  477. * Use of this source code is governed by an MIT-style license that can be
  478. * found in the LICENSE file at https://angular.io/license
  479. */
  480. /**
  481. * @license
  482. * Copyright Google Inc. All Rights Reserved.
  483. *
  484. * Use of this source code is governed by an MIT-style license that can be
  485. * found in the LICENSE file at https://angular.io/license
  486. */
  487. /**
  488. * @license
  489. * Copyright Google Inc. All Rights Reserved.
  490. *
  491. * Use of this source code is governed by an MIT-style license that can be
  492. * found in the LICENSE file at https://angular.io/license
  493. */
  494. /**
  495. * Generated bundle index. Do not edit.
  496. */
  497. exports.ɵangular_packages_platform_browser_animations_animations_f = BaseAnimationRenderer;
  498. exports.ɵangular_packages_platform_browser_animations_animations_d = BROWSER_ANIMATIONS_PROVIDERS;
  499. exports.ɵangular_packages_platform_browser_animations_animations_e = BROWSER_NOOP_ANIMATIONS_PROVIDERS;
  500. exports.ɵangular_packages_platform_browser_animations_animations_b = instantiateDefaultStyleNormalizer;
  501. exports.ɵangular_packages_platform_browser_animations_animations_c = instantiateRendererFactory;
  502. exports.ɵangular_packages_platform_browser_animations_animations_a = instantiateSupportedAnimationDriver;
  503. exports.BrowserAnimationsModule = BrowserAnimationsModule;
  504. exports.NoopAnimationsModule = NoopAnimationsModule;
  505. exports.ANIMATION_MODULE_TYPE = ANIMATION_MODULE_TYPE;
  506. exports.ɵBrowserAnimationBuilder = BrowserAnimationBuilder;
  507. exports.ɵBrowserAnimationFactory = BrowserAnimationFactory;
  508. exports.ɵAnimationRenderer = AnimationRenderer;
  509. exports.ɵAnimationRendererFactory = AnimationRendererFactory;
  510. exports.ɵInjectableAnimationEngine = InjectableAnimationEngine;
  511. Object.defineProperty(exports, '__esModule', { value: true });
  512. }));
  513. //# sourceMappingURL=platform-browser-animations.umd.js.map