@angular/platform-browser 6.1.6 → 6.1.10

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.
Files changed (61) hide show
  1. package/animations/animations.metadata.json +1 -1
  2. package/animations/src/module.d.ts +5 -2
  3. package/bundles/platform-browser-animations.umd.js +47 -48
  4. package/bundles/platform-browser-animations.umd.js.map +1 -1
  5. package/bundles/platform-browser-animations.umd.min.js +4 -4
  6. package/bundles/platform-browser-animations.umd.min.js.map +1 -1
  7. package/bundles/platform-browser-testing.umd.js +33 -18
  8. package/bundles/platform-browser-testing.umd.js.map +1 -1
  9. package/bundles/platform-browser-testing.umd.min.js +4 -10
  10. package/bundles/platform-browser-testing.umd.min.js.map +1 -1
  11. package/bundles/platform-browser.umd.js +125 -129
  12. package/bundles/platform-browser.umd.js.map +1 -1
  13. package/bundles/platform-browser.umd.min.js +14 -29
  14. package/bundles/platform-browser.umd.min.js.map +1 -1
  15. package/esm2015/animations/src/module.js +6 -3
  16. package/esm2015/src/browser.js +12 -7
  17. package/esm2015/src/dom/debug/by.js +7 -4
  18. package/esm2015/src/dom/events/hammer_gestures.js +10 -2
  19. package/esm2015/src/version.js +1 -1
  20. package/esm2015/testing/src/browser_util.js +9 -7
  21. package/esm2015/testing/src/matchers.js +44 -9
  22. package/esm5/animations/src/animation_builder.js +6 -9
  23. package/esm5/animations/src/animation_renderer.js +5 -10
  24. package/esm5/animations/src/module.js +19 -15
  25. package/esm5/animations/src/providers.js +6 -10
  26. package/esm5/src/browser/location/browser_platform_location.js +6 -8
  27. package/esm5/src/browser/meta.js +7 -8
  28. package/esm5/src/browser/title.js +7 -8
  29. package/esm5/src/browser/transfer_state.js +13 -10
  30. package/esm5/src/browser.js +21 -13
  31. package/esm5/src/dom/debug/by.js +7 -4
  32. package/esm5/src/dom/dom_renderer.js +5 -9
  33. package/esm5/src/dom/events/dom_events.js +7 -10
  34. package/esm5/src/dom/events/event_manager.js +7 -9
  35. package/esm5/src/dom/events/hammer_gestures.js +18 -15
  36. package/esm5/src/dom/events/key_events.js +13 -13
  37. package/esm5/src/dom/shared_styles_host.js +9 -11
  38. package/esm5/src/security/dom_sanitization_service.js +6 -8
  39. package/esm5/src/version.js +1 -1
  40. package/esm5/testing/src/browser.js +12 -11
  41. package/esm5/testing/src/browser_util.js +25 -10
  42. package/esm5/testing/src/matchers.js +22 -2
  43. package/fesm2015/animations.js +6 -3
  44. package/fesm2015/animations.js.map +1 -1
  45. package/fesm2015/platform-browser.js +27 -13
  46. package/fesm2015/platform-browser.js.map +1 -1
  47. package/fesm2015/testing.js +1 -1
  48. package/fesm2015/testing.js.map +1 -1
  49. package/fesm5/animations.js +33 -49
  50. package/fesm5/animations.js.map +1 -1
  51. package/fesm5/platform-browser.js +112 -131
  52. package/fesm5/platform-browser.js.map +1 -1
  53. package/fesm5/testing.js +12 -18
  54. package/fesm5/testing.js.map +1 -1
  55. package/package.json +3 -3
  56. package/platform-browser.metadata.json +1 -1
  57. package/src/browser.d.ts +11 -4
  58. package/src/dom/debug/by.d.ts +6 -3
  59. package/src/dom/events/hammer_gestures.d.ts +1 -0
  60. package/testing/src/matchers.d.ts +19 -7
  61. package/testing/testing.metadata.json +1 -1
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Angular v6.1.6
2
+ * @license Angular v6.1.10
3
3
  * (c) 2010-2018 Google, Inc. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import { __extends, __assign, __spread } from 'tslib';
