@angular/platform-browser 8.0.0-rc.3 → 8.0.1
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.
- package/animations/animations.d.ts +1 -1
- package/animations.d.ts +1 -1
- package/bundles/platform-browser-animations.umd.js +1 -1
- package/bundles/platform-browser-animations.umd.min.js +1 -1
- package/bundles/platform-browser-animations.umd.min.js.map +1 -1
- package/bundles/platform-browser-testing.umd.js +1 -1
- package/bundles/platform-browser-testing.umd.min.js +1 -1
- package/bundles/platform-browser-testing.umd.min.js.map +1 -1
- package/bundles/platform-browser.umd.js +125 -117
- package/bundles/platform-browser.umd.js.map +1 -1
- package/bundles/platform-browser.umd.min.js +8 -8
- package/bundles/platform-browser.umd.min.js.map +1 -1
- package/esm2015/src/browser/browser_adapter.js +18 -11
- package/esm2015/src/dom/debug/ng_probe.js +14 -9
- package/esm2015/src/dom/dom_renderer.js +7 -2
- package/esm2015/src/dom/events/dom_events.js +30 -20
- package/esm2015/src/version.js +1 -1
- package/esm5/src/browser/browser_adapter.js +11 -7
- package/esm5/src/dom/debug/ng_probe.js +11 -9
- package/esm5/src/dom/dom_renderer.js +4 -2
- package/esm5/src/dom/events/dom_events.js +17 -14
- package/esm5/src/version.js +1 -1
- package/fesm2015/animations.js +1 -1
- package/fesm2015/platform-browser.js +63 -39
- package/fesm2015/platform-browser.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm5/animations.js +1 -1
- package/fesm5/platform-browser.js +34 -26
- package/fesm5/platform-browser.js.map +1 -1
- package/fesm5/testing.js +1 -1
- package/package.json +3 -3
- package/platform-browser.d.ts +6 -5
- package/platform-browser.metadata.json +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/fesm2015/testing.js
CHANGED
package/fesm5/animations.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v8.0.
|
2
|
+
* @license Angular v8.0.1
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -168,12 +168,15 @@ var _chromeNumKeyPadMap = {
|
|
168
168
|
'\x60': '0',
|
169
169
|
'\x90': 'NumLock'
|
170
170
|
};
|
171
|
-
var
|
172
|
-
if (ɵglobal['Node']) {
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
}
|
171
|
+
var ɵ0 = function () {
|
172
|
+
if (ɵglobal['Node']) {
|
173
|
+
return ɵglobal['Node'].prototype.contains || function (node) {
|
174
|
+
return !!(this.compareDocumentPosition(node) & 16);
|
175
|
+
};
|
176
|
+
}
|
177
|
+
return undefined;
|
178
|
+
};
|
179
|
+
var nodeContains = (ɵ0)();
|
177
180
|
/**
|
178
181
|
* A `DomAdapter` powered by full browser DOM APIs.
|
179
182
|
*
|
@@ -755,10 +758,11 @@ function exportNgVar(name, value) {
|
|
755
758
|
* Use of this source code is governed by an MIT-style license that can be
|
756
759
|
* found in the LICENSE file at https://angular.io/license
|
757
760
|
*/
|
758
|
-
var
|
761
|
+
var ɵ0$1 = function () { return ({
|
759
762
|
'ApplicationRef': ApplicationRef,
|
760
763
|
'NgZone': NgZone,
|
761
|
-
};
|
764
|
+
}); };
|
765
|
+
var CORE_TOKENS = (ɵ0$1)();
|
762
766
|
var INSPECT_GLOBAL_NAME = 'probe';
|
763
767
|
var CORE_TOKENS_GLOBAL_NAME = 'coreTokens';
|
764
768
|
/**
|
@@ -1164,7 +1168,8 @@ var DefaultDomRenderer2 = /** @class */ (function () {
|
|
1164
1168
|
};
|
1165
1169
|
return DefaultDomRenderer2;
|
1166
1170
|
}());
|
1167
|
-
var
|
1171
|
+
var ɵ0$2 = function () { return '@'.charCodeAt(0); };
|
1172
|
+
var AT_CHARCODE = (ɵ0$2)();
|
1168
1173
|
function checkNoSyntheticProp(name, nameKind) {
|
1169
1174
|
if (name.charCodeAt(0) === AT_CHARCODE) {
|
1170
1175
|
throw new Error("Found the synthetic " + nameKind + " " + name + ". Please include either \"BrowserAnimationsModule\" or \"NoopAnimationsModule\" in your application.");
|
@@ -1235,16 +1240,15 @@ var ShadowDomRenderer = /** @class */ (function (_super) {
|
|
1235
1240
|
* Use of this source code is governed by an MIT-style license that can be
|
1236
1241
|
* found in the LICENSE file at https://angular.io/license
|
1237
1242
|
*/
|
1238
|
-
var ɵ0 = function (
|
1239
|
-
return '__zone_symbol__' + v;
|
1240
|
-
};
|
1243
|
+
var ɵ0$3 = function () { return (typeof Zone !== 'undefined') && Zone['__symbol__'] ||
|
1244
|
+
function (v) { return '__zone_symbol__' + v; }; };
|
1241
1245
|
/**
|
1242
1246
|
* Detect if Zone is present. If it is then use simple zone aware 'addEventListener'
|
1243
1247
|
* since Angular can do much more
|
1244
1248
|
* efficient bookkeeping than Zone can, because we have additional information. This speeds up
|
1245
1249
|
* addEventListener by 3x.
|
1246
1250
|
*/
|
1247
|
-
var __symbol__ = (
|
1251
|
+
var __symbol__ = (ɵ0$3)();
|
1248
1252
|
var ADD_EVENT_LISTENER = __symbol__('addEventListener');
|
1249
1253
|
var REMOVE_EVENT_LISTENER = __symbol__('removeEventListener');
|
1250
1254
|
var symbolNames = {};
|
@@ -1255,12 +1259,16 @@ var NATIVE_REMOVE_LISTENER = 'removeEventListener';
|
|
1255
1259
|
// use the same symbol string which is used in zone.js
|
1256
1260
|
var stopSymbol = '__zone_symbol__propagationStopped';
|
1257
1261
|
var stopMethodSymbol = '__zone_symbol__stopImmediatePropagation';
|
1258
|
-
var
|
1259
|
-
var
|
1260
|
-
if (blackListedEvents) {
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1262
|
+
var ɵ1 = function () {
|
1263
|
+
var blackListedEvents = (typeof Zone !== 'undefined') && Zone[__symbol__('BLACK_LISTED_EVENTS')];
|
1264
|
+
if (blackListedEvents) {
|
1265
|
+
var res_1 = {};
|
1266
|
+
blackListedEvents.forEach(function (eventName) { res_1[eventName] = eventName; });
|
1267
|
+
return res_1;
|
1268
|
+
}
|
1269
|
+
return undefined;
|
1270
|
+
};
|
1271
|
+
var blackListedMap = (ɵ1)();
|
1264
1272
|
var isBlackListedEvent = function (eventName) {
|
1265
1273
|
if (!blackListedMap) {
|
1266
1274
|
return false;
|
@@ -1635,13 +1643,13 @@ var HammerGesturesPlugin = /** @class */ (function (_super) {
|
|
1635
1643
|
* Defines supported modifiers for key events.
|
1636
1644
|
*/
|
1637
1645
|
var MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];
|
1638
|
-
var ɵ0$
|
1646
|
+
var ɵ0$4 = function (event) { return event.altKey; }, ɵ1$1 = function (event) { return event.ctrlKey; }, ɵ2 = function (event) { return event.metaKey; }, ɵ3 = function (event) { return event.shiftKey; };
|
1639
1647
|
/**
|
1640
1648
|
* Retrieves modifiers from key-event objects.
|
1641
1649
|
*/
|
1642
1650
|
var MODIFIER_KEY_GETTERS = {
|
1643
|
-
'alt': ɵ0$
|
1644
|
-
'control': ɵ1,
|
1651
|
+
'alt': ɵ0$4,
|
1652
|
+
'control': ɵ1$1,
|
1645
1653
|
'meta': ɵ2,
|
1646
1654
|
'shift': ɵ3
|
1647
1655
|
};
|
@@ -1926,9 +1934,9 @@ var SafeResourceUrlImpl = /** @class */ (function (_super) {
|
|
1926
1934
|
* Use of this source code is governed by an MIT-style license that can be
|
1927
1935
|
* found in the LICENSE file at https://angular.io/license
|
1928
1936
|
*/
|
1929
|
-
var ɵ0$
|
1937
|
+
var ɵ0$5 = ɵPLATFORM_BROWSER_ID;
|
1930
1938
|
var INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
|
1931
|
-
{ provide: PLATFORM_ID, useValue: ɵ0$
|
1939
|
+
{ provide: PLATFORM_ID, useValue: ɵ0$5 },
|
1932
1940
|
{ provide: PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },
|
1933
1941
|
{ provide: PlatformLocation, useClass: BrowserPlatformLocation, deps: [DOCUMENT] },
|
1934
1942
|
{ provide: DOCUMENT, useFactory: _document, deps: [] },
|
@@ -2495,7 +2503,7 @@ var By = /** @class */ (function () {
|
|
2495
2503
|
/**
|
2496
2504
|
* @publicApi
|
2497
2505
|
*/
|
2498
|
-
var VERSION = new Version('8.0.
|
2506
|
+
var VERSION = new Version('8.0.1');
|
2499
2507
|
|
2500
2508
|
/**
|
2501
2509
|
* @license
|