@angular/platform-browser 13.0.0-next.8 → 13.0.0-rc.2
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 +47 -56
- package/animations/package.json +5 -5
- package/esm2020/animations/animations.mjs +5 -0
- package/{esm2015/animations/index.js → esm2020/animations/index.mjs} +0 -0
- package/{esm2015/animations/public_api.js → esm2020/animations/public_api.mjs} +0 -0
- package/esm2020/animations/src/animation_builder.mjs +106 -0
- package/esm2020/animations/src/animation_renderer.mjs +248 -0
- package/{esm2015/animations/src/animations.js → esm2020/animations/src/animations.mjs} +0 -0
- package/esm2020/animations/src/module.mjs +68 -0
- package/{esm2015/animations/src/private_export.js → esm2020/animations/src/private_export.mjs} +0 -0
- package/esm2020/animations/src/providers.mjs +71 -0
- package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- package/esm2020/platform-browser.mjs +5 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/{esm2015/src/browser/browser_adapter.js → esm2020/src/browser/browser_adapter.mjs} +0 -0
- package/{esm2015/src/browser/generic_browser_adapter.js → esm2020/src/browser/generic_browser_adapter.mjs} +0 -0
- package/esm2020/src/browser/meta.mjs +182 -0
- package/{esm2015/src/browser/server-transition.js → esm2020/src/browser/server-transition.mjs} +0 -0
- package/{esm2015/src/browser/testability.js → esm2020/src/browser/testability.mjs} +0 -0
- package/esm2020/src/browser/title.mjs +54 -0
- package/{esm2015/src/browser/tools/browser.js → esm2020/src/browser/tools/browser.mjs} +0 -0
- package/{esm2015/src/browser/tools/common_tools.js → esm2020/src/browser/tools/common_tools.mjs} +0 -0
- package/{esm2015/src/browser/tools/tools.js → esm2020/src/browser/tools/tools.mjs} +0 -0
- package/esm2020/src/browser/transfer_state.mjs +158 -0
- package/esm2020/src/browser/xhr.mjs +16 -0
- package/esm2020/src/browser.mjs +132 -0
- package/{esm2015/src/dom/debug/by.js → esm2020/src/dom/debug/by.mjs} +0 -0
- package/esm2020/src/dom/debug/ng_probe.mjs +54 -0
- package/esm2020/src/dom/dom_renderer.mjs +310 -0
- package/esm2020/src/dom/events/dom_events.mjs +37 -0
- package/esm2020/src/dom/events/event_manager.mjs +103 -0
- package/esm2020/src/dom/events/hammer_gestures.mjs +266 -0
- package/esm2020/src/dom/events/key_events.mjs +204 -0
- package/esm2020/src/dom/shared_styles_host.mjs +83 -0
- package/{esm2015/src/dom/util.js → esm2020/src/dom/util.mjs} +0 -0
- package/{esm2015/src/platform-browser.js → esm2020/src/platform-browser.mjs} +0 -0
- package/{esm2015/src/private_export.js → esm2020/src/private_export.mjs} +0 -0
- package/{esm2015/src/security/dom_sanitization_service.js → esm2020/src/security/dom_sanitization_service.mjs} +16 -12
- package/{esm2015/src/version.js → esm2020/src/version.mjs} +1 -1
- package/{esm2015/testing/index.js → esm2020/testing/index.mjs} +0 -0
- package/{esm2015/testing/public_api.js → esm2020/testing/public_api.mjs} +0 -0
- package/esm2020/testing/src/browser.mjs +48 -0
- package/{esm2015/testing/src/browser_util.js → esm2020/testing/src/browser_util.mjs} +0 -0
- package/{esm2015/testing/src/matchers.js → esm2020/testing/src/matchers.mjs} +0 -0
- package/{esm2015/testing/src/testing.js → esm2020/testing/src/testing.mjs} +0 -0
- package/esm2020/testing/testing.mjs +5 -0
- package/fesm2015/{animations.js → animations.mjs} +52 -40
- package/fesm2015/animations.mjs.map +1 -0
- package/fesm2015/platform-browser.mjs +2152 -0
- package/fesm2015/platform-browser.mjs.map +1 -0
- package/fesm2015/{testing.js → testing.mjs} +23 -15
- package/fesm2015/testing.mjs.map +1 -0
- package/fesm2020/animations.mjs +524 -0
- package/fesm2020/animations.mjs.map +1 -0
- package/{fesm2015/platform-browser.js → fesm2020/platform-browser.mjs} +157 -121
- package/fesm2020/platform-browser.mjs.map +1 -0
- package/fesm2020/testing.mjs +285 -0
- package/fesm2020/testing.mjs.map +1 -0
- package/package.json +40 -10
- package/platform-browser.d.ts +63 -78
- package/testing/package.json +5 -5
- package/testing/testing.d.ts +6 -4
- package/animations/animations.metadata.json +0 -1
- package/animations.d.ts +0 -7
- package/animations.metadata.json +0 -1
- package/bundles/platform-browser-animations.umd.js +0 -873
- package/bundles/platform-browser-animations.umd.js.map +0 -1
- package/bundles/platform-browser-testing.umd.js +0 -684
- package/bundles/platform-browser-testing.umd.js.map +0 -1
- package/bundles/platform-browser.umd.js +0 -2506
- package/bundles/platform-browser.umd.js.map +0 -1
- package/esm2015/animations/animations.externs.js +0 -6
- package/esm2015/animations/animations.js +0 -7
- package/esm2015/animations/src/animation_builder.js +0 -105
- package/esm2015/animations/src/animation_renderer.js +0 -249
- package/esm2015/animations/src/module.js +0 -59
- package/esm2015/animations/src/providers.js +0 -69
- package/esm2015/platform-browser.externs.js +0 -6
- package/esm2015/platform-browser.js +0 -16
- package/esm2015/src/browser/meta.js +0 -180
- package/esm2015/src/browser/title.js +0 -52
- package/esm2015/src/browser/transfer_state.js +0 -151
- package/esm2015/src/browser/xhr.js +0 -20
- package/esm2015/src/browser.js +0 -125
- package/esm2015/src/dom/debug/ng_probe.js +0 -56
- package/esm2015/src/dom/dom_renderer.js +0 -309
- package/esm2015/src/dom/events/dom_events.js +0 -34
- package/esm2015/src/dom/events/event_manager.js +0 -101
- package/esm2015/src/dom/events/hammer_gestures.js +0 -252
- package/esm2015/src/dom/events/key_events.js +0 -203
- package/esm2015/src/dom/shared_styles_host.js +0 -78
- package/esm2015/testing/src/browser.js +0 -41
- package/esm2015/testing/testing.externs.js +0 -6
- package/esm2015/testing/testing.js +0 -6
- package/fesm2015/animations.js.map +0 -1
- package/fesm2015/platform-browser.js.map +0 -1
- package/fesm2015/testing.js.map +0 -1
- package/platform-browser.metadata.json +0 -1
- package/testing/testing.metadata.json +0 -1
- package/testing.d.ts +0 -7
- package/testing.metadata.json +0 -1
@@ -1,12 +1,13 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v13.0.0-
|
2
|
+
* @license Angular v13.0.0-rc.2
|
3
3
|
* (c) 2010-2021 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
6
6
|
|
7
7
|
import { ɵDomAdapter, ɵsetRootDomAdapter, ɵparseCookieValue, ɵgetDOM, DOCUMENT, ɵPLATFORM_BROWSER_ID, XhrFactory, CommonModule } from '@angular/common';
|
8
8
|
export { ɵgetDOM } from '@angular/common';
|
9
|
-
import
|
9
|
+
import * as i0 from '@angular/core';
|
10
|
+
import { InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injector, setTestabilityGetter, ɵglobal, Injectable, ApplicationRef, NgZone, ɵgetDebugNodeR2, NgProbeToken, Optional, Inject, ViewEncapsulation, APP_ID, RendererStyleFlags2, ɵConsole, NgModule, forwardRef, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵgetSanitizationBypassType, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, ErrorHandler, ɵsetDocument, PLATFORM_ID, PLATFORM_INITIALIZER, Sanitizer, createPlatformFactory, platformCore, ɵINJECTOR_SCOPE, RendererFactory2, Testability, ApplicationModule, SkipSelf, ɵɵinject, Version } from '@angular/core';
|
10
11
|
|
11
12
|
/**
|
12
13
|
* @license
|
@@ -212,13 +213,6 @@ class BrowserGetTestability {
|
|
212
213
|
}
|
213
214
|
}
|
214
215
|
|
215
|
-
/**
|
216
|
-
* @license
|
217
|
-
* Copyright Google LLC All Rights Reserved.
|
218
|
-
*
|
219
|
-
* Use of this source code is governed by an MIT-style license that can be
|
220
|
-
* found in the LICENSE file at https://angular.io/license
|
221
|
-
*/
|
222
216
|
/**
|
223
217
|
* A factory for `HttpXhrBackend` that uses the `XMLHttpRequest` browser API.
|
224
218
|
*/
|
@@ -227,9 +221,11 @@ class BrowserXhr {
|
|
227
221
|
return new XMLHttpRequest();
|
228
222
|
}
|
229
223
|
}
|
230
|
-
BrowserXhr
|
231
|
-
|
232
|
-
|
224
|
+
BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
225
|
+
BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserXhr });
|
226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserXhr, decorators: [{
|
227
|
+
type: Injectable
|
228
|
+
}] });
|
233
229
|
|
234
230
|
/**
|
235
231
|
* @license
|
@@ -271,11 +267,10 @@ function exportNgVar(name, value) {
|
|
271
267
|
* Use of this source code is governed by an MIT-style license that can be
|
272
268
|
* found in the LICENSE file at https://angular.io/license
|
273
269
|
*/
|
274
|
-
const
|
270
|
+
const CORE_TOKENS = (() => ({
|
275
271
|
'ApplicationRef': ApplicationRef,
|
276
272
|
'NgZone': NgZone,
|
277
|
-
});
|
278
|
-
const CORE_TOKENS = (ɵ0)();
|
273
|
+
}))();
|
279
274
|
const INSPECT_GLOBAL_NAME = 'probe';
|
280
275
|
const CORE_TOKENS_GLOBAL_NAME = 'coreTokens';
|
281
276
|
/**
|
@@ -288,7 +283,7 @@ function inspectNativeElementR2(element) {
|
|
288
283
|
}
|
289
284
|
function _createNgProbeR2(coreTokens) {
|
290
285
|
exportNgVar(INSPECT_GLOBAL_NAME, inspectNativeElementR2);
|
291
|
-
exportNgVar(CORE_TOKENS_GLOBAL_NAME,
|
286
|
+
exportNgVar(CORE_TOKENS_GLOBAL_NAME, { ...CORE_TOKENS, ..._ngProbeTokensToMap(coreTokens || []) });
|
292
287
|
return () => inspectNativeElementR2;
|
293
288
|
}
|
294
289
|
function _ngProbeTokensToMap(tokens) {
|
@@ -315,7 +310,7 @@ const ELEMENT_PROBE_PROVIDERS__PRE_R3__ = [
|
|
315
310
|
multi: true,
|
316
311
|
},
|
317
312
|
];
|
318
|
-
const ELEMENT_PROBE_PROVIDERS =
|
313
|
+
const ELEMENT_PROBE_PROVIDERS = ELEMENT_PROBE_PROVIDERS__POST_R3__;
|
319
314
|
|
320
315
|
/**
|
321
316
|
* @license
|
@@ -396,13 +391,14 @@ class EventManager {
|
|
396
391
|
throw new Error(`No event manager plugin found for event ${eventName}`);
|
397
392
|
}
|
398
393
|
}
|
399
|
-
EventManager
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
]
|
394
|
+
EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
395
|
+
EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: EventManager });
|
396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: EventManager, decorators: [{
|
397
|
+
type: Injectable
|
398
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
399
|
+
type: Inject,
|
400
|
+
args: [EVENT_MANAGER_PLUGINS]
|
401
|
+
}] }, { type: i0.NgZone }]; } });
|
406
402
|
class EventManagerPlugin {
|
407
403
|
constructor(_doc) {
|
408
404
|
this._doc = _doc;
|
@@ -443,9 +439,11 @@ class SharedStylesHost {
|
|
443
439
|
return Array.from(this._stylesSet);
|
444
440
|
}
|
445
441
|
}
|
446
|
-
SharedStylesHost
|
447
|
-
|
448
|
-
|
442
|
+
SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
443
|
+
SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: SharedStylesHost });
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: SharedStylesHost, decorators: [{
|
445
|
+
type: Injectable
|
446
|
+
}] });
|
449
447
|
class DomSharedStylesHost extends SharedStylesHost {
|
450
448
|
constructor(_doc) {
|
451
449
|
super();
|
@@ -482,12 +480,14 @@ class DomSharedStylesHost extends SharedStylesHost {
|
|
482
480
|
this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
|
483
481
|
}
|
484
482
|
}
|
485
|
-
DomSharedStylesHost
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
483
|
+
DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
484
|
+
DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomSharedStylesHost });
|
485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomSharedStylesHost, decorators: [{
|
486
|
+
type: Injectable
|
487
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
488
|
+
type: Inject,
|
489
|
+
args: [DOCUMENT]
|
490
|
+
}] }]; } });
|
491
491
|
function removeStyle(styleNode) {
|
492
492
|
ɵgetDOM().remove(styleNode);
|
493
493
|
}
|
@@ -602,14 +602,14 @@ class DomRendererFactory2 {
|
|
602
602
|
begin() { }
|
603
603
|
end() { }
|
604
604
|
}
|
605
|
-
DomRendererFactory2
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
];
|
605
|
+
DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
606
|
+
DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomRendererFactory2 });
|
607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomRendererFactory2, decorators: [{
|
608
|
+
type: Injectable
|
609
|
+
}], ctorParameters: function () { return [{ type: EventManager }, { type: DomSharedStylesHost }, { type: undefined, decorators: [{
|
610
|
+
type: Inject,
|
611
|
+
args: [APP_ID]
|
612
|
+
}] }]; } });
|
613
613
|
class DefaultDomRenderer2 {
|
614
614
|
constructor(eventManager) {
|
615
615
|
this.eventManager = eventManager;
|
@@ -736,8 +736,7 @@ class DefaultDomRenderer2 {
|
|
736
736
|
return this.eventManager.addEventListener(target, event, decoratePreventDefault(callback));
|
737
737
|
}
|
738
738
|
}
|
739
|
-
const
|
740
|
-
const AT_CHARCODE = (ɵ0$1)();
|
739
|
+
const AT_CHARCODE = (() => '@'.charCodeAt(0))();
|
741
740
|
function checkNoSyntheticProp(name, nameKind) {
|
742
741
|
if (name.charCodeAt(0) === AT_CHARCODE) {
|
743
742
|
throw new Error(`Unexpected synthetic ${nameKind} ${name} found. Please make sure that:
|
@@ -821,12 +820,14 @@ class DomEventsPlugin extends EventManagerPlugin {
|
|
821
820
|
return target.removeEventListener(eventName, callback);
|
822
821
|
}
|
823
822
|
}
|
824
|
-
DomEventsPlugin
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
823
|
+
DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
824
|
+
DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomEventsPlugin });
|
825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomEventsPlugin, decorators: [{
|
826
|
+
type: Injectable
|
827
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
828
|
+
type: Inject,
|
829
|
+
args: [DOCUMENT]
|
830
|
+
}] }]; } });
|
830
831
|
|
831
832
|
/**
|
832
833
|
* @license
|
@@ -937,9 +938,11 @@ class HammerGestureConfig {
|
|
937
938
|
return mc;
|
938
939
|
}
|
939
940
|
}
|
940
|
-
HammerGestureConfig
|
941
|
-
|
942
|
-
|
941
|
+
HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
942
|
+
HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerGestureConfig });
|
943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerGestureConfig, decorators: [{
|
944
|
+
type: Injectable
|
945
|
+
}] });
|
943
946
|
/**
|
944
947
|
* Event plugin that adds Hammer support to an application.
|
945
948
|
*
|
@@ -1032,15 +1035,22 @@ class HammerGesturesPlugin extends EventManagerPlugin {
|
|
1032
1035
|
return this._config.events.indexOf(eventName) > -1;
|
1033
1036
|
}
|
1034
1037
|
}
|
1035
|
-
HammerGesturesPlugin
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1038
|
+
HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
1039
|
+
HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerGesturesPlugin });
|
1040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
|
1041
|
+
type: Injectable
|
1042
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1043
|
+
type: Inject,
|
1044
|
+
args: [DOCUMENT]
|
1045
|
+
}] }, { type: HammerGestureConfig, decorators: [{
|
1046
|
+
type: Inject,
|
1047
|
+
args: [HAMMER_GESTURE_CONFIG]
|
1048
|
+
}] }, { type: i0.ɵConsole }, { type: undefined, decorators: [{
|
1049
|
+
type: Optional
|
1050
|
+
}, {
|
1051
|
+
type: Inject,
|
1052
|
+
args: [HAMMER_LOADER]
|
1053
|
+
}] }]; } });
|
1044
1054
|
/**
|
1045
1055
|
* In Ivy, support for Hammer gestures is optional, so applications must
|
1046
1056
|
* import the `HammerModule` at root to turn on support. This means that
|
@@ -1059,7 +1069,7 @@ const HAMMER_PROVIDERS__PRE_R3__ = [
|
|
1059
1069
|
},
|
1060
1070
|
{ provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
|
1061
1071
|
];
|
1062
|
-
const HAMMER_PROVIDERS =
|
1072
|
+
const HAMMER_PROVIDERS = HAMMER_PROVIDERS__POST_R3__;
|
1063
1073
|
/**
|
1064
1074
|
* Adds support for HammerJS.
|
1065
1075
|
*
|
@@ -1073,9 +1083,13 @@ const HAMMER_PROVIDERS = HAMMER_PROVIDERS__PRE_R3__;
|
|
1073
1083
|
*/
|
1074
1084
|
class HammerModule {
|
1075
1085
|
}
|
1076
|
-
HammerModule
|
1077
|
-
|
1078
|
-
|
1086
|
+
HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1087
|
+
HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerModule });
|
1088
|
+
HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerModule, providers: HAMMER_PROVIDERS__PRE_R3__ });
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: HammerModule, decorators: [{
|
1090
|
+
type: NgModule,
|
1091
|
+
args: [{ providers: HAMMER_PROVIDERS__PRE_R3__ }]
|
1092
|
+
}] });
|
1079
1093
|
|
1080
1094
|
/**
|
1081
1095
|
* @license
|
@@ -1128,15 +1142,14 @@ const _chromeNumKeyPadMap = {
|
|
1128
1142
|
'\x60': '0',
|
1129
1143
|
'\x90': 'NumLock'
|
1130
1144
|
};
|
1131
|
-
const ɵ0$2 = (event) => event.altKey, ɵ1 = (event) => event.ctrlKey, ɵ2 = (event) => event.metaKey, ɵ3 = (event) => event.shiftKey;
|
1132
1145
|
/**
|
1133
1146
|
* Retrieves modifiers from key-event objects.
|
1134
1147
|
*/
|
1135
1148
|
const MODIFIER_KEY_GETTERS = {
|
1136
|
-
'alt':
|
1137
|
-
'control':
|
1138
|
-
'meta':
|
1139
|
-
'shift':
|
1149
|
+
'alt': (event) => event.altKey,
|
1150
|
+
'control': (event) => event.ctrlKey,
|
1151
|
+
'meta': (event) => event.metaKey,
|
1152
|
+
'shift': (event) => event.shiftKey
|
1140
1153
|
};
|
1141
1154
|
/**
|
1142
1155
|
* @publicApi
|
@@ -1247,12 +1260,14 @@ class KeyEventsPlugin extends EventManagerPlugin {
|
|
1247
1260
|
}
|
1248
1261
|
}
|
1249
1262
|
}
|
1250
|
-
KeyEventsPlugin
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1263
|
+
KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1264
|
+
KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: KeyEventsPlugin });
|
1265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: KeyEventsPlugin, decorators: [{
|
1266
|
+
type: Injectable
|
1267
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1268
|
+
type: Inject,
|
1269
|
+
args: [DOCUMENT]
|
1270
|
+
}] }]; } });
|
1256
1271
|
function getEventKey(event) {
|
1257
1272
|
let key = event.key;
|
1258
1273
|
if (key == null) {
|
@@ -1316,10 +1331,12 @@ function getEventKey(event) {
|
|
1316
1331
|
*/
|
1317
1332
|
class DomSanitizer {
|
1318
1333
|
}
|
1319
|
-
DomSanitizer.ɵ
|
1320
|
-
DomSanitizer
|
1321
|
-
|
1322
|
-
|
1334
|
+
DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1335
|
+
DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
|
1336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomSanitizer, decorators: [{
|
1337
|
+
type: Injectable,
|
1338
|
+
args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
|
1339
|
+
}] });
|
1323
1340
|
function domSanitizerImplFactory(injector) {
|
1324
1341
|
return new DomSanitizerImpl(injector.get(DOCUMENT));
|
1325
1342
|
}
|
@@ -1380,13 +1397,15 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
1380
1397
|
return ɵbypassSanitizationTrustResourceUrl(value);
|
1381
1398
|
}
|
1382
1399
|
}
|
1383
|
-
DomSanitizerImpl.ɵ
|
1384
|
-
DomSanitizerImpl
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1400
|
+
DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1401
|
+
DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
|
1402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: DomSanitizerImpl, decorators: [{
|
1403
|
+
type: Injectable,
|
1404
|
+
args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
|
1405
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1406
|
+
type: Inject,
|
1407
|
+
args: [DOCUMENT]
|
1408
|
+
}] }]; } });
|
1390
1409
|
|
1391
1410
|
/**
|
1392
1411
|
* @license
|
@@ -1407,9 +1426,8 @@ function _document() {
|
|
1407
1426
|
ɵsetDocument(document);
|
1408
1427
|
return document;
|
1409
1428
|
}
|
1410
|
-
const ɵ0$3 = ɵPLATFORM_BROWSER_ID;
|
1411
1429
|
const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
|
1412
|
-
{ provide: PLATFORM_ID, useValue: ɵ
|
1430
|
+
{ provide: PLATFORM_ID, useValue: ɵPLATFORM_BROWSER_ID },
|
1413
1431
|
{ provide: PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },
|
1414
1432
|
{ provide: DOCUMENT, useFactory: _document, deps: [] },
|
1415
1433
|
];
|
@@ -1424,7 +1442,7 @@ const BROWSER_SANITIZATION_PROVIDERS__POST_R3__ = [];
|
|
1424
1442
|
* application to XSS risks. For more detail, see the [Security Guide](https://g.co/ng/security).
|
1425
1443
|
* @publicApi
|
1426
1444
|
*/
|
1427
|
-
const BROWSER_SANITIZATION_PROVIDERS =
|
1445
|
+
const BROWSER_SANITIZATION_PROVIDERS = BROWSER_SANITIZATION_PROVIDERS__POST_R3__;
|
1428
1446
|
/**
|
1429
1447
|
* A factory function that returns a `PlatformRef` instance associated with browser service
|
1430
1448
|
* providers.
|
@@ -1491,12 +1509,20 @@ class BrowserModule {
|
|
1491
1509
|
};
|
1492
1510
|
}
|
1493
1511
|
}
|
1494
|
-
BrowserModule
|
1495
|
-
|
1496
|
-
];
|
1497
|
-
|
1498
|
-
|
1499
|
-
]
|
1512
|
+
BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserModule, deps: [{ token: BrowserModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
1513
|
+
BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
|
1514
|
+
BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserModule, providers: BROWSER_MODULE_PROVIDERS, imports: [CommonModule, ApplicationModule] });
|
1515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserModule, decorators: [{
|
1516
|
+
type: NgModule,
|
1517
|
+
args: [{ providers: BROWSER_MODULE_PROVIDERS, exports: [CommonModule, ApplicationModule] }]
|
1518
|
+
}], ctorParameters: function () { return [{ type: BrowserModule, decorators: [{
|
1519
|
+
type: Optional
|
1520
|
+
}, {
|
1521
|
+
type: SkipSelf
|
1522
|
+
}, {
|
1523
|
+
type: Inject,
|
1524
|
+
args: [BrowserModule]
|
1525
|
+
}] }]; } });
|
1500
1526
|
|
1501
1527
|
/**
|
1502
1528
|
* @license
|
@@ -1661,13 +1687,15 @@ class Meta {
|
|
1661
1687
|
return META_KEYS_MAP[prop] || prop;
|
1662
1688
|
}
|
1663
1689
|
}
|
1664
|
-
Meta.ɵ
|
1665
|
-
Meta
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1690
|
+
Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1691
|
+
Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
|
1692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: Meta, decorators: [{
|
1693
|
+
type: Injectable,
|
1694
|
+
args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
|
1695
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1696
|
+
type: Inject,
|
1697
|
+
args: [DOCUMENT]
|
1698
|
+
}] }]; } });
|
1671
1699
|
/**
|
1672
1700
|
* Mapping for MetaDefinition properties with their correct meta attribute names
|
1673
1701
|
*/
|
@@ -1716,13 +1744,15 @@ class Title {
|
|
1716
1744
|
this._doc.title = newTitle || '';
|
1717
1745
|
}
|
1718
1746
|
}
|
1719
|
-
Title.ɵ
|
1720
|
-
Title
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1747
|
+
Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1748
|
+
Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
|
1749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: Title, decorators: [{
|
1750
|
+
type: Injectable,
|
1751
|
+
args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
|
1752
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1753
|
+
type: Inject,
|
1754
|
+
args: [DOCUMENT]
|
1755
|
+
}] }]; } });
|
1726
1756
|
|
1727
1757
|
/**
|
1728
1758
|
* @license
|
@@ -1950,9 +1980,11 @@ class TransferState {
|
|
1950
1980
|
return JSON.stringify(this.store);
|
1951
1981
|
}
|
1952
1982
|
}
|
1953
|
-
TransferState
|
1954
|
-
|
1955
|
-
|
1983
|
+
TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1984
|
+
TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: TransferState });
|
1985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: TransferState, decorators: [{
|
1986
|
+
type: Injectable
|
1987
|
+
}] });
|
1956
1988
|
function initTransferState(doc, appId) {
|
1957
1989
|
// Locate the script tag with the JSON data transferred from the server.
|
1958
1990
|
// The id of the script tag is set to the Angular appId + 'state'.
|
@@ -1977,11 +2009,15 @@ function initTransferState(doc, appId) {
|
|
1977
2009
|
*/
|
1978
2010
|
class BrowserTransferStateModule {
|
1979
2011
|
}
|
1980
|
-
BrowserTransferStateModule
|
1981
|
-
|
1982
|
-
|
1983
|
-
|
1984
|
-
|
2012
|
+
BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2013
|
+
BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserTransferStateModule });
|
2014
|
+
BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
|
2015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.2", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
|
2016
|
+
type: NgModule,
|
2017
|
+
args: [{
|
2018
|
+
providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }],
|
2019
|
+
}]
|
2020
|
+
}] });
|
1985
2021
|
|
1986
2022
|
/**
|
1987
2023
|
* @license
|
@@ -2061,7 +2097,7 @@ function elementMatches(n, selector) {
|
|
2061
2097
|
/**
|
2062
2098
|
* @publicApi
|
2063
2099
|
*/
|
2064
|
-
const VERSION = new Version('13.0.0-
|
2100
|
+
const VERSION = new Version('13.0.0-rc.2');
|
2065
2101
|
|
2066
2102
|
/**
|
2067
2103
|
* @license
|
@@ -2092,5 +2128,5 @@ const VERSION = new Version('13.0.0-next.8');
|
|
2092
2128
|
* Generated bundle index. Do not edit.
|
2093
2129
|
*/
|
2094
2130
|
|
2095
|
-
export { BrowserModule, BrowserTransferStateModule, By, DomSanitizer, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerModule, Meta, Title, TransferState, VERSION, disableDebugTools, enableDebugTools, makeStateKey, platformBrowser, BROWSER_SANITIZATION_PROVIDERS as ɵBROWSER_SANITIZATION_PROVIDERS, BROWSER_SANITIZATION_PROVIDERS__POST_R3__ as ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__, BrowserDomAdapter as ɵBrowserDomAdapter, BrowserGetTestability as ɵBrowserGetTestability, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, DomSanitizerImpl as ɵDomSanitizerImpl, DomSharedStylesHost as ɵDomSharedStylesHost, ELEMENT_PROBE_PROVIDERS as ɵELEMENT_PROBE_PROVIDERS, ELEMENT_PROBE_PROVIDERS__POST_R3__ as ɵELEMENT_PROBE_PROVIDERS__POST_R3__, HAMMER_PROVIDERS__POST_R3__ as ɵHAMMER_PROVIDERS__POST_R3__, HammerGesturesPlugin as ɵHammerGesturesPlugin, INTERNAL_BROWSER_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, KeyEventsPlugin as ɵKeyEventsPlugin, NAMESPACE_URIS as ɵNAMESPACE_URIS, SharedStylesHost as ɵSharedStylesHost, TRANSITION_ID as ɵTRANSITION_ID,
|
2096
|
-
//# sourceMappingURL=platform-browser.
|
2131
|
+
export { BrowserModule, BrowserTransferStateModule, By, DomSanitizer, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerModule, Meta, Title, TransferState, VERSION, disableDebugTools, enableDebugTools, makeStateKey, platformBrowser, BROWSER_SANITIZATION_PROVIDERS as ɵBROWSER_SANITIZATION_PROVIDERS, BROWSER_SANITIZATION_PROVIDERS__POST_R3__ as ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__, BrowserDomAdapter as ɵBrowserDomAdapter, BrowserGetTestability as ɵBrowserGetTestability, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, DomSanitizerImpl as ɵDomSanitizerImpl, DomSharedStylesHost as ɵDomSharedStylesHost, ELEMENT_PROBE_PROVIDERS as ɵELEMENT_PROBE_PROVIDERS, ELEMENT_PROBE_PROVIDERS__POST_R3__ as ɵELEMENT_PROBE_PROVIDERS__POST_R3__, HAMMER_PROVIDERS__POST_R3__ as ɵHAMMER_PROVIDERS__POST_R3__, HammerGesturesPlugin as ɵHammerGesturesPlugin, INTERNAL_BROWSER_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, KeyEventsPlugin as ɵKeyEventsPlugin, NAMESPACE_URIS as ɵNAMESPACE_URIS, SharedStylesHost as ɵSharedStylesHost, TRANSITION_ID as ɵTRANSITION_ID, escapeHtml as ɵescapeHtml, flattenStyles as ɵflattenStyles, initDomAdapter as ɵinitDomAdapter, shimContentAttribute as ɵshimContentAttribute, shimHostAttribute as ɵshimHostAttribute };
|
2132
|
+
//# sourceMappingURL=platform-browser.mjs.map
|