@angular/platform-browser 12.2.8 → 13.0.0-next.11
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} +158 -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 +34 -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 -2505
- 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 -308
- 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
|
2
|
+
* @license Angular v13.0.0-next.11
|
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-next.11", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
225
|
+
BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: BrowserXhr });
|
226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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-next.11", 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-next.11", ngImport: i0, type: EventManager });
|
396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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-next.11", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
443
|
+
SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: SharedStylesHost });
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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-next.11", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
484
|
+
DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: DomSharedStylesHost });
|
485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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,18 +602,19 @@ 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-next.11", 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-next.11", ngImport: i0, type: DomRendererFactory2 });
|
607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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;
|
616
616
|
this.data = Object.create(null);
|
617
|
+
this.destroyNode = null;
|
617
618
|
}
|
618
619
|
destroy() { }
|
619
620
|
createElement(name, namespace) {
|
@@ -735,8 +736,7 @@ class DefaultDomRenderer2 {
|
|
735
736
|
return this.eventManager.addEventListener(target, event, decoratePreventDefault(callback));
|
736
737
|
}
|
737
738
|
}
|
738
|
-
const
|
739
|
-
const AT_CHARCODE = (ɵ0$1)();
|
739
|
+
const AT_CHARCODE = (() => '@'.charCodeAt(0))();
|
740
740
|
function checkNoSyntheticProp(name, nameKind) {
|
741
741
|
if (name.charCodeAt(0) === AT_CHARCODE) {
|
742
742
|
throw new Error(`Unexpected synthetic ${nameKind} ${name} found. Please make sure that:
|
@@ -820,12 +820,14 @@ class DomEventsPlugin extends EventManagerPlugin {
|
|
820
820
|
return target.removeEventListener(eventName, callback);
|
821
821
|
}
|
822
822
|
}
|
823
|
-
DomEventsPlugin
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
823
|
+
DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
824
|
+
DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: DomEventsPlugin });
|
825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: DomEventsPlugin, decorators: [{
|
826
|
+
type: Injectable
|
827
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
828
|
+
type: Inject,
|
829
|
+
args: [DOCUMENT]
|
830
|
+
}] }]; } });
|
829
831
|
|
830
832
|
/**
|
831
833
|
* @license
|
@@ -936,9 +938,11 @@ class HammerGestureConfig {
|
|
936
938
|
return mc;
|
937
939
|
}
|
938
940
|
}
|
939
|
-
HammerGestureConfig
|
940
|
-
|
941
|
-
|
941
|
+
HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
942
|
+
HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: HammerGestureConfig });
|
943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: HammerGestureConfig, decorators: [{
|
944
|
+
type: Injectable
|
945
|
+
}] });
|
942
946
|
/**
|
943
947
|
* Event plugin that adds Hammer support to an application.
|
944
948
|
*
|
@@ -1031,15 +1035,22 @@ class HammerGesturesPlugin extends EventManagerPlugin {
|
|
1031
1035
|
return this._config.events.indexOf(eventName) > -1;
|
1032
1036
|
}
|
1033
1037
|
}
|
1034
|
-
HammerGesturesPlugin
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1038
|
+
HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", 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-next.11", ngImport: i0, type: HammerGesturesPlugin });
|
1040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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
|
+
}] }]; } });
|
1043
1054
|
/**
|
1044
1055
|
* In Ivy, support for Hammer gestures is optional, so applications must
|
1045
1056
|
* import the `HammerModule` at root to turn on support. This means that
|
@@ -1058,7 +1069,7 @@ const HAMMER_PROVIDERS__PRE_R3__ = [
|
|
1058
1069
|
},
|
1059
1070
|
{ provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
|
1060
1071
|
];
|
1061
|
-
const HAMMER_PROVIDERS =
|
1072
|
+
const HAMMER_PROVIDERS = HAMMER_PROVIDERS__POST_R3__;
|
1062
1073
|
/**
|
1063
1074
|
* Adds support for HammerJS.
|
1064
1075
|
*
|
@@ -1072,9 +1083,13 @@ const HAMMER_PROVIDERS = HAMMER_PROVIDERS__PRE_R3__;
|
|
1072
1083
|
*/
|
1073
1084
|
class HammerModule {
|
1074
1085
|
}
|
1075
|
-
HammerModule
|
1076
|
-
|
1077
|
-
|
1086
|
+
HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1087
|
+
HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: HammerModule });
|
1088
|
+
HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: HammerModule, providers: HAMMER_PROVIDERS__PRE_R3__ });
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: HammerModule, decorators: [{
|
1090
|
+
type: NgModule,
|
1091
|
+
args: [{ providers: HAMMER_PROVIDERS__PRE_R3__ }]
|
1092
|
+
}] });
|
1078
1093
|
|
1079
1094
|
/**
|
1080
1095
|
* @license
|
@@ -1127,15 +1142,14 @@ const _chromeNumKeyPadMap = {
|
|
1127
1142
|
'\x60': '0',
|
1128
1143
|
'\x90': 'NumLock'
|
1129
1144
|
};
|
1130
|
-
const ɵ0$2 = (event) => event.altKey, ɵ1 = (event) => event.ctrlKey, ɵ2 = (event) => event.metaKey, ɵ3 = (event) => event.shiftKey;
|
1131
1145
|
/**
|
1132
1146
|
* Retrieves modifiers from key-event objects.
|
1133
1147
|
*/
|
1134
1148
|
const MODIFIER_KEY_GETTERS = {
|
1135
|
-
'alt':
|
1136
|
-
'control':
|
1137
|
-
'meta':
|
1138
|
-
'shift':
|
1149
|
+
'alt': (event) => event.altKey,
|
1150
|
+
'control': (event) => event.ctrlKey,
|
1151
|
+
'meta': (event) => event.metaKey,
|
1152
|
+
'shift': (event) => event.shiftKey
|
1139
1153
|
};
|
1140
1154
|
/**
|
1141
1155
|
* @publicApi
|
@@ -1246,12 +1260,14 @@ class KeyEventsPlugin extends EventManagerPlugin {
|
|
1246
1260
|
}
|
1247
1261
|
}
|
1248
1262
|
}
|
1249
|
-
KeyEventsPlugin
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1263
|
+
KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1264
|
+
KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: KeyEventsPlugin });
|
1265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: KeyEventsPlugin, decorators: [{
|
1266
|
+
type: Injectable
|
1267
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1268
|
+
type: Inject,
|
1269
|
+
args: [DOCUMENT]
|
1270
|
+
}] }]; } });
|
1255
1271
|
function getEventKey(event) {
|
1256
1272
|
let key = event.key;
|
1257
1273
|
if (key == null) {
|
@@ -1315,10 +1331,12 @@ function getEventKey(event) {
|
|
1315
1331
|
*/
|
1316
1332
|
class DomSanitizer {
|
1317
1333
|
}
|
1318
|
-
DomSanitizer.ɵ
|
1319
|
-
DomSanitizer
|
1320
|
-
|
1321
|
-
|
1334
|
+
DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1335
|
+
DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
|
1336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: DomSanitizer, decorators: [{
|
1337
|
+
type: Injectable,
|
1338
|
+
args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
|
1339
|
+
}] });
|
1322
1340
|
function domSanitizerImplFactory(injector) {
|
1323
1341
|
return new DomSanitizerImpl(injector.get(DOCUMENT));
|
1324
1342
|
}
|
@@ -1379,13 +1397,15 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
1379
1397
|
return ɵbypassSanitizationTrustResourceUrl(value);
|
1380
1398
|
}
|
1381
1399
|
}
|
1382
|
-
DomSanitizerImpl.ɵ
|
1383
|
-
DomSanitizerImpl
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1400
|
+
DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1401
|
+
DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
|
1402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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
|
+
}] }]; } });
|
1389
1409
|
|
1390
1410
|
/**
|
1391
1411
|
* @license
|
@@ -1406,9 +1426,8 @@ function _document() {
|
|
1406
1426
|
ɵsetDocument(document);
|
1407
1427
|
return document;
|
1408
1428
|
}
|
1409
|
-
const ɵ0$3 = ɵPLATFORM_BROWSER_ID;
|
1410
1429
|
const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
|
1411
|
-
{ provide: PLATFORM_ID, useValue: ɵ
|
1430
|
+
{ provide: PLATFORM_ID, useValue: ɵPLATFORM_BROWSER_ID },
|
1412
1431
|
{ provide: PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },
|
1413
1432
|
{ provide: DOCUMENT, useFactory: _document, deps: [] },
|
1414
1433
|
];
|
@@ -1423,7 +1442,7 @@ const BROWSER_SANITIZATION_PROVIDERS__POST_R3__ = [];
|
|
1423
1442
|
* application to XSS risks. For more detail, see the [Security Guide](https://g.co/ng/security).
|
1424
1443
|
* @publicApi
|
1425
1444
|
*/
|
1426
|
-
const BROWSER_SANITIZATION_PROVIDERS =
|
1445
|
+
const BROWSER_SANITIZATION_PROVIDERS = BROWSER_SANITIZATION_PROVIDERS__POST_R3__;
|
1427
1446
|
/**
|
1428
1447
|
* A factory function that returns a `PlatformRef` instance associated with browser service
|
1429
1448
|
* providers.
|
@@ -1490,12 +1509,20 @@ class BrowserModule {
|
|
1490
1509
|
};
|
1491
1510
|
}
|
1492
1511
|
}
|
1493
|
-
BrowserModule
|
1494
|
-
|
1495
|
-
];
|
1496
|
-
|
1497
|
-
|
1498
|
-
]
|
1512
|
+
BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", 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-next.11", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
|
1514
|
+
BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: BrowserModule, providers: BROWSER_MODULE_PROVIDERS, imports: [CommonModule, ApplicationModule] });
|
1515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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
|
+
}] }]; } });
|
1499
1526
|
|
1500
1527
|
/**
|
1501
1528
|
* @license
|
@@ -1660,13 +1687,15 @@ class Meta {
|
|
1660
1687
|
return META_KEYS_MAP[prop] || prop;
|
1661
1688
|
}
|
1662
1689
|
}
|
1663
|
-
Meta.ɵ
|
1664
|
-
Meta
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1690
|
+
Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1691
|
+
Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
|
1692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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
|
+
}] }]; } });
|
1670
1699
|
/**
|
1671
1700
|
* Mapping for MetaDefinition properties with their correct meta attribute names
|
1672
1701
|
*/
|
@@ -1715,13 +1744,15 @@ class Title {
|
|
1715
1744
|
this._doc.title = newTitle || '';
|
1716
1745
|
}
|
1717
1746
|
}
|
1718
|
-
Title.ɵ
|
1719
|
-
Title
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1747
|
+
Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1748
|
+
Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
|
1749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", 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
|
+
}] }]; } });
|
1725
1756
|
|
1726
1757
|
/**
|
1727
1758
|
* @license
|
@@ -1949,9 +1980,11 @@ class TransferState {
|
|
1949
1980
|
return JSON.stringify(this.store);
|
1950
1981
|
}
|
1951
1982
|
}
|
1952
|
-
TransferState
|
1953
|
-
|
1954
|
-
|
1983
|
+
TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1984
|
+
TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: TransferState });
|
1985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: TransferState, decorators: [{
|
1986
|
+
type: Injectable
|
1987
|
+
}] });
|
1955
1988
|
function initTransferState(doc, appId) {
|
1956
1989
|
// Locate the script tag with the JSON data transferred from the server.
|
1957
1990
|
// The id of the script tag is set to the Angular appId + 'state'.
|
@@ -1976,11 +2009,15 @@ function initTransferState(doc, appId) {
|
|
1976
2009
|
*/
|
1977
2010
|
class BrowserTransferStateModule {
|
1978
2011
|
}
|
1979
|
-
BrowserTransferStateModule
|
1980
|
-
|
1981
|
-
|
1982
|
-
|
1983
|
-
|
2012
|
+
BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2013
|
+
BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: BrowserTransferStateModule });
|
2014
|
+
BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
|
2015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.11", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
|
2016
|
+
type: NgModule,
|
2017
|
+
args: [{
|
2018
|
+
providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }],
|
2019
|
+
}]
|
2020
|
+
}] });
|
1984
2021
|
|
1985
2022
|
/**
|
1986
2023
|
* @license
|
@@ -2060,7 +2097,7 @@ function elementMatches(n, selector) {
|
|
2060
2097
|
/**
|
2061
2098
|
* @publicApi
|
2062
2099
|
*/
|
2063
|
-
const VERSION = new Version('
|
2100
|
+
const VERSION = new Version('13.0.0-next.11');
|
2064
2101
|
|
2065
2102
|
/**
|
2066
2103
|
* @license
|
@@ -2091,5 +2128,5 @@ const VERSION = new Version('12.2.8');
|
|
2091
2128
|
* Generated bundle index. Do not edit.
|
2092
2129
|
*/
|
2093
2130
|
|
2094
|
-
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,
|
2095
|
-
//# 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
|