7
+ import { __decorate, __param, __metadata, __assign, __extends, __spread } from 'tslib';
8
8
  import { ɵparseCookieValue, DOCUMENT, PlatformLocation, isPlatformServer, CommonModule, ɵPLATFORM_BROWSER_ID } from '@angular/common';
9
- import { ɵglobal, Inject, Injectable, APP_INITIALIZER, ApplicationInitStatus, InjectionToken, Injector, setTestabilityGetter, inject, APP_ID, NgModule, NgZone, Version, ApplicationRef, PLATFORM_ID, PLATFORM_INITIALIZER, Sanitizer, createPlatformFactory, platformCore, ErrorHandler, ɵAPP_ROOT, ɵConsole, Optional, RendererFactory2, Testability, ApplicationModule, SkipSelf, defineInjectable, getDebugNode, NgProbeToken, ViewEncapsulation, RendererStyleFlags2, SecurityContext, ɵ_sanitizeHtml, ɵ_sanitizeStyle, ɵ_sanitizeUrl } from '@angular/core';
9
+ import { ɵglobal, Inject, Injectable, APP_INITIALIZER, ApplicationInitStatus, InjectionToken, Injector, setTestabilityGetter, Version, ApplicationRef, inject, defineInjectable, NgZone, getDebugNode, NgProbeToken, Optional, NgModule, APP_ID, PLATFORM_ID, PLATFORM_INITIALIZER, Sanitizer, createPlatformFactory, platformCore, ErrorHandler, ɵAPP_ROOT, ɵConsole, RendererFactory2, Testability, ApplicationModule, SkipSelf, SecurityContext, ɵ_sanitizeHtml, ɵ_sanitizeStyle, ɵ_sanitizeUrl, ViewEncapsulation, RendererStyleFlags2 } from '@angular/core';
10
10
 
11
11
  /**
12
12
  * @license
@@ -617,13 +617,11 @@ var BrowserPlatformLocation = /** @class */ (function (_super) {
617
617
  };
618
618
  BrowserPlatformLocation.prototype.forward = function () { this._history.forward(); };
619
619
  BrowserPlatformLocation.prototype.back = function () { this._history.back(); };
620
- BrowserPlatformLocation.decorators = [
621
- { type: Injectable }
622
- ];
623
- /** @nocollapse */
624
- BrowserPlatformLocation.ctorParameters = function () { return [
625
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT$1,] }] }
626
- ]; };
620
+ BrowserPlatformLocation = __decorate([
621
+ Injectable(),
622
+ __param(0, Inject(DOCUMENT$1)),
623
+ __metadata("design:paramtypes", [Object])
624
+ ], BrowserPlatformLocation);
627
625
  return BrowserPlatformLocation;
628
626
  }(PlatformLocation));
629
627
 
@@ -861,14 +859,11 @@ var EventManager = /** @class */ (function () {
861
859
  }
862
860
  throw new Error("No event manager plugin found for event " + eventName);
863
861
  };
864
- EventManager.decorators = [
865
- { type: Injectable }
866
- ];
867
- /** @nocollapse */
868
- EventManager.ctorParameters = function () { return [
869
- { type: Array, decorators: [{ type: Inject, args: [EVENT_MANAGER_PLUGINS,] }] },
870
- { type: NgZone }
871
- ]; };
862
+ EventManager = __decorate([
863
+ Injectable(),
864
+ __param(0, Inject(EVENT_MANAGER_PLUGINS)),
865
+ __metadata("design:paramtypes", [Array, NgZone])
866
+ ], EventManager);
872
867
  return EventManager;
873
868
  }());
