@angular/platform-browser 16.1.2 → 16.1.4
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 +2 -2
- package/esm2022/animations/src/animation_builder.mjs +3 -3
- package/esm2022/animations/src/animation_renderer.mjs +14 -6
- 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 -4
- package/esm2022/src/browser/title.mjs +3 -3
- package/esm2022/src/browser/tools/common_tools.mjs +1 -1
- package/esm2022/src/browser/xhr.mjs +3 -3
- package/esm2022/src/browser.mjs +4 -4
- package/esm2022/src/dom/dom_renderer.mjs +16 -16
- package/esm2022/src/dom/events/dom_events.mjs +3 -3
- package/esm2022/src/dom/events/event_manager.mjs +3 -3
- 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 -1
- package/esm2022/src/security/dom_sanitization_service.mjs +6 -6
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/browser.mjs +4 -4
- package/esm2022/testing/src/browser_util.mjs +2 -2
- package/fesm2022/animations.mjs +28 -20
- package/fesm2022/animations.mjs.map +1 -1
- package/fesm2022/platform-browser.mjs +61 -61
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +3 -3
- package/package.json +4 -4
- package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v16.1.
|
2
|
+
* @license Angular v16.1.4
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -117,18 +117,18 @@ class BrowserGetTestability {
|
|
117
117
|
};
|
118
118
|
ɵglobal['getAllAngularTestabilities'] = () => registry.getAllTestabilities();
|
119
119
|
ɵglobal['getAllAngularRootElements'] = () => registry.getAllRootElements();
|
120
|
-
const whenAllStable = (callback
|
120
|
+
const whenAllStable = (callback) => {
|
121
121
|
const testabilities = ɵglobal['getAllAngularTestabilities']();
|
122
122
|
let count = testabilities.length;
|
123
123
|
let didWork = false;
|
124
|
-
const decrement = function (didWork_
|
124
|
+
const decrement = function (didWork_) {
|
125
125
|
didWork = didWork || didWork_;
|
126
126
|
count--;
|
127
127
|
if (count == 0) {
|
128
128
|
callback(didWork);
|
129
129
|
}
|
130
130
|
};
|
131
|
-
testabilities.forEach(
|
131
|
+
testabilities.forEach((testability) => {
|
132
132
|
testability.whenStable(decrement);
|
133
133
|
});
|
134
134
|
};
|
@@ -162,10 +162,10 @@ class BrowserXhr {
|
|
162
162
|
build() {
|
163
163
|
return new XMLHttpRequest();
|
164
164
|
}
|
165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
166
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
166
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BrowserXhr }); }
|
167
167
|
}
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BrowserXhr, decorators: [{
|
169
169
|
type: Injectable
|
170
170
|
}] });
|
171
171
|
|
@@ -227,10 +227,10 @@ class EventManager {
|
|
227
227
|
this._eventNameToPlugin.set(eventName, plugin);
|
228
228
|
return plugin;
|
229
229
|
}
|
230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
231
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", 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.1.4", ngImport: i0, type: EventManager }); }
|
232
232
|
}
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", 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.1.
|
376
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", 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.1.4", ngImport: i0, type: SharedStylesHost }); }
|
377
377
|
}
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SharedStylesHost, decorators: [{
|
379
379
|
type: Injectable
|
380
380
|
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
381
381
|
type: Inject,
|
@@ -416,7 +416,7 @@ const REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT = false;
|
|
416
416
|
* By default, the value is set to `false`. This will be changed in the next major version.
|
417
417
|
* @publicApi
|
418
418
|
*/
|
419
|
-
const REMOVE_STYLES_ON_COMPONENT_DESTROY = new InjectionToken('
|
419
|
+
const REMOVE_STYLES_ON_COMPONENT_DESTROY = new InjectionToken('RemoveStylesOnCompDestroy', {
|
420
420
|
providedIn: 'root',
|
421
421
|
factory: () => REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT,
|
422
422
|
});
|
@@ -430,11 +430,11 @@ function shimStylesContent(compId, styles) {
|
|
430
430
|
return styles.map(s => s.replace(COMPONENT_REGEX, compId));
|
431
431
|
}
|
432
432
|
class DomRendererFactory2 {
|
433
|
-
constructor(eventManager, sharedStylesHost, appId,
|
433
|
+
constructor(eventManager, sharedStylesHost, appId, removeStylesOnCompDestroy, doc, platformId, ngZone, nonce = null) {
|
434
434
|
this.eventManager = eventManager;
|
435
435
|
this.sharedStylesHost = sharedStylesHost;
|
436
436
|
this.appId = appId;
|
437
|
-
this.
|
437
|
+
this.removeStylesOnCompDestroy = removeStylesOnCompDestroy;
|
438
438
|
this.doc = doc;
|
439
439
|
this.platformId = platformId;
|
440
440
|
this.ngZone = ngZone;
|
@@ -471,16 +471,16 @@ class DomRendererFactory2 {
|
|
471
471
|
const ngZone = this.ngZone;
|
472
472
|
const eventManager = this.eventManager;
|
473
473
|
const sharedStylesHost = this.sharedStylesHost;
|
474
|
-
const
|
474
|
+
const removeStylesOnCompDestroy = this.removeStylesOnCompDestroy;
|
475
475
|
const platformIsServer = this.platformIsServer;
|
476
476
|
switch (type.encapsulation) {
|
477
477
|
case ViewEncapsulation.Emulated:
|
478
|
-
renderer = new EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, type, this.appId,
|
478
|
+
renderer = new EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, type, this.appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer);
|
479
479
|
break;
|
480
480
|
case ViewEncapsulation.ShadowDom:
|
481
481
|
return new ShadowDomRenderer(eventManager, sharedStylesHost, element, type, doc, ngZone, this.nonce, platformIsServer);
|
482
482
|
default:
|
483
|
-
renderer = new NoneEncapsulationDomRenderer(eventManager, sharedStylesHost, type,
|
483
|
+
renderer = new NoneEncapsulationDomRenderer(eventManager, sharedStylesHost, type, removeStylesOnCompDestroy, doc, ngZone, platformIsServer);
|
484
484
|
break;
|
485
485
|
}
|
486
486
|
renderer.onDestroy = () => rendererByCompId.delete(type.id);
|
@@ -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.1.
|
495
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
494
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", 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.1.4", ngImport: i0, type: DomRendererFactory2 }); }
|
496
496
|
}
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", 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,7 @@ class DefaultDomRenderer2 {
|
|
562
562
|
let el = typeof selectorOrNode === 'string' ? this.doc.querySelector(selectorOrNode) :
|
563
563
|
selectorOrNode;
|
564
564
|
if (!el) {
|
565
|
-
throw new ɵRuntimeError(5104 /* RuntimeErrorCode.ROOT_NODE_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
565
|
+
throw new ɵRuntimeError(-5104 /* RuntimeErrorCode.ROOT_NODE_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
566
566
|
`The selector "${selectorOrNode}" did not match any elements`);
|
567
567
|
}
|
568
568
|
if (!preserveContent) {
|
@@ -719,10 +719,10 @@ class ShadowDomRenderer extends DefaultDomRenderer2 {
|
|
719
719
|
}
|
720
720
|
}
|
721
721
|
class NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {
|
722
|
-
constructor(eventManager, sharedStylesHost, component,
|
722
|
+
constructor(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, compId) {
|
723
723
|
super(eventManager, doc, ngZone, platformIsServer);
|
724
724
|
this.sharedStylesHost = sharedStylesHost;
|
725
|
-
this.
|
725
|
+
this.removeStylesOnCompDestroy = removeStylesOnCompDestroy;
|
726
726
|
this.rendererUsageCount = 0;
|
727
727
|
this.styles = compId ? shimStylesContent(compId, component.styles) : component.styles;
|
728
728
|
}
|
@@ -731,7 +731,7 @@ class NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {
|
|
731
731
|
this.rendererUsageCount++;
|
732
732
|
}
|
733
733
|
destroy() {
|
734
|
-
if (!this.
|
734
|
+
if (!this.removeStylesOnCompDestroy) {
|
735
735
|
return;
|
736
736
|
}
|
737
737
|
this.sharedStylesHost.removeStyles(this.styles);
|
@@ -742,9 +742,9 @@ class NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {
|
|
742
742
|
}
|
743
743
|
}
|
744
744
|
class EmulatedEncapsulationDomRenderer2 extends NoneEncapsulationDomRenderer {
|
745
|
-
constructor(eventManager, sharedStylesHost, component, appId,
|
745
|
+
constructor(eventManager, sharedStylesHost, component, appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer) {
|
746
746
|
const compId = appId + '-' + component.id;
|
747
|
-
super(eventManager, sharedStylesHost, component,
|
747
|
+
super(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, compId);
|
748
748
|
this.contentAttr = shimContentAttribute(compId);
|
749
749
|
this.hostAttr = shimHostAttribute(compId);
|
750
750
|
}
|
@@ -775,10 +775,10 @@ class DomEventsPlugin extends EventManagerPlugin {
|
|
775
775
|
removeEventListener(target, eventName, callback) {
|
776
776
|
return target.removeEventListener(eventName, callback);
|
777
777
|
}
|
778
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
779
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
778
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
779
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DomEventsPlugin }); }
|
780
780
|
}
|
781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DomEventsPlugin, decorators: [{
|
782
782
|
type: Injectable
|
783
783
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
784
784
|
type: Inject,
|
@@ -954,10 +954,10 @@ class KeyEventsPlugin extends EventManagerPlugin {
|
|
954
954
|
return keyName;
|
955
955
|
}
|
956
956
|
}
|
957
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
958
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
958
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: KeyEventsPlugin }); }
|
959
959
|
}
|
960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: KeyEventsPlugin, decorators: [{
|
961
961
|
type: Injectable
|
962
962
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
963
963
|
type: Inject,
|
@@ -1164,11 +1164,11 @@ class BrowserModule {
|
|
1164
1164
|
],
|
1165
1165
|
};
|
1166
1166
|
}
|
1167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
1168
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.
|
1169
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.
|
1167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1168
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] }); }
|
1169
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BrowserModule, providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS], imports: [CommonModule, ApplicationModule] }); }
|
1170
1170
|
}
|
1171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
1171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BrowserModule, decorators: [{
|
1172
1172
|
type: NgModule,
|
1173
1173
|
args: [{
|
1174
1174
|
providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
|
@@ -1338,10 +1338,10 @@ class Meta {
|
|
1338
1338
|
_getMetaKeyMap(prop) {
|
1339
1339
|
return META_KEYS_MAP[prop] || prop;
|
1340
1340
|
}
|
1341
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
1342
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
1341
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1342
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] }); }
|
1343
1343
|
}
|
1344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
1344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: Meta, decorators: [{
|
1345
1345
|
type: Injectable,
|
1346
1346
|
args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
|
1347
1347
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -1388,10 +1388,10 @@ class Title {
|
|
1388
1388
|
setTitle(newTitle) {
|
1389
1389
|
this._doc.title = newTitle || '';
|
1390
1390
|
}
|
1391
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
1392
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
1391
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1392
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] }); }
|
1393
1393
|
}
|
1394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
1394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: Title, decorators: [{
|
1395
1395
|
type: Injectable,
|
1396
1396
|
args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
|
1397
1397
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -1660,10 +1660,10 @@ class HammerGestureConfig {
|
|
1660
1660
|
}
|
1661
1661
|
return mc;
|
1662
1662
|
}
|
1663
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
1664
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
1663
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1664
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HammerGestureConfig }); }
|
1665
1665
|
}
|
1666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
1666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HammerGestureConfig, decorators: [{
|
1667
1667
|
type: Injectable
|
1668
1668
|
}] });
|
1669
1669
|
/**
|
@@ -1758,10 +1758,10 @@ class HammerGesturesPlugin extends EventManagerPlugin {
|
|
1758
1758
|
isCustomEvent(eventName) {
|
1759
1759
|
return this._config.events.indexOf(eventName) > -1;
|
1760
1760
|
}
|
1761
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
1762
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
1761
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1762
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HammerGesturesPlugin }); }
|
1763
1763
|
}
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
1764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
|
1765
1765
|
type: Injectable
|
1766
1766
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1767
1767
|
type: Inject,
|
@@ -1787,9 +1787,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImpor
|
|
1787
1787
|
* @publicApi
|
1788
1788
|
*/
|
1789
1789
|
class HammerModule {
|
1790
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
1791
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.
|
1792
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.
|
1790
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1791
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: HammerModule }); }
|
1792
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HammerModule, providers: [
|
1793
1793
|
{
|
1794
1794
|
provide: EVENT_MANAGER_PLUGINS,
|
1795
1795
|
useClass: HammerGesturesPlugin,
|
@@ -1799,7 +1799,7 @@ class HammerModule {
|
|
1799
1799
|
{ provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
|
1800
1800
|
] }); }
|
1801
1801
|
}
|
1802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
1802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HammerModule, decorators: [{
|
1803
1803
|
type: NgModule,
|
1804
1804
|
args: [{
|
1805
1805
|
providers: [
|
@@ -1846,10 +1846,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImpor
|
|
1846
1846
|
* @publicApi
|
1847
1847
|
*/
|
1848
1848
|
class DomSanitizer {
|
1849
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
1850
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
1849
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1850
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) }); }
|
1851
1851
|
}
|
1852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
1852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DomSanitizer, decorators: [{
|
1853
1853
|
type: Injectable,
|
1854
1854
|
args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
|
1855
1855
|
}] });
|
@@ -1914,10 +1914,10 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
1914
1914
|
bypassSecurityTrustResourceUrl(value) {
|
1915
1915
|
return ɵbypassSanitizationTrustResourceUrl(value);
|
1916
1916
|
}
|
1917
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.
|
1918
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.
|
1917
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1918
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] }); }
|
1919
1919
|
}
|
1920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.
|
1920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DomSanitizerImpl, decorators: [{
|
1921
1921
|
type: Injectable,
|
1922
1922
|
args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
|
1923
1923
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -2065,7 +2065,7 @@ function provideClientHydration(...features) {
|
|
2065
2065
|
/**
|
2066
2066
|
* @publicApi
|
2067
2067
|
*/
|
2068
|
-
const VERSION = new Version('16.1.
|
2068
|
+
const VERSION = new Version('16.1.4');
|
2069
2069
|
|
2070
2070
|
// Re-export TransferState to the public API of the `platform-browser` for backwards-compatibility.
|
2071
2071
|
/**
|