@angular/platform-browser 16.2.0-next.0 → 16.2.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animations/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 -23
- 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 -68
- 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.2.0-next.
|
2
|
+
* @license Angular v16.2.0-next.2
|
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.2.0-next.
|
166
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
166
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserXhr }); }
|
167
167
|
}
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", 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.2.0-next.
|
231
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", 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.2.0-next.2", ngImport: i0, type: EventManager }); }
|
232
232
|
}
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", 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.2.0-next.
|
376
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", 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.2.0-next.2", ngImport: i0, type: SharedStylesHost }); }
|
377
377
|
}
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", 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,19 +471,18 @@ 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
|
-
renderer.onDestroy = () => rendererByCompId.delete(type.id);
|
487
486
|
rendererByCompId.set(type.id, renderer);
|
488
487
|
}
|
489
488
|
return renderer;
|
@@ -491,10 +490,10 @@ class DomRendererFactory2 {
|
|
491
490
|
ngOnDestroy() {
|
492
491
|
this.rendererByCompId.clear();
|
493
492
|
}
|
494
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
495
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", 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 }); }
|
494
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomRendererFactory2 }); }
|
496
495
|
}
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomRendererFactory2, decorators: [{
|
498
497
|
type: Injectable
|
499
498
|
}], ctorParameters: function () { return [{ type: EventManager }, { type: SharedStylesHost }, { type: undefined, decorators: [{
|
500
499
|
type: Inject,
|
@@ -562,7 +561,7 @@ class DefaultDomRenderer2 {
|
|
562
561
|
let el = typeof selectorOrNode === 'string' ? this.doc.querySelector(selectorOrNode) :
|
563
562
|
selectorOrNode;
|
564
563
|
if (!el) {
|
565
|
-
throw new ɵRuntimeError(5104 /* RuntimeErrorCode.ROOT_NODE_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
564
|
+
throw new ɵRuntimeError(-5104 /* RuntimeErrorCode.ROOT_NODE_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
566
565
|
`The selector "${selectorOrNode}" did not match any elements`);
|
567
566
|
}
|
568
567
|
if (!preserveContent) {
|
@@ -719,32 +718,26 @@ class ShadowDomRenderer extends DefaultDomRenderer2 {
|
|
719
718
|
}
|
720
719
|
}
|
721
720
|
class NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {
|
722
|
-
constructor(eventManager, sharedStylesHost, component,
|
721
|
+
constructor(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, compId) {
|
723
722
|
super(eventManager, doc, ngZone, platformIsServer);
|
724
723
|
this.sharedStylesHost = sharedStylesHost;
|
725
|
-
this.
|
726
|
-
this.rendererUsageCount = 0;
|
724
|
+
this.removeStylesOnCompDestroy = removeStylesOnCompDestroy;
|
727
725
|
this.styles = compId ? shimStylesContent(compId, component.styles) : component.styles;
|
728
726
|
}
|
729
727
|
applyStyles() {
|
730
728
|
this.sharedStylesHost.addStyles(this.styles);
|
731
|
-
this.rendererUsageCount++;
|
732
729
|
}
|
733
730
|
destroy() {
|
734
|
-
if (!this.
|
731
|
+
if (!this.removeStylesOnCompDestroy) {
|
735
732
|
return;
|
736
733
|
}
|
737
734
|
this.sharedStylesHost.removeStyles(this.styles);
|
738
|
-
this.rendererUsageCount--;
|
739
|
-
if (this.rendererUsageCount === 0) {
|
740
|
-
this.onDestroy?.();
|
741
|
-
}
|
742
735
|
}
|
743
736
|
}
|
744
737
|
class EmulatedEncapsulationDomRenderer2 extends NoneEncapsulationDomRenderer {
|
745
|
-
constructor(eventManager, sharedStylesHost, component, appId,
|
738
|
+
constructor(eventManager, sharedStylesHost, component, appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer) {
|
746
739
|
const compId = appId + '-' + component.id;
|
747
|
-
super(eventManager, sharedStylesHost, component,
|
740
|
+
super(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, compId);
|
748
741
|
this.contentAttr = shimContentAttribute(compId);
|
749
742
|
this.hostAttr = shimHostAttribute(compId);
|
750
743
|
}
|
@@ -775,10 +768,10 @@ class DomEventsPlugin extends EventManagerPlugin {
|
|
775
768
|
removeEventListener(target, eventName, callback) {
|
776
769
|
return target.removeEventListener(eventName, callback);
|
777
770
|
}
|
778
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
779
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
771
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
772
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomEventsPlugin }); }
|
780
773
|
}
|
781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomEventsPlugin, decorators: [{
|
782
775
|
type: Injectable
|
783
776
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
784
777
|
type: Inject,
|
@@ -954,10 +947,10 @@ class KeyEventsPlugin extends EventManagerPlugin {
|
|
954
947
|
return keyName;
|
955
948
|
}
|
956
949
|
}
|
957
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
958
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
950
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
951
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: KeyEventsPlugin }); }
|
959
952
|
}
|
960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: KeyEventsPlugin, decorators: [{
|
961
954
|
type: Injectable
|
962
955
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
963
956
|
type: Inject,
|
@@ -1164,11 +1157,11 @@ class BrowserModule {
|
|
1164
1157
|
],
|
1165
1158
|
};
|
1166
1159
|
}
|
1167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
1168
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0-next.
|
1169
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0-next.
|
1160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1161
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] }); }
|
1162
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserModule, providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS], imports: [CommonModule, ApplicationModule] }); }
|
1170
1163
|
}
|
1171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
1164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserModule, decorators: [{
|
1172
1165
|
type: NgModule,
|
1173
1166
|
args: [{
|
1174
1167
|
providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
|
@@ -1338,10 +1331,10 @@ class Meta {
|
|
1338
1331
|
_getMetaKeyMap(prop) {
|
1339
1332
|
return META_KEYS_MAP[prop] || prop;
|
1340
1333
|
}
|
1341
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
1342
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
1334
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1335
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] }); }
|
1343
1336
|
}
|
1344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
1337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: Meta, decorators: [{
|
1345
1338
|
type: Injectable,
|
1346
1339
|
args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
|
1347
1340
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -1388,10 +1381,10 @@ class Title {
|
|
1388
1381
|
setTitle(newTitle) {
|
1389
1382
|
this._doc.title = newTitle || '';
|
1390
1383
|
}
|
1391
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
1392
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
1384
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1385
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] }); }
|
1393
1386
|
}
|
1394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
1387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: Title, decorators: [{
|
1395
1388
|
type: Injectable,
|
1396
1389
|
args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
|
1397
1390
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -1660,10 +1653,10 @@ class HammerGestureConfig {
|
|
1660
1653
|
}
|
1661
1654
|
return mc;
|
1662
1655
|
}
|
1663
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
1664
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
1656
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1657
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerGestureConfig }); }
|
1665
1658
|
}
|
1666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
1659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerGestureConfig, decorators: [{
|
1667
1660
|
type: Injectable
|
1668
1661
|
}] });
|
1669
1662
|
/**
|
@@ -1758,10 +1751,10 @@ class HammerGesturesPlugin extends EventManagerPlugin {
|
|
1758
1751
|
isCustomEvent(eventName) {
|
1759
1752
|
return this._config.events.indexOf(eventName) > -1;
|
1760
1753
|
}
|
1761
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
1762
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
1754
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1755
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerGesturesPlugin }); }
|
1763
1756
|
}
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
1757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
|
1765
1758
|
type: Injectable
|
1766
1759
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
1767
1760
|
type: Inject,
|
@@ -1787,9 +1780,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.0",
|
|
1787
1780
|
* @publicApi
|
1788
1781
|
*/
|
1789
1782
|
class HammerModule {
|
1790
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
1791
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0-next.
|
1792
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0-next.
|
1783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1784
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerModule }); }
|
1785
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerModule, providers: [
|
1793
1786
|
{
|
1794
1787
|
provide: EVENT_MANAGER_PLUGINS,
|
1795
1788
|
useClass: HammerGesturesPlugin,
|
@@ -1799,7 +1792,7 @@ class HammerModule {
|
|
1799
1792
|
{ provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
|
1800
1793
|
] }); }
|
1801
1794
|
}
|
1802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
1795
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: HammerModule, decorators: [{
|
1803
1796
|
type: NgModule,
|
1804
1797
|
args: [{
|
1805
1798
|
providers: [
|
@@ -1846,10 +1839,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.0",
|
|
1846
1839
|
* @publicApi
|
1847
1840
|
*/
|
1848
1841
|
class DomSanitizer {
|
1849
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
1850
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
1842
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1843
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) }); }
|
1851
1844
|
}
|
1852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
1845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomSanitizer, decorators: [{
|
1853
1846
|
type: Injectable,
|
1854
1847
|
args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
|
1855
1848
|
}] });
|
@@ -1914,10 +1907,10 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
1914
1907
|
bypassSecurityTrustResourceUrl(value) {
|
1915
1908
|
return ɵbypassSanitizationTrustResourceUrl(value);
|
1916
1909
|
}
|
1917
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
1918
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.
|
1910
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1911
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] }); }
|
1919
1912
|
}
|
1920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
1913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: DomSanitizerImpl, decorators: [{
|
1921
1914
|
type: Injectable,
|
1922
1915
|
args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
|
1923
1916
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -2065,7 +2058,7 @@ function provideClientHydration(...features) {
|
|
2065
2058
|
/**
|
2066
2059
|
* @publicApi
|
2067
2060
|
*/
|
2068
|
-
const VERSION = new Version('16.2.0-next.
|
2061
|
+
const VERSION = new Version('16.2.0-next.2');
|
2069
2062
|
|
2070
2063
|
// Re-export TransferState to the public API of the `platform-browser` for backwards-compatibility.
|
2071
2064
|
/**
|