874
869
  var EventManagerPlugin = /** @class */ (function () {
@@ -910,9 +905,9 @@ var SharedStylesHost = /** @class */ (function () {
910
905
  };
911
906
  SharedStylesHost.prototype.onStylesAdded = function (additions) { };
912
907
  SharedStylesHost.prototype.getAllStyles = function () { return Array.from(this._stylesSet); };
913
- SharedStylesHost.decorators = [
914
- { type: Injectable }
915
- ];
908
+ SharedStylesHost = __decorate([
909
+ Injectable()
910
+ ], SharedStylesHost);
916
911
  return SharedStylesHost;
917
912
  }());
918
913
  var DomSharedStylesHost = /** @class */ (function (_super) {
@@ -943,13 +938,11 @@ var DomSharedStylesHost = /** @class */ (function (_super) {
943
938
  this._hostNodes.forEach(function (hostNode) { return _this._addStylesToHost(additions, hostNode); });
944
939
  };
945
940
  DomSharedStylesHost.prototype.ngOnDestroy = function () { this._styleNodes.forEach(function (styleNode) { return getDOM().remove(styleNode); }); };
946
- DomSharedStylesHost.decorators = [
947
- { type: Injectable }
948
- ];
949
- /** @nocollapse */
950
- DomSharedStylesHost.ctorParameters = function () { return [
951
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT$1,] }] }
952
- ]; };
941
+ DomSharedStylesHost = __decorate([
942
+ Injectable(),
943
+ __param(0, Inject(DOCUMENT$1)),
944
+ __metadata("design:paramtypes", [Object])
945
+ ], DomSharedStylesHost);
953
946
  return DomSharedStylesHost;
954
947
  }(SharedStylesHost));
955
948
 
@@ -1037,14 +1030,10 @@ var DomRendererFactory2 = /** @class */ (function () {
1037
1030
  };
1038
1031
  DomRendererFactory2.prototype.begin = function () { };
1039
1032
  DomRendererFactory2.prototype.end = function () { };
1040
- DomRendererFactory2.decorators = [
1041
- { type: Injectable }
1042
- ];
1043
- /** @nocollapse */
1044
- DomRendererFactory2.ctorParameters = function () { return [
1045
- { type: EventManager },
1046
- { type: DomSharedStylesHost }
1047
- ]; };
1033
+ DomRendererFactory2 = __decorate([
1034
+ Injectable(),
1035
+ __metadata("design:paramtypes", [EventManager, DomSharedStylesHost])
1036
+ ], DomRendererFactory2);
1048
1037
  return DomRendererFactory2;
1049
1038
  }());
1050
1039
  var DefaultDomRenderer2 = /** @class */ (function () {
@@ -1403,15 +1392,12 @@ var DomEventsPlugin = /** @class */ (function (_super) {
1403
1392
  target[NATIVE_REMOVE_LISTENER].apply(target, [eventName, callback, false]);
1404
1393
  }
1405
1394
  };
1406
- DomEventsPlugin.decorators = [
1407
- { type: Injectable }
1408
- ];
1409
- /** @nocollapse */
1410
- DomEventsPlugin.ctorParameters = function () { return [
1411
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT$1,] }] },
1412
- { type: NgZone },
1413
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [PLATFORM_ID,] }] }
1414
- ]; };
1395
+ DomEventsPlugin = __decorate([
1396
+ Injectable(),
1397
+ __param(0, Inject(DOCUMENT$1)),
1398
+ __param(2, Optional()), __param(2, Inject(PLATFORM_ID)),
1399
+ __metadata("design:paramtypes", [Object, NgZone, Object])
1400
+ ], DomEventsPlugin);
1415
1401
  return DomEventsPlugin;
1416
1402
  }(EventManagerPlugin));
1417
1403
 
@@ -1517,9 +1503,9 @@ var HammerGestureConfig = /** @class */ (function () {
1517
1503
  }
1518
1504
  return mc;
1519
1505
  };
1520
- HammerGestureConfig.decorators = [
1521
- { type: Injectable }
1522
- ];
1506
+ HammerGestureConfig = __decorate([
1507
+ Injectable()
1508
+ ], HammerGestureConfig);
1523
1509
  return HammerGestureConfig;
1524
1510
  }());
1525
1511
  var HammerGesturesPlugin = /** @class */ (function (_super) {
@@ -1585,20 +1571,23 @@ var HammerGesturesPlugin = /** @class */ (function (_super) {
1585
1571
  zone.runGuarded(function () { handler(eventObj); });
1586
1572
  };
1587
1573
  mc.on(eventName, callback);
1588
- return function () { return mc.off(eventName, callback); };
1574
+ return function () {
1575
+ mc.off(eventName, callback);
1576
+ // destroy mc to prevent memory leak
1577
+ if (typeof mc.destroy === 'function') {
1578
+ mc.destroy();
1579
+ }
1580
+ };
1589
1581
  });
1590
1582
  };
1591
1583
  HammerGesturesPlugin.prototype.isCustomEvent = function (eventName) { return this._config.events.indexOf(eventName) > -1; };
1592
- HammerGesturesPlugin.decorators = [
1593
- { type: Injectable }
1594
- ];
1595
- /** @nocollapse */
1596
- HammerGesturesPlugin.ctorParameters = function () { return [
1597
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT$1,] }] },
1598
- { type: HammerGestureConfig, decorators: [{ type: Inject, args: [HAMMER_GESTURE_CONFIG,] }] },
1599
- { type: ɵConsole },
1600
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [HAMMER_LOADER,] }] }
1601
- ]; };
1584
+ HammerGesturesPlugin = __decorate([
1585
+ Injectable(),
1586
+ __param(0, Inject(DOCUMENT$1)),
1587
+ __param(1, Inject(HAMMER_GESTURE_CONFIG)),
1588
+ __param(3, Optional()), __param(3, Inject(HAMMER_LOADER)),
1589
+ __metadata("design:paramtypes", [Object, HammerGestureConfig, ɵConsole, Object])
1590
+ ], HammerGesturesPlugin);
1602
1591
  return HammerGesturesPlugin;
1603
1592
  }(EventManagerPlugin));
1604
1593
 
@@ -1636,12 +1625,13 @@ var KeyEventsPlugin = /** @class */ (function (_super) {
1636
1625
  function KeyEventsPlugin(doc) {
1637
1626
  return _super.call(this, doc) || this;
1638
1627
  }
1628
+ KeyEventsPlugin_1 = KeyEventsPlugin;
1639
1629
  /**
1640
1630
  * Reports whether a named key event is supported.
1641
1631
  * @param eventName The event name to query.
1642
1632
  * @return True if the named key event is supported.
1643
1633
  */
1644
- KeyEventsPlugin.prototype.supports = function (eventName) { return KeyEventsPlugin.parseEventName(eventName) != null; };
1634
+ KeyEventsPlugin.prototype.supports = function (eventName) { return KeyEventsPlugin_1.parseEventName(eventName) != null; };
1645
1635
  /**
1646
1636
  * Registers a handler for a specific element and key event.
1647
1637
  * @param element The HTML element to receive event notifications.
@@ -1651,8 +1641,8 @@ var KeyEventsPlugin = /** @class */ (function (_super) {
1651
1641
  * @returns The key event that was registered.
1652
1642
  */
1653
1643
  KeyEventsPlugin.prototype.addEventListener = function (element, eventName, handler) {
1654
- var parsedEvent = KeyEventsPlugin.parseEventName(eventName);
1655
- var outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());
1644
+ var parsedEvent = KeyEventsPlugin_1.parseEventName(eventName);
1645
+ var outsideHandler = KeyEventsPlugin_1.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());
1656
1646
  return this.manager.getZone().runOutsideAngular(function () {
1657
1647
  return getDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);
1658
1648
  });
@@ -1663,7 +1653,7 @@ var KeyEventsPlugin = /** @class */ (function (_super) {
1663
1653
  if ((parts.length === 0) || !(domEventName === 'keydown' || domEventName === 'keyup')) {
1664
1654
  return null;
1665
1655
  }
1666
- var key = KeyEventsPlugin._normalizeKey(parts.pop());
1656
+ var key = KeyEventsPlugin_1._normalizeKey(parts.pop());
1667
1657
  var fullKey = '';
1668
1658
  MODIFIER_KEYS.forEach(function (modifierName) {
1669
1659
  var index = parts.indexOf(modifierName);
@@ -1712,7 +1702,7 @@ var KeyEventsPlugin = /** @class */ (function (_super) {
1712
1702
  */
1713
1703
  KeyEventsPlugin.eventCallback = function (fullKey, handler, zone) {
1714
1704
  return function (event /** TODO #9100 */) {
1715
- if (KeyEventsPlugin.getEventFullKey(event) === fullKey) {
1705
+ if (KeyEventsPlugin_1.getEventFullKey(event) === fullKey) {
1716
1706
  zone.runGuarded(function () { return handler(event); });
1717
1707
  }
1718
1708
  };
@@ -1727,13 +1717,12 @@ var KeyEventsPlugin = /** @class */ (function (_super) {
1727
1717
  return keyName;
1728
1718
  }
1729
1719
  };
1730
- KeyEventsPlugin.decorators = [
1731
- { type: Injectable }
1732
- ];
1733
- /** @nocollapse */
1734
- KeyEventsPlugin.ctorParameters = function () { return [
1735
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT$1,] }] }
1736
- ]; };
1720
+ var KeyEventsPlugin_1;
1721
+ KeyEventsPlugin = KeyEventsPlugin_1 = __decorate([
1722
+ Injectable(),
1723
+ __param(0, Inject(DOCUMENT$1)),
1724
+ __metadata("design:paramtypes", [Object])
1725
+ ], KeyEventsPlugin);
1737
1726
  return KeyEventsPlugin;
1738
1727
  }(EventManagerPlugin));
1739
1728
 
@@ -1838,13 +1827,11 @@ var DomSanitizerImpl = /** @class */ (function (_super) {
1838
1827
  DomSanitizerImpl.prototype.bypassSecurityTrustResourceUrl = function (value) {
1839
1828
  return new SafeResourceUrlImpl(value);
1840
1829
  };
1841
- DomSanitizerImpl.decorators = [
1842
- { type: Injectable }
1843
- ];
1844
- /** @nocollapse */
1845
- DomSanitizerImpl.ctorParameters = function () { return [
1846
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT$1,] }] }
1847
- ]; };
1830
+ DomSanitizerImpl = __decorate([
1831
+ Injectable(),
1832
+ __param(0, Inject(DOCUMENT$1)),
1833
+ __metadata("design:paramtypes", [Object])
1834
+ ], DomSanitizerImpl);
1848
1835
  return DomSanitizerImpl;
1849
1836
  }(DomSanitizer));
1850
1837
  var SafeValueImpl = /** @class */ (function () {
@@ -1964,7 +1951,11 @@ var BROWSER_MODULE_PROVIDERS = [
1964
1951
  ELEMENT_PROBE_PROVIDERS,
1965
1952
  ];
1966
1953
  /**
1967
- * The ng module for the browser.
1954
+ * Exports required infrastructure for all Angular apps.
1955
+ * Included by defaults in all Angular apps created with the CLI
1956
+ * `new` command.
1957
+ * Re-exports `CommonModule` and `ApplicationModule`, making their
1958
+ * exports and providers available to all apps.
1968
1959
  *
1969
1960
  *
1970
1961
  */
@@ -1974,16 +1965,20 @@ var BrowserModule = /** @class */ (function () {
1974
1965
  throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.");
1975
1966
  }
1976
1967
  }
1968
+ BrowserModule_1 = BrowserModule;
1977
1969
  /**
1978
- * Configures a browser-based application to transition from a server-rendered app, if
1979
- * one is present on the page. The specified parameters must include an application id,
1980
- * which must match between the client and server applications.
1970
+ * Configures a browser-based app to transition from a server-rendered app, if
1971
+ * one is present on the page.
1972
+ *
1973
+ * @param params An object containing an identifier for the app to transition.
1974
+ * The ID must match between the client and server versions of the app.
1975
+ * @returns The reconfigured `BrowserModule` to import into the app's root `AppModule`.
1981
1976
  *
1982
1977
  * @experimental
1983
1978
  */
1984
1979
  BrowserModule.withServerTransition = function (params) {
1985
1980
  return {
1986
- ngModule: BrowserModule,
1981
+ ngModule: BrowserModule_1,
1987
1982
  providers: [
1988
1983
  { provide: APP_ID, useValue: params.appId },
1989
1984
  { provide: TRANSITION_ID, useExisting: APP_ID },
@@ -1991,23 +1986,15 @@ var BrowserModule = /** @class */ (function () {
1991
1986
  ],
1992
1987
  };
1993
1988
  };
1994
- BrowserModule.decorators = [
1995
- { type: NgModule, args: [{ providers: BROWSER_MODULE_PROVIDERS, exports: [CommonModule, ApplicationModule] },] }
1996
- ];
1997
- /** @nocollapse */
1998
- BrowserModule.ctorParameters = function () { return [
1999
- { type: undefined, decorators: [{ type: Optional }, { type: SkipSelf }, { type: Inject, args: [BrowserModule,] }] }
2000
- ]; };
1989
+ var BrowserModule_1;
1990
+ BrowserModule = BrowserModule_1 = __decorate([
1991
+ NgModule({ providers: BROWSER_MODULE_PROVIDERS, exports: [CommonModule, ApplicationModule] }),
1992
+ __param(0, Optional()), __param(0, SkipSelf()), __param(0, Inject(BrowserModule_1)),
1993
+ __metadata("design:paramtypes", [Object])
1994
+ ], BrowserModule);
2001
1995
  return BrowserModule;
2002
1996
  }());
2003
1997
 
2004
- /**
2005
- * @license
2006
- * Copyright Google Inc. All Rights Reserved.
2007
- *
2008
- * Use of this source code is governed by an MIT-style license that can be
2009
- * found in the LICENSE file at https://angular.io/license
2010
- */
2011
1998
  /**
2012
1999
  * Factory to create Meta service.
2013
2000
  */
@@ -2099,24 +2086,15 @@ var Meta = /** @class */ (function () {
2099
2086
  var _this = this;
2100
2087
  return Object.keys(tag).every(function (key) { return _this._dom.getAttribute(elem, key) === tag[key]; });
2101
2088
  };
2102
- Meta.decorators = [
2103
- { type: Injectable, args: [{ providedIn: 'root', useFactory: createMeta, deps: [] },] }
2104
- ];
2105
- /** @nocollapse */
2106
- Meta.ctorParameters = function () { return [
2107
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT$1,] }] }
2108
- ]; };
2109
2089
  Meta.ngInjectableDef = defineInjectable({ factory: createMeta, token: Meta, providedIn: "root" });
2090
+ Meta = __decorate([
2091
+ Injectable({ providedIn: 'root', useFactory: createMeta, deps: [] }),
2092
+ __param(0, Inject(DOCUMENT$1)),
2093
+ __metadata("design:paramtypes", [Object])
2094
+ ], Meta);
2110
2095
  return Meta;
2111
2096
  }());
2112
2097
 
2113
- /**
2114
- * @license
2115
- * Copyright Google Inc. All Rights Reserved.
2116
- *
2117
- * Use of this source code is governed by an MIT-style license that can be
2118
- * found in the LICENSE file at https://angular.io/license
2119
- */
2120
2098
  /**
2121
2099
  * Factory to create Title service.
2122
2100
  */
@@ -2146,14 +2124,12 @@ var Title = /** @class */ (function () {
2146
2124
  * @param newTitle
2147
2125
  */
2148
2126
  Title.prototype.setTitle = function (newTitle) { getDOM().setTitle(this._doc, newTitle); };
2149
- Title.decorators = [
2150
- { type: Injectable, args: [{ providedIn: 'root', useFactory: createTitle, deps: [] },] }
2151
- ];
2152
- /** @nocollapse */
2153
- Title.ctorParameters = function () { return [
2154
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT$1,] }] }
2155
- ]; };
2156
2127
  Title.ngInjectableDef = defineInjectable({ factory: createTitle, token: Title, providedIn: "root" });
2128
+ Title = __decorate([
2129
+ Injectable({ providedIn: 'root', useFactory: createTitle, deps: [] }),
2130
+ __param(0, Inject(DOCUMENT$1)),
2131
+ __metadata("design:paramtypes", [Object])
2132
+ ], Title);
2157
2133
  return Title;
2158
2134
  }());
2159
2135
 
@@ -2331,9 +2307,10 @@ var TransferState = /** @class */ (function () {
2331
2307
  this.store = {};
2332
2308
  this.onSerializeCallbacks = {};
2333
2309
  }
2310
+ TransferState_1 = TransferState;
2334
2311
  /** @internal */
2335
2312
  TransferState.init = function (initState) {
2336
- var transferState = new TransferState();
2313
+ var transferState = new TransferState_1();
2337
2314
  transferState.store = initState;
2338
2315
  return transferState;
2339
2316
  };
@@ -2378,9 +2355,10 @@ var TransferState = /** @class */ (function () {
2378
2355
  }
2379
2356
  return JSON.stringify(this.store);
2380
2357
  };
2381
- TransferState.decorators = [
2382
- { type: Injectable }
2383
- ];
2358
+ var TransferState_1;
2359
+ TransferState = TransferState_1 = __decorate([
2360
+ Injectable()
2361
+ ], TransferState);
2384
2362
  return TransferState;
2385
2363
  }());
2386
2364
  function initTransferState(doc, appId) {
@@ -2407,11 +2385,11 @@ function initTransferState(doc, appId) {
2407
2385
  var BrowserTransferStateModule = /** @class */ (function () {
2408
2386
  function BrowserTransferStateModule() {
2409
2387
  }
2410
- BrowserTransferStateModule.decorators = [
2411
- { type: NgModule, args: [{
2412
- providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT$1, APP_ID] }],
2413
- },] }
2414
- ];
2388
+ BrowserTransferStateModule = __decorate([
2389
+ NgModule({
2390
+ providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT$1, APP_ID] }],
2391
+ })
2392
+ ], BrowserTransferStateModule);
2415
2393
  return BrowserTransferStateModule;
2416
2394
  }());
2417
2395
 
@@ -2433,7 +2411,8 @@ var By = /** @class */ (function () {
2433
2411
  /**
2434
2412
  * Match all elements.
2435
2413
  *
2436
- * ## Example
2414
+ * @usageNotes
2415
+ * ### Example
2437
2416
  *
2438
2417
  * {@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}
2439
2418
  */
@@ -2441,7 +2420,8 @@ var By = /** @class */ (function () {
2441
2420
  /**
2442
2421
  * Match elements by the given CSS selector.
2443
2422
  *
2444
- * ## Example
2423
+ * @usageNotes
2424
+ * ### Example
2445
2425
  *
2446
2426
  * {@example platform-browser/dom/debug/ts/by/by.ts region='by_css'}
2447
2427
  */
@@ -2455,7 +2435,8 @@ var By = /** @class */ (function () {
2455
2435
  /**
2456
2436
  * Match elements that have the given directive present.
2457
2437
  *
2458
- * ## Example
2438
+ * @usageNotes
2439
+ * ### Example
2459
2440
  *
2460
2441
  * {@example platform-browser/dom/debug/ts/by/by.ts region='by_directive'}
2461
2442
  */
@@ -2480,7 +2461,7 @@ var By = /** @class */ (function () {
2480
2461
  * Use of this source code is governed by an MIT-style license that can be
2481
2462
  * found in the LICENSE file at https://angular.io/license
2482
2463
  */
2483
- var VERSION = new Version('6.1.6');
2464
+ var VERSION = new Version('6.1.10');
2484
2465
 
2485
2466
  /**
2486
2467
  * @license