@angular/platform-browser 16.0.0 → 16.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animations/index.d.ts +1 -1
- package/esm2022/animations/src/animation_builder.mjs +3 -3
- package/esm2022/animations/src/animation_renderer.mjs +3 -3
- package/esm2022/animations/src/module.mjs +8 -8
- package/esm2022/animations/src/providers.mjs +3 -3
- package/esm2022/src/browser/meta.mjs +3 -3
- package/esm2022/src/browser/testability.mjs +4 -3
- package/esm2022/src/browser/title.mjs +3 -3
- package/esm2022/src/browser/xhr.mjs +3 -3
- package/esm2022/src/browser.mjs +7 -7
- package/esm2022/src/dom/dom_renderer.mjs +8 -7
- package/esm2022/src/dom/events/dom_events.mjs +3 -3
- package/esm2022/src/dom/events/event_manager.mjs +12 -13
- package/esm2022/src/dom/events/hammer_gestures.mjs +10 -10
- package/esm2022/src/dom/events/key_events.mjs +3 -3
- package/esm2022/src/dom/shared_styles_host.mjs +3 -3
- package/esm2022/src/errors.mjs +1 -8
- package/esm2022/src/security/dom_sanitization_service.mjs +14 -11
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/browser.mjs +4 -4
- package/fesm2022/animations.mjs +18 -18
- package/fesm2022/platform-browser.mjs +66 -62
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +1 -1
- package/package.json +4 -4
- package/testing/index.d.ts +1 -1
@@ -1,11 +1,11 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v16.0.
|
2
|
+
* @license Angular v16.0.1
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
6
6
|
|
7
7
|
import * as i0 from '@angular/core';
|
8
|
-
import { ɵglobal, Injectable, InjectionToken, Inject, APP_ID, CSP_NONCE, PLATFORM_ID, Optional, ViewEncapsulation, RendererStyleFlags2, ɵinternalCreateApplication, ErrorHandler, ɵsetDocument, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵTESTABILITY_GETTER, ɵTESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE, RendererFactory2, ApplicationModule, NgModule, SkipSelf, ɵɵinject, ApplicationRef, ɵConsole, forwardRef, ɵXSS_SECURITY_URL, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, Injector, ENVIRONMENT_INITIALIZER, inject, ɵformatRuntimeError, makeEnvironmentProviders, ɵwithDomHydration, Version, makeStateKey as makeStateKey$1, TransferState as TransferState$1 } from '@angular/core';
|
8
|
+
import { ɵglobal, ɵRuntimeError, Injectable, InjectionToken, Inject, APP_ID, CSP_NONCE, PLATFORM_ID, Optional, ViewEncapsulation, RendererStyleFlags2, ɵinternalCreateApplication, ErrorHandler, ɵsetDocument, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵTESTABILITY_GETTER, ɵTESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE, RendererFactory2, ApplicationModule, NgModule, SkipSelf, ɵɵinject, ApplicationRef, ɵConsole, forwardRef, ɵXSS_SECURITY_URL, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, Injector, ENVIRONMENT_INITIALIZER, inject, ɵformatRuntimeError, makeEnvironmentProviders, ɵwithDomHydration, Version, makeStateKey as makeStateKey$1, TransferState as TransferState$1 } from '@angular/core';
|
9
9
|
import { ɵDomAdapter, ɵsetRootDomAdapter, ɵparseCookieValue, ɵgetDOM, isPlatformServer, DOCUMENT, ɵPLATFORM_BROWSER_ID, XhrFactory, CommonModule } from '@angular/common';
|
10
10
|
export { ɵgetDOM } from '@angular/common';
|
11
11
|
import { ɵwithHttpTransferCache } from '@angular/common/http';
|
@@ -110,7 +110,8 @@ class BrowserGetTestability {
|
|
110
110
|
ɵglobal['getAngularTestability'] = (elem, findInAncestors = true) => {
|
111
111
|
const testability = registry.findTestabilityInTree(elem, findInAncestors);
|
112
112
|
if (testability == null) {
|
113
|
-
throw new
|
113
|
+
throw new ɵRuntimeError(5103 /* RuntimeErrorCode.TESTABILITY_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
114
|
+
'Could not find testability for element.');
|
114
115
|
}
|
115
116
|
return testability;
|
116
117
|
};
|
@@ -161,10 +162,10 @@ class BrowserXhr {
|
|
161
162
|
build() {
|
162
163
|
return new XMLHttpRequest();
|
163
164
|
}
|
164
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
165
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
166
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BrowserXhr }); }
|
166
167
|
}
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BrowserXhr, decorators: [{
|
168
169
|
type: Injectable
|
169
170
|
}] });
|
170
171
|
|
@@ -213,24 +214,23 @@ class EventManager {
|
|
213
214
|
}
|
214
215
|
/** @internal */
|
215
216
|
_findPluginFor(eventName) {
|
216
|
-
|
217
|
+
let plugin = this._eventNameToPlugin.get(eventName);
|
217
218
|
if (plugin) {
|
218
219
|
return plugin;
|
219
220
|
}
|
220
221
|
const plugins = this._plugins;
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
return plugin;
|
226
|
-
}
|
222
|
+
plugin = plugins.find((plugin) => plugin.supports(eventName));
|
223
|
+
if (!plugin) {
|
224
|
+
throw new ɵRuntimeError(5101 /* RuntimeErrorCode.NO_PLUGIN_FOR_EVENT */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
225
|
+
`No event manager plugin found for event ${eventName}`);
|
227
226
|
}
|
228
|
-
|
227
|
+
this._eventNameToPlugin.set(eventName, plugin);
|
228
|
+
return plugin;
|
229
229
|
}
|
230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
231
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
231
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: EventManager }); }
|
232
232
|
}
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: EventManager, decorators: [{
|
234
234
|
type: Injectable
|
235
235
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
236
236
|
type: Inject,
|
@@ -372,10 +372,10 @@ class SharedStylesHost {
|
|
372
372
|
// Re-add the head element back since this is the default host.
|
373
373
|
hostNodes.add(this.doc.head);
|
374
374
|
}
|
375
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
376
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: SharedStylesHost, deps: [{ token: DOCUMENT }, { token: APP_ID }, { token: CSP_NONCE, optional: true }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
376
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: SharedStylesHost }); }
|
377
377
|
}
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: SharedStylesHost, decorators: [{
|
379
379
|
type: Injectable
|
380
380
|
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
381
381
|
type: Inject,
|
@@ -491,10 +491,10 @@ class DomRendererFactory2 {
|
|
491
491
|
ngOnDestroy() {
|
492
492
|
this.rendererByCompId.clear();
|
493
493
|
}
|
494
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
495
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
494
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: SharedStylesHost }, { token: APP_ID }, { token: REMOVE_STYLES_ON_COMPONENT_DESTROY }, { token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.NgZone }, { token: CSP_NONCE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
495
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomRendererFactory2 }); }
|
496
496
|
}
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomRendererFactory2, decorators: [{
|
498
498
|
type: Injectable
|
499
499
|
}], ctorParameters: function () { return [{ type: EventManager }, { type: SharedStylesHost }, { type: undefined, decorators: [{
|
500
500
|
type: Inject,
|
@@ -562,7 +562,8 @@ class DefaultDomRenderer2 {
|
|
562
562
|
let el = typeof selectorOrNode === 'string' ? this.doc.querySelector(selectorOrNode) :
|
563
563
|
selectorOrNode;
|
564
564
|
if (!el) {
|
565
|
-
throw new
|
565
|
+
throw new ɵRuntimeError(5104 /* RuntimeErrorCode.ROOT_NODE_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
566
|
+
`The selector "${selectorOrNode}" did not match any elements`);
|
566
567
|
}
|
567
568
|
if (!preserveContent) {
|
568
569
|
el.textContent = '';
|
@@ -674,7 +675,7 @@ class DefaultDomRenderer2 {
|
|
674
675
|
const AT_CHARCODE = (() => '@'.charCodeAt(0))();
|
675
676
|
function checkNoSyntheticProp(name, nameKind) {
|
676
677
|
if (name.charCodeAt(0) === AT_CHARCODE) {
|
677
|
-
throw new
|
678
|
+
throw new ɵRuntimeError(5105 /* RuntimeErrorCode.UNEXPECTED_SYNTHETIC_PROPERTY */, `Unexpected synthetic ${nameKind} ${name} found. Please make sure that:
|
678
679
|
- Either \`BrowserAnimationsModule\` or \`NoopAnimationsModule\` are imported in your application.
|
679
680
|
- There is corresponding configuration for the animation named \`${name}\` defined in the \`animations\` field of the \`@Component\` decorator (see https://angular.io/api/core/Component#animations).`);
|
680
681
|
}
|
@@ -775,10 +776,10 @@ class DomEventsPlugin extends EventManagerPlugin {
|
|
775
776
|
removeEventListener(target, eventName, callback) {
|
776
777
|
return target.removeEventListener(eventName, callback);
|
777
778
|
}
|
778
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
779
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
779
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
780
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomEventsPlugin }); }
|
780
781
|
}
|
781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomEventsPlugin, decorators: [{
|
782
783
|
type: Injectable
|
783
784
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
784
785
|
type: Inject,
|
@@ -954,10 +955,10 @@ class KeyEventsPlugin extends EventManagerPlugin {
|
|
954
955
|
return keyName;
|
955
956
|
}
|
956
957
|
}
|
957
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
958
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
959
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: KeyEventsPlugin }); }
|
959
960
|
}
|
960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: KeyEventsPlugin, decorators: [{
|
961
962
|
type: Injectable
|
962
963
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
963
964
|
type: Inject,
|
@@ -1142,7 +1143,7 @@ const BROWSER_MODULE_PROVIDERS = [
|
|
1142
1143
|
class BrowserModule {
|
1143
1144
|
constructor(providersAlreadyPresent) {
|
1144
1145
|
if ((typeof ngDevMode === 'undefined' || ngDevMode) && providersAlreadyPresent) {
|
1145
|
-
throw new
|
1146
|
+
throw new ɵRuntimeError(5100 /* RuntimeErrorCode.BROWER_MODULE_ALREADY_LOADED */, `Providers from the \`BrowserModule\` have already been loaded. If you need access ` +
|
1146
1147
|
`to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
|
1147
1148
|
}
|
1148
1149
|
}
|
@@ -1164,11 +1165,11 @@ class BrowserModule {
|
|
1164
1165
|
],
|
1165
1166
|
};
|
1166
1167
|
}
|
1167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
1168
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
1169
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
1168
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1169
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] }); }
|
1170
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BrowserModule, providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS], imports: [CommonModule, ApplicationModule] }); }
|
1170
1171
|
}
|
1171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
1172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: BrowserModule, decorators: [{
|
1172
1173
|
type: NgModule,
|
1173
1174
|
args: [{
|
1174
1175
|
providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
|
@@ -1338,10 +1339,10 @@ class Meta {
|
|
1338
1339
|
_getMetaKeyMap(prop) {
|
1339
1340
|
return META_KEYS_MAP[prop] || prop;
|
1340
1341
|
}
|
1341
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
1342
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
1342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1343
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] }); }
|
1343
1344
|
}
|
1344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
1345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: Meta, decorators: [{
|
1345
1346
|
type: Injectable,
|
1346
1347
|
args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
|
1347
1348
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -1388,10 +1389,10 @@ class Title {
|
|
1388
1389
|
setTitle(newTitle) {
|
1389
1390
|
this._doc.title = newTitle || '';
|
1390
1391
|
}
|
1391
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
1392
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
1392
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1393
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] }); }
|
1393
1394
|
}
|
1394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
1395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: Title, decorators: [{
|
1395
1396
|
type: Injectable,
|
1396
1397
|
args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
|
1397
1398
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -1660,10 +1661,10 @@ class HammerGestureConfig {
|
|
1660
1661
|
}
|
1661
1662
|
return mc;
|
1662
1663
|
}
|
1663
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
1664
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
1664
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1665
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: HammerGestureConfig }); }
|
1665
1666
|
}
|
1666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
1667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: HammerGestureConfig, decorators: [{
|
1667
1668
|
type: Injectable
|
1668
1669
|
}] });
|
1669
1670
|
/**
|
@@ -1758,10 +1759,10 @@ class HammerGesturesPlugin extends EventManagerPlugin {
|
|
1758
1759
|
isCustomEvent(eventName) {
|
1759
1760
|
return this._config.events.indexOf(eventName) > -1;
|
1760
1761
|
}
|
1761
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
1762
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
1762
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1763
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: HammerGesturesPlugin }); }
|
1763
1764
|
}
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
1765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
|
1765
1766
|
type: Injectable
|
1766
1767
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1767
1768
|
type: Inject,
|
@@ -1787,9 +1788,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
1787
1788
|
* @publicApi
|
1788
1789
|
*/
|
1789
1790
|
class HammerModule {
|
1790
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
1791
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
1792
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
1791
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1792
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: HammerModule }); }
|
1793
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: HammerModule, providers: [
|
1793
1794
|
{
|
1794
1795
|
provide: EVENT_MANAGER_PLUGINS,
|
1795
1796
|
useClass: HammerGesturesPlugin,
|
@@ -1799,7 +1800,7 @@ class HammerModule {
|
|
1799
1800
|
{ provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
|
1800
1801
|
] }); }
|
1801
1802
|
}
|
1802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
1803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: HammerModule, decorators: [{
|
1803
1804
|
type: NgModule,
|
1804
1805
|
args: [{
|
1805
1806
|
providers: [
|
@@ -1846,10 +1847,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
1846
1847
|
* @publicApi
|
1847
1848
|
*/
|
1848
1849
|
class DomSanitizer {
|
1849
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
1850
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
1850
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1851
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) }); }
|
1851
1852
|
}
|
1852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
1853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomSanitizer, decorators: [{
|
1853
1854
|
type: Injectable,
|
1854
1855
|
args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
|
1855
1856
|
}] });
|
@@ -1881,7 +1882,8 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
1881
1882
|
if (ɵallowSanitizationBypassAndThrow(value, "Script" /* BypassType.Script */)) {
|
1882
1883
|
return ɵunwrapSafeValue(value);
|
1883
1884
|
}
|
1884
|
-
throw new
|
1885
|
+
throw new ɵRuntimeError(5200 /* RuntimeErrorCode.SANITIZATION_UNSAFE_SCRIPT */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
1886
|
+
'unsafe value used in a script context');
|
1885
1887
|
case SecurityContext.URL:
|
1886
1888
|
if (ɵallowSanitizationBypassAndThrow(value, "URL" /* BypassType.Url */)) {
|
1887
1889
|
return ɵunwrapSafeValue(value);
|
@@ -1891,9 +1893,11 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
1891
1893
|
if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* BypassType.ResourceUrl */)) {
|
1892
1894
|
return ɵunwrapSafeValue(value);
|
1893
1895
|
}
|
1894
|
-
throw new
|
1896
|
+
throw new ɵRuntimeError(5201 /* RuntimeErrorCode.SANITIZATION_UNSAFE_RESOURCE_URL */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
1897
|
+
`unsafe value used in a resource URL context (see ${ɵXSS_SECURITY_URL})`);
|
1895
1898
|
default:
|
1896
|
-
throw new
|
1899
|
+
throw new ɵRuntimeError(5202 /* RuntimeErrorCode.SANITIZATION_UNEXPECTED_CTX */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
1900
|
+
`Unexpected SecurityContext ${ctx} (see ${ɵXSS_SECURITY_URL})`);
|
1897
1901
|
}
|
1898
1902
|
}
|
1899
1903
|
bypassSecurityTrustHtml(value) {
|
@@ -1911,10 +1915,10 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
1911
1915
|
bypassSecurityTrustResourceUrl(value) {
|
1912
1916
|
return ɵbypassSanitizationTrustResourceUrl(value);
|
1913
1917
|
}
|
1914
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
1915
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
1918
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1919
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] }); }
|
1916
1920
|
}
|
1917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
1921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: DomSanitizerImpl, decorators: [{
|
1918
1922
|
type: Injectable,
|
1919
1923
|
args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
|
1920
1924
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -2062,7 +2066,7 @@ function provideClientHydration(...features) {
|
|
2062
2066
|
/**
|
2063
2067
|
* @publicApi
|
2064
2068
|
*/
|
2065
|
-
const VERSION = new Version('16.0.
|
2069
|
+
const VERSION = new Version('16.0.1');
|
2066
2070
|
|
2067
2071
|
// Re-export TransferState to the public API of the `platform-browser` for backwards-compatibility.
|
2068
2072
|
/**
|