@angular/platform-browser 14.0.0-next.15 → 14.0.0-next.16
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/index.d.ts +1 -1
- package/esm2020/animations/src/animation_builder.mjs +3 -3
- package/esm2020/animations/src/animation_renderer.mjs +3 -3
- package/esm2020/animations/src/module.mjs +8 -8
- package/esm2020/animations/src/providers.mjs +3 -3
- package/esm2020/src/browser/meta.mjs +3 -3
- package/esm2020/src/browser/title.mjs +3 -3
- package/esm2020/src/browser/transfer_state.mjs +8 -8
- package/esm2020/src/browser/xhr.mjs +3 -3
- package/esm2020/src/browser.mjs +27 -16
- package/esm2020/src/dom/dom_renderer.mjs +3 -3
- package/esm2020/src/dom/events/dom_events.mjs +3 -3
- package/esm2020/src/dom/events/event_manager.mjs +3 -3
- package/esm2020/src/dom/events/hammer_gestures.mjs +10 -10
- package/esm2020/src/dom/events/key_events.mjs +3 -3
- package/esm2020/src/dom/shared_styles_host.mjs +6 -6
- package/esm2020/src/security/dom_sanitization_service.mjs +12 -12
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/browser.mjs +4 -4
- package/fesm2015/animations.mjs +18 -18
- package/fesm2015/platform-browser.mjs +85 -74
- package/fesm2015/platform-browser.mjs.map +1 -1
- package/fesm2015/testing.mjs +5 -5
- package/fesm2020/animations.mjs +18 -18
- package/fesm2020/platform-browser.mjs +85 -74
- package/fesm2020/platform-browser.mjs.map +1 -1
- package/fesm2020/testing.mjs +5 -5
- package/index.d.ts +4 -3
- package/package.json +4 -4
- package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v14.0.0-next.
|
2
|
+
* @license Angular v14.0.0-next.16
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -221,9 +221,9 @@ class BrowserXhr {
|
|
221
221
|
return new XMLHttpRequest();
|
222
222
|
}
|
223
223
|
}
|
224
|
-
BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
225
|
-
BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
224
|
+
BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
225
|
+
BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserXhr });
|
226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserXhr, decorators: [{
|
227
227
|
type: Injectable
|
228
228
|
}] });
|
229
229
|
|
@@ -306,9 +306,9 @@ class EventManager {
|
|
306
306
|
throw new Error(`No event manager plugin found for event ${eventName}`);
|
307
307
|
}
|
308
308
|
}
|
309
|
-
EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
310
|
-
EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
309
|
+
EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
310
|
+
EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: EventManager });
|
311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: EventManager, decorators: [{
|
312
312
|
type: Injectable
|
313
313
|
}], ctorParameters: function () {
|
314
314
|
return [{ type: undefined, decorators: [{
|
@@ -356,9 +356,9 @@ class SharedStylesHost {
|
|
356
356
|
return Array.from(this._stylesSet);
|
357
357
|
}
|
358
358
|
}
|
359
|
-
SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
360
|
-
SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
359
|
+
SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
360
|
+
SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: SharedStylesHost });
|
361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: SharedStylesHost, decorators: [{
|
362
362
|
type: Injectable
|
363
363
|
}] });
|
364
364
|
class DomSharedStylesHost extends SharedStylesHost {
|
@@ -397,9 +397,9 @@ class DomSharedStylesHost extends SharedStylesHost {
|
|
397
397
|
this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
|
398
398
|
}
|
399
399
|
}
|
400
|
-
DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
401
|
-
DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
400
|
+
DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
401
|
+
DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSharedStylesHost });
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSharedStylesHost, decorators: [{
|
403
403
|
type: Injectable
|
404
404
|
}], ctorParameters: function () {
|
405
405
|
return [{ type: undefined, decorators: [{
|
@@ -427,7 +427,7 @@ const NAMESPACE_URIS = {
|
|
427
427
|
'math': 'http://www.w3.org/1998/MathML/',
|
428
428
|
};
|
429
429
|
const COMPONENT_REGEX = /%COMP%/g;
|
430
|
-
const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
|
430
|
+
const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
|
431
431
|
const COMPONENT_VARIABLE = '%COMP%';
|
432
432
|
const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
433
433
|
const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
@@ -522,9 +522,9 @@ class DomRendererFactory2 {
|
|
522
522
|
begin() { }
|
523
523
|
end() { }
|
524
524
|
}
|
525
|
-
DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
526
|
-
DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
525
|
+
DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
526
|
+
DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomRendererFactory2 });
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomRendererFactory2, decorators: [{
|
528
528
|
type: Injectable
|
529
529
|
}], ctorParameters: function () {
|
530
530
|
return [{ type: EventManager }, { type: DomSharedStylesHost }, { type: undefined, decorators: [{
|
@@ -646,14 +646,14 @@ class DefaultDomRenderer2 {
|
|
646
646
|
}
|
647
647
|
}
|
648
648
|
setProperty(el, name, value) {
|
649
|
-
NG_DEV_MODE && checkNoSyntheticProp(name, 'property');
|
649
|
+
NG_DEV_MODE$1 && checkNoSyntheticProp(name, 'property');
|
650
650
|
el[name] = value;
|
651
651
|
}
|
652
652
|
setValue(node, value) {
|
653
653
|
node.nodeValue = value;
|
654
654
|
}
|
655
655
|
listen(target, event, callback) {
|
656
|
-
NG_DEV_MODE && checkNoSyntheticProp(event, 'listener');
|
656
|
+
NG_DEV_MODE$1 && checkNoSyntheticProp(event, 'listener');
|
657
657
|
if (typeof target === 'string') {
|
658
658
|
return this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback));
|
659
659
|
}
|
@@ -747,9 +747,9 @@ class DomEventsPlugin extends EventManagerPlugin {
|
|
747
747
|
return target.removeEventListener(eventName, callback);
|
748
748
|
}
|
749
749
|
}
|
750
|
-
DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
751
|
-
DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
750
|
+
DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
751
|
+
DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomEventsPlugin });
|
752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomEventsPlugin, decorators: [{
|
753
753
|
type: Injectable
|
754
754
|
}], ctorParameters: function () {
|
755
755
|
return [{ type: undefined, decorators: [{
|
@@ -927,9 +927,9 @@ class KeyEventsPlugin extends EventManagerPlugin {
|
|
927
927
|
}
|
928
928
|
}
|
929
929
|
}
|
930
|
-
KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
931
|
-
KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
930
|
+
KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
931
|
+
KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: KeyEventsPlugin });
|
932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: KeyEventsPlugin, decorators: [{
|
933
933
|
type: Injectable
|
934
934
|
}], ctorParameters: function () {
|
935
935
|
return [{ type: undefined, decorators: [{
|
@@ -967,6 +967,7 @@ function getEventKey(event) {
|
|
967
967
|
* Use of this source code is governed by an MIT-style license that can be
|
968
968
|
* found in the LICENSE file at https://angular.io/license
|
969
969
|
*/
|
970
|
+
const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
|
970
971
|
/**
|
971
972
|
* Bootstraps an instance of an Angular application and renders a root component.
|
972
973
|
*
|
@@ -1025,17 +1026,22 @@ const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
|
|
1025
1026
|
* @publicApi
|
1026
1027
|
*/
|
1027
1028
|
const platformBrowser = createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
|
1029
|
+
/**
|
1030
|
+
* Internal marker to signal whether providers from the `BrowserModule` are already present in DI.
|
1031
|
+
* This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the
|
1032
|
+
* `BrowserModule` presence itself, since the standalone-based bootstrap just imports
|
1033
|
+
* `BrowserModule` providers without referencing the module itself.
|
1034
|
+
*/
|
1035
|
+
const BROWSER_MODULE_PROVIDERS_MARKER = new InjectionToken(NG_DEV_MODE ? 'BrowserModule Providers Marker' : '');
|
1028
1036
|
const BROWSER_MODULE_PROVIDERS = [
|
1029
1037
|
{ provide: ɵINJECTOR_SCOPE, useValue: 'root' },
|
1030
|
-
{ provide: ErrorHandler, useFactory: errorHandler, deps: [] },
|
1031
|
-
{
|
1038
|
+
{ provide: ErrorHandler, useFactory: errorHandler, deps: [] }, {
|
1032
1039
|
provide: EVENT_MANAGER_PLUGINS,
|
1033
1040
|
useClass: DomEventsPlugin,
|
1034
1041
|
multi: true,
|
1035
1042
|
deps: [DOCUMENT, NgZone, PLATFORM_ID]
|
1036
1043
|
},
|
1037
|
-
{ provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] },
|
1038
|
-
{
|
1044
|
+
{ provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] }, {
|
1039
1045
|
provide: DomRendererFactory2,
|
1040
1046
|
useClass: DomRendererFactory2,
|
1041
1047
|
deps: [EventManager, DomSharedStylesHost, APP_ID]
|
@@ -1046,6 +1052,7 @@ const BROWSER_MODULE_PROVIDERS = [
|
|
1046
1052
|
{ provide: Testability, useClass: Testability, deps: [NgZone] },
|
1047
1053
|
{ provide: EventManager, useClass: EventManager, deps: [EVENT_MANAGER_PLUGINS, NgZone] },
|
1048
1054
|
{ provide: XhrFactory, useClass: BrowserXhr, deps: [] },
|
1055
|
+
NG_DEV_MODE ? { provide: BROWSER_MODULE_PROVIDERS_MARKER, useValue: true } : []
|
1049
1056
|
];
|
1050
1057
|
/**
|
1051
1058
|
* Exports required infrastructure for all Angular apps.
|
@@ -1057,9 +1064,10 @@ const BROWSER_MODULE_PROVIDERS = [
|
|
1057
1064
|
* @publicApi
|
1058
1065
|
*/
|
1059
1066
|
class BrowserModule {
|
1060
|
-
constructor(
|
1061
|
-
if (
|
1062
|
-
throw new Error(`BrowserModule
|
1067
|
+
constructor(providersAlreadyPresent) {
|
1068
|
+
if (NG_DEV_MODE && providersAlreadyPresent) {
|
1069
|
+
throw new Error(`Providers from the \`BrowserModule\` have already been loaded. If you need access ` +
|
1070
|
+
`to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
|
1063
1071
|
}
|
1064
1072
|
}
|
1065
1073
|
/**
|
@@ -1081,20 +1089,23 @@ class BrowserModule {
|
|
1081
1089
|
};
|
1082
1090
|
}
|
1083
1091
|
}
|
1084
|
-
BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
1085
|
-
BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1086
|
-
BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
1092
|
+
BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
1093
|
+
BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
|
1094
|
+
BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, providers: BROWSER_MODULE_PROVIDERS, imports: [CommonModule, ApplicationModule] });
|
1095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, decorators: [{
|
1088
1096
|
type: NgModule,
|
1089
|
-
args: [{
|
1097
|
+
args: [{
|
1098
|
+
providers: BROWSER_MODULE_PROVIDERS,
|
1099
|
+
exports: [CommonModule, ApplicationModule],
|
1100
|
+
}]
|
1090
1101
|
}], ctorParameters: function () {
|
1091
|
-
return [{ type:
|
1102
|
+
return [{ type: undefined, decorators: [{
|
1092
1103
|
type: Optional
|
1093
1104
|
}, {
|
1094
1105
|
type: SkipSelf
|
1095
1106
|
}, {
|
1096
1107
|
type: Inject,
|
1097
|
-
args: [
|
1108
|
+
args: [BROWSER_MODULE_PROVIDERS_MARKER]
|
1098
1109
|
}] }];
|
1099
1110
|
} });
|
1100
1111
|
|
@@ -1261,9 +1272,9 @@ class Meta {
|
|
1261
1272
|
return META_KEYS_MAP[prop] || prop;
|
1262
1273
|
}
|
1263
1274
|
}
|
1264
|
-
Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
1265
|
-
Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
1266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
1275
|
+
Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1276
|
+
Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
|
1277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Meta, decorators: [{
|
1267
1278
|
type: Injectable,
|
1268
1279
|
args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
|
1269
1280
|
}], ctorParameters: function () {
|
@@ -1320,9 +1331,9 @@ class Title {
|
|
1320
1331
|
this._doc.title = newTitle || '';
|
1321
1332
|
}
|
1322
1333
|
}
|
1323
|
-
Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
1324
|
-
Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
1325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
1334
|
+
Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1335
|
+
Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
|
1336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Title, decorators: [{
|
1326
1337
|
type: Injectable,
|
1327
1338
|
args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
|
1328
1339
|
}], ctorParameters: function () {
|
@@ -1591,9 +1602,9 @@ class TransferState {
|
|
1591
1602
|
return JSON.stringify(this.store);
|
1592
1603
|
}
|
1593
1604
|
}
|
1594
|
-
TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
1595
|
-
TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
1596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
1605
|
+
TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1606
|
+
TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: TransferState });
|
1607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: TransferState, decorators: [{
|
1597
1608
|
type: Injectable
|
1598
1609
|
}] });
|
1599
1610
|
function initTransferState(doc, appId) {
|
@@ -1620,10 +1631,10 @@ function initTransferState(doc, appId) {
|
|
1620
1631
|
*/
|
1621
1632
|
class BrowserTransferStateModule {
|
1622
1633
|
}
|
1623
|
-
BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
1624
|
-
BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1625
|
-
BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
1626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
1634
|
+
BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1635
|
+
BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule });
|
1636
|
+
BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
|
1637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
|
1627
1638
|
type: NgModule,
|
1628
1639
|
args: [{
|
1629
1640
|
providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }],
|
@@ -1799,9 +1810,9 @@ class HammerGestureConfig {
|
|
1799
1810
|
return mc;
|
1800
1811
|
}
|
1801
1812
|
}
|
1802
|
-
HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
1803
|
-
HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
1804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
1813
|
+
HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1814
|
+
HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGestureConfig });
|
1815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGestureConfig, decorators: [{
|
1805
1816
|
type: Injectable
|
1806
1817
|
}] });
|
1807
1818
|
/**
|
@@ -1897,9 +1908,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
|
|
1897
1908
|
return this._config.events.indexOf(eventName) > -1;
|
1898
1909
|
}
|
1899
1910
|
}
|
1900
|
-
HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
1901
|
-
HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
1902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
1911
|
+
HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
1912
|
+
HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGesturesPlugin });
|
1913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
|
1903
1914
|
type: Injectable
|
1904
1915
|
}], ctorParameters: function () {
|
1905
1916
|
return [{ type: undefined, decorators: [{
|
@@ -1928,9 +1939,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15",
|
|
1928
1939
|
*/
|
1929
1940
|
class HammerModule {
|
1930
1941
|
}
|
1931
|
-
HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
1932
|
-
HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
1933
|
-
HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
1942
|
+
HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1943
|
+
HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule });
|
1944
|
+
HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule, providers: [
|
1934
1945
|
{
|
1935
1946
|
provide: EVENT_MANAGER_PLUGINS,
|
1936
1947
|
useClass: HammerGesturesPlugin,
|
@@ -1939,7 +1950,7 @@ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1939
1950
|
},
|
1940
1951
|
{ provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
|
1941
1952
|
] });
|
1942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
1953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule, decorators: [{
|
1943
1954
|
type: NgModule,
|
1944
1955
|
args: [{
|
1945
1956
|
providers: [
|
@@ -1994,9 +2005,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15",
|
|
1994
2005
|
*/
|
1995
2006
|
class DomSanitizer {
|
1996
2007
|
}
|
1997
|
-
DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
1998
|
-
DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
1999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
2008
|
+
DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
2009
|
+
DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
|
2010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizer, decorators: [{
|
2000
2011
|
type: Injectable,
|
2001
2012
|
args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
|
2002
2013
|
}] });
|
@@ -2015,28 +2026,28 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
2015
2026
|
case SecurityContext.NONE:
|
2016
2027
|
return value;
|
2017
2028
|
case SecurityContext.HTML:
|
2018
|
-
if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* Html */)) {
|
2029
|
+
if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* BypassType.Html */)) {
|
2019
2030
|
return ɵunwrapSafeValue(value);
|
2020
2031
|
}
|
2021
2032
|
return ɵ_sanitizeHtml(this._doc, String(value)).toString();
|
2022
2033
|
case SecurityContext.STYLE:
|
2023
|
-
if (ɵallowSanitizationBypassAndThrow(value, "Style" /* Style */)) {
|
2034
|
+
if (ɵallowSanitizationBypassAndThrow(value, "Style" /* BypassType.Style */)) {
|
2024
2035
|
return ɵunwrapSafeValue(value);
|
2025
2036
|
}
|
2026
2037
|
return value;
|
2027
2038
|
case SecurityContext.SCRIPT:
|
2028
|
-
if (ɵallowSanitizationBypassAndThrow(value, "Script" /* Script */)) {
|
2039
|
+
if (ɵallowSanitizationBypassAndThrow(value, "Script" /* BypassType.Script */)) {
|
2029
2040
|
return ɵunwrapSafeValue(value);
|
2030
2041
|
}
|
2031
2042
|
throw new Error('unsafe value used in a script context');
|
2032
2043
|
case SecurityContext.URL:
|
2033
2044
|
const type = ɵgetSanitizationBypassType(value);
|
2034
|
-
if (ɵallowSanitizationBypassAndThrow(value, "URL" /* Url */)) {
|
2045
|
+
if (ɵallowSanitizationBypassAndThrow(value, "URL" /* BypassType.Url */)) {
|
2035
2046
|
return ɵunwrapSafeValue(value);
|
2036
2047
|
}
|
2037
2048
|
return ɵ_sanitizeUrl(String(value));
|
2038
2049
|
case SecurityContext.RESOURCE_URL:
|
2039
|
-
if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* ResourceUrl */)) {
|
2050
|
+
if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* BypassType.ResourceUrl */)) {
|
2040
2051
|
return ɵunwrapSafeValue(value);
|
2041
2052
|
}
|
2042
2053
|
throw new Error('unsafe value used in a resource URL context (see https://g.co/ng/security#xss)');
|
@@ -2060,9 +2071,9 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
2060
2071
|
return ɵbypassSanitizationTrustResourceUrl(value);
|
2061
2072
|
}
|
2062
2073
|
}
|
2063
|
-
DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
2064
|
-
DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
2065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
2074
|
+
DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
2075
|
+
DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
|
2076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizerImpl, decorators: [{
|
2066
2077
|
type: Injectable,
|
2067
2078
|
args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
|
2068
2079
|
}], ctorParameters: function () {
|
@@ -2090,7 +2101,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15",
|
|
2090
2101
|
/**
|
2091
2102
|
* @publicApi
|
2092
2103
|
*/
|
2093
|
-
const VERSION = new Version('14.0.0-next.
|
2104
|
+
const VERSION = new Version('14.0.0-next.16');
|
2094
2105
|
|
2095
2106
|
/**
|
2096
2107
|
* @license
|