@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/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
|
*/
|
@@ -208,17 +208,23 @@ const _chromeNumKeyPadMap = {
|
|
208
208
|
'\x60': '0',
|
209
209
|
'\x90': 'NumLock'
|
210
210
|
};
|
211
|
+
const ɵ0 = /**
|
212
|
+
* @return {?}
|
213
|
+
*/
|
214
|
+
() => {
|
215
|
+
if (ɵglobal['Node']) {
|
216
|
+
return ɵglobal['Node'].prototype.contains || (/**
|
217
|
+
* @param {?} node
|
218
|
+
* @return {?}
|
219
|
+
*/
|
220
|
+
function (node) {
|
221
|
+
return !!(this.compareDocumentPosition(node) & 16);
|
222
|
+
});
|
223
|
+
}
|
224
|
+
return (/** @type {?} */ (undefined));
|
225
|
+
};
|
211
226
|
/** @type {?} */
|
212
|
-
|
213
|
-
if (ɵglobal['Node']) {
|
214
|
-
nodeContains = ɵglobal['Node'].prototype.contains || (/**
|
215
|
-
* @param {?} node
|
216
|
-
* @return {?}
|
217
|
-
*/
|
218
|
-
function (node) {
|
219
|
-
return !!(this.compareDocumentPosition(node) & 16);
|
220
|
-
});
|
221
|
-
}
|
227
|
+
const nodeContains = ((ɵ0))();
|
222
228
|
/**
|
223
229
|
* A `DomAdapter` powered by full browser DOM APIs.
|
224
230
|
*
|
@@ -1403,11 +1409,15 @@ function exportNgVar(name, value) {
|
|
1403
1409
|
* @fileoverview added by tsickle
|
1404
1410
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
1405
1411
|
*/
|
1406
|
-
|
1407
|
-
|
1412
|
+
const ɵ0$1 = /**
|
1413
|
+
* @return {?}
|
1414
|
+
*/
|
1415
|
+
() => ({
|
1408
1416
|
'ApplicationRef': ApplicationRef,
|
1409
1417
|
'NgZone': NgZone,
|
1410
|
-
};
|
1418
|
+
});
|
1419
|
+
/** @type {?} */
|
1420
|
+
const CORE_TOKENS = ((ɵ0$1))();
|
1411
1421
|
/** @type {?} */
|
1412
1422
|
const INSPECT_GLOBAL_NAME = 'probe';
|
1413
1423
|
/** @type {?} */
|
@@ -2062,8 +2072,12 @@ class DefaultDomRenderer2 {
|
|
2062
2072
|
return (/** @type {?} */ ((/** @type {?} */ (this.eventManager.addEventListener(target, event, decoratePreventDefault(callback))))));
|
2063
2073
|
}
|
2064
2074
|
}
|
2075
|
+
const ɵ0$2 = /**
|
2076
|
+
* @return {?}
|
2077
|
+
*/
|
2078
|
+
() => '@'.charCodeAt(0);
|
2065
2079
|
/** @type {?} */
|
2066
|
-
const AT_CHARCODE =
|
2080
|
+
const AT_CHARCODE = ((ɵ0$2))();
|
2067
2081
|
/**
|
2068
2082
|
* @param {?} name
|
2069
2083
|
* @param {?} nameKind
|
@@ -2183,13 +2197,15 @@ class ShadowDomRenderer extends DefaultDomRenderer2 {
|
|
2183
2197
|
* @fileoverview added by tsickle
|
2184
2198
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
2185
2199
|
*/
|
2186
|
-
const ɵ0 = /**
|
2187
|
-
* @param {?} v
|
2200
|
+
const ɵ0$3 = /**
|
2188
2201
|
* @return {?}
|
2189
2202
|
*/
|
2190
|
-
|
2191
|
-
|
2192
|
-
}
|
2203
|
+
() => (typeof Zone !== 'undefined') && ((/** @type {?} */ (Zone)))['__symbol__'] ||
|
2204
|
+
(/**
|
2205
|
+
* @param {?} v
|
2206
|
+
* @return {?}
|
2207
|
+
*/
|
2208
|
+
function (v) { return '__zone_symbol__' + v; });
|
2193
2209
|
/**
|
2194
2210
|
* Detect if Zone is present. If it is then use simple zone aware 'addEventListener'
|
2195
2211
|
* since Angular can do much more
|
@@ -2197,7 +2213,7 @@ function (v) {
|
|
2197
2213
|
* addEventListener by 3x.
|
2198
2214
|
* @type {?}
|
2199
2215
|
*/
|
2200
|
-
const __symbol__ = (
|
2216
|
+
const __symbol__ = ((ɵ0$3))();
|
2201
2217
|
/** @type {?} */
|
2202
2218
|
const ADD_EVENT_LISTENER = __symbol__('addEventListener');
|
2203
2219
|
/** @type {?} */
|
@@ -2217,18 +2233,26 @@ const NATIVE_REMOVE_LISTENER = 'removeEventListener';
|
|
2217
2233
|
const stopSymbol = '__zone_symbol__propagationStopped';
|
2218
2234
|
/** @type {?} */
|
2219
2235
|
const stopMethodSymbol = '__zone_symbol__stopImmediatePropagation';
|
2236
|
+
const ɵ1 = /**
|
2237
|
+
* @return {?}
|
2238
|
+
*/
|
2239
|
+
() => {
|
2240
|
+
/** @type {?} */
|
2241
|
+
const blackListedEvents = (typeof Zone !== 'undefined') && ((/** @type {?} */ (Zone)))[__symbol__('BLACK_LISTED_EVENTS')];
|
2242
|
+
if (blackListedEvents) {
|
2243
|
+
/** @type {?} */
|
2244
|
+
const res = {};
|
2245
|
+
blackListedEvents.forEach((/**
|
2246
|
+
* @param {?} eventName
|
2247
|
+
* @return {?}
|
2248
|
+
*/
|
2249
|
+
eventName => { res[eventName] = eventName; }));
|
2250
|
+
return res;
|
2251
|
+
}
|
2252
|
+
return undefined;
|
2253
|
+
};
|
2220
2254
|
/** @type {?} */
|
2221
|
-
const
|
2222
|
-
/** @type {?} */
|
2223
|
-
let blackListedMap;
|
2224
|
-
if (blackListedEvents) {
|
2225
|
-
blackListedMap = {};
|
2226
|
-
blackListedEvents.forEach((/**
|
2227
|
-
* @param {?} eventName
|
2228
|
-
* @return {?}
|
2229
|
-
*/
|
2230
|
-
eventName => { blackListedMap[eventName] = eventName; }));
|
2231
|
-
}
|
2255
|
+
const blackListedMap = ((ɵ1))();
|
2232
2256
|
/** @type {?} */
|
2233
2257
|
const isBlackListedEvent = (/**
|
2234
2258
|
* @param {?} eventName
|
@@ -2714,11 +2738,11 @@ HammerGesturesPlugin.ctorParameters = () => [
|
|
2714
2738
|
* @type {?}
|
2715
2739
|
*/
|
2716
2740
|
const MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];
|
2717
|
-
const ɵ0$
|
2741
|
+
const ɵ0$4 = /**
|
2718
2742
|
* @param {?} event
|
2719
2743
|
* @return {?}
|
2720
2744
|
*/
|
2721
|
-
(event) => event.altKey, ɵ1 = /**
|
2745
|
+
(event) => event.altKey, ɵ1$1 = /**
|
2722
2746
|
* @param {?} event
|
2723
2747
|
* @return {?}
|
2724
2748
|
*/
|
@@ -2736,8 +2760,8 @@ const ɵ0$1 = /**
|
|
2736
2760
|
* @type {?}
|
2737
2761
|
*/
|
2738
2762
|
const MODIFIER_KEY_GETTERS = {
|
2739
|
-
'alt': (ɵ0$
|
2740
|
-
'control': (ɵ1),
|
2763
|
+
'alt': (ɵ0$4),
|
2764
|
+
'control': (ɵ1$1),
|
2741
2765
|
'meta': (ɵ2),
|
2742
2766
|
'shift': (ɵ3)
|
2743
2767
|
};
|
@@ -3082,10 +3106,10 @@ class SafeResourceUrlImpl extends SafeValueImpl {
|
|
3082
3106
|
* @fileoverview added by tsickle
|
3083
3107
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
3084
3108
|
*/
|
3085
|
-
const ɵ0$
|
3109
|
+
const ɵ0$5 = ɵPLATFORM_BROWSER_ID;
|
3086
3110
|
/** @type {?} */
|
3087
3111
|
const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
|
3088
|
-
{ provide: PLATFORM_ID, useValue: ɵ0$
|
3112
|
+
{ provide: PLATFORM_ID, useValue: ɵ0$5 },
|
3089
3113
|
{ provide: PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },
|
3090
3114
|
{ provide: PlatformLocation, useClass: BrowserPlatformLocation, deps: [DOCUMENT] },
|
3091
3115
|
{ provide: DOCUMENT, useFactory: _document, deps: [] },
|
@@ -3819,7 +3843,7 @@ class By {
|
|
3819
3843
|
* \@publicApi
|
3820
3844
|
* @type {?}
|
3821
3845
|
*/
|
3822
|
-
const VERSION = new Version('8.0.
|
3846
|
+
const VERSION = new Version('8.0.1');
|
3823
3847
|
|
3824
3848
|
/**
|
3825
3849
|
* @fileoverview added by tsickle
|