@angular/platform-browser 19.1.5 → 19.2.0-next.0
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/async/index.d.ts +1 -1
- package/animations/index.d.ts +1 -1
- package/fesm2022/animations/async.mjs +4 -4
- package/fesm2022/animations.mjs +12 -12
- package/fesm2022/platform-browser.mjs +52 -105
- 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
package/animations/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v19.
|
2
|
+
* @license Angular v19.2.0-next.0
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -131,10 +131,10 @@ class AsyncAnimationRendererFactory {
|
|
131
131
|
this._engine?.flush();
|
132
132
|
this.delegate.componentReplaced?.(componentId);
|
133
133
|
}
|
134
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
135
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
134
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: AsyncAnimationRendererFactory, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
135
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: AsyncAnimationRendererFactory });
|
136
136
|
}
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: AsyncAnimationRendererFactory, decorators: [{
|
138
138
|
type: Injectable
|
139
139
|
}], ctorParameters: () => [{ type: Document }, { type: i0.RendererFactory2 }, { type: i0.NgZone }, { type: undefined }, { type: Promise }] });
|
140
140
|
/**
|
package/fesm2022/animations.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v19.
|
2
|
+
* @license Angular v19.2.0-next.0
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -22,10 +22,10 @@ class InjectableAnimationEngine extends ɵAnimationEngine {
|
|
22
22
|
ngOnDestroy() {
|
23
23
|
this.flush();
|
24
24
|
}
|
25
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
26
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable });
|
26
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: InjectableAnimationEngine });
|
27
27
|
}
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
|
29
29
|
type: Injectable
|
30
30
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
31
31
|
type: Inject,
|
@@ -95,11 +95,11 @@ class BrowserAnimationsModule {
|
|
95
95
|
: BROWSER_ANIMATIONS_PROVIDERS,
|
96
96
|
};
|
97
97
|
}
|
98
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
99
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
100
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
98
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
99
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] });
|
100
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
|
101
101
|
}
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserAnimationsModule, decorators: [{
|
103
103
|
type: NgModule,
|
104
104
|
args: [{
|
105
105
|
exports: [BrowserModule],
|
@@ -139,11 +139,11 @@ function provideAnimations() {
|
|
139
139
|
* @publicApi
|
140
140
|
*/
|
141
141
|
class NoopAnimationsModule {
|
142
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
143
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
144
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
143
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] });
|
144
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
|
145
145
|
}
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NoopAnimationsModule, decorators: [{
|
147
147
|
type: NgModule,
|
148
148
|
args: [{
|
149
149
|
exports: [BrowserModule],
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v19.
|
2
|
+
* @license Angular v19.2.0-next.0
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -151,10 +151,10 @@ class BrowserXhr {
|
|
151
151
|
build() {
|
152
152
|
return new XMLHttpRequest();
|
153
153
|
}
|
154
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
155
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
154
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
155
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserXhr });
|
156
156
|
}
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserXhr, decorators: [{
|
158
158
|
type: Injectable
|
159
159
|
}] });
|
160
160
|
|
@@ -219,10 +219,10 @@ class EventManager {
|
|
219
219
|
this._eventNameToPlugin.set(eventName, plugin);
|
220
220
|
return plugin;
|
221
221
|
}
|
222
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
223
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
223
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: EventManager });
|
224
224
|
}
|
225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: EventManager, decorators: [{
|
226
226
|
type: Injectable
|
227
227
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
228
228
|
type: Inject,
|
@@ -427,10 +427,10 @@ class SharedStylesHost {
|
|
427
427
|
// Insert the element into the DOM with the host node as parent
|
428
428
|
return host.appendChild(element);
|
429
429
|
}
|
430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
431
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
430
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: SharedStylesHost, deps: [{ token: DOCUMENT }, { token: APP_ID }, { token: CSP_NONCE, optional: true }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
431
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: SharedStylesHost });
|
432
432
|
}
|
433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: SharedStylesHost, decorators: [{
|
434
434
|
type: Injectable
|
435
435
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
436
436
|
type: Inject,
|
@@ -457,8 +457,6 @@ const NAMESPACE_URIS = {
|
|
457
457
|
'math': 'http://www.w3.org/1998/Math/MathML',
|
458
458
|
};
|
459
459
|
const COMPONENT_REGEX = /%COMP%/g;
|
460
|
-
const SOURCEMAP_URL_REGEXP = /\/\*#\s*sourceMappingURL=(.+?)\s*\*\//;
|
461
|
-
const PROTOCOL_REGEXP = /^https?:/;
|
462
460
|
const COMPONENT_VARIABLE = '%COMP%';
|
463
461
|
const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
464
462
|
const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
@@ -486,44 +484,6 @@ function shimHostAttribute(componentShortId) {
|
|
486
484
|
function shimStylesContent(compId, styles) {
|
487
485
|
return styles.map((s) => s.replace(COMPONENT_REGEX, compId));
|
488
486
|
}
|
489
|
-
/**
|
490
|
-
* Prepends a baseHref to the `sourceMappingURL` within the provided CSS content.
|
491
|
-
* If the `sourceMappingURL` contains an inline (encoded) map, the function skips processing.
|
492
|
-
*
|
493
|
-
* @note For inline stylesheets, the `sourceMappingURL` is relative to the page's origin
|
494
|
-
* and not the provided baseHref. This function is needed as when accessing the page with a URL
|
495
|
-
* containing two or more segments.
|
496
|
-
* For example, if the baseHref is set to `/`, and you visit a URL like `http://localhost/foo/bar`,
|
497
|
-
* the map would be requested from `http://localhost/foo/bar/comp.css.map` instead of what you'd expect,
|
498
|
-
* which is `http://localhost/comp.css.map`. This behavior is corrected by modifying the `sourceMappingURL`
|
499
|
-
* to ensure external source maps are loaded relative to the baseHref.
|
500
|
-
*
|
501
|
-
|
502
|
-
* @param baseHref - The base URL to prepend to the `sourceMappingURL`.
|
503
|
-
* @param styles - An array of CSS content strings, each potentially containing a `sourceMappingURL`.
|
504
|
-
* @returns The updated array of CSS content strings with modified `sourceMappingURL` values,
|
505
|
-
* or the original content if no modification is needed.
|
506
|
-
*/
|
507
|
-
function addBaseHrefToCssSourceMap(baseHref, styles) {
|
508
|
-
if (!baseHref) {
|
509
|
-
return styles;
|
510
|
-
}
|
511
|
-
const absoluteBaseHrefUrl = new URL(baseHref, 'http://localhost');
|
512
|
-
return styles.map((cssContent) => {
|
513
|
-
if (!cssContent.includes('sourceMappingURL=')) {
|
514
|
-
return cssContent;
|
515
|
-
}
|
516
|
-
return cssContent.replace(SOURCEMAP_URL_REGEXP, (_, sourceMapUrl) => {
|
517
|
-
if (sourceMapUrl[0] === '/' ||
|
518
|
-
sourceMapUrl.startsWith('data:') ||
|
519
|
-
PROTOCOL_REGEXP.test(sourceMapUrl)) {
|
520
|
-
return `/*# sourceMappingURL=${sourceMapUrl} */`;
|
521
|
-
}
|
522
|
-
const { pathname: resolvedSourceMapUrl } = new URL(sourceMapUrl, absoluteBaseHrefUrl);
|
523
|
-
return `/*# sourceMappingURL=${resolvedSourceMapUrl} */`;
|
524
|
-
});
|
525
|
-
});
|
526
|
-
}
|
527
487
|
class DomRendererFactory2 {
|
528
488
|
eventManager;
|
529
489
|
sharedStylesHost;
|
@@ -579,15 +539,14 @@ class DomRendererFactory2 {
|
|
579
539
|
const sharedStylesHost = this.sharedStylesHost;
|
580
540
|
const removeStylesOnCompDestroy = this.removeStylesOnCompDestroy;
|
581
541
|
const platformIsServer = this.platformIsServer;
|
582
|
-
const tracingService = this.tracingService;
|
583
542
|
switch (type.encapsulation) {
|
584
543
|
case ViewEncapsulation.Emulated:
|
585
|
-
renderer = new EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, type, this.appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService);
|
544
|
+
renderer = new EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, type, this.appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, this.tracingService);
|
586
545
|
break;
|
587
546
|
case ViewEncapsulation.ShadowDom:
|
588
|
-
return new ShadowDomRenderer(eventManager, sharedStylesHost, element, type, doc, ngZone, this.nonce, platformIsServer, tracingService);
|
547
|
+
return new ShadowDomRenderer(eventManager, sharedStylesHost, element, type, doc, ngZone, this.nonce, platformIsServer, this.tracingService);
|
589
548
|
default:
|
590
|
-
renderer = new NoneEncapsulationDomRenderer(eventManager, sharedStylesHost, type, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService);
|
549
|
+
renderer = new NoneEncapsulationDomRenderer(eventManager, sharedStylesHost, type, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, this.tracingService);
|
591
550
|
break;
|
592
551
|
}
|
593
552
|
rendererByCompId.set(type.id, renderer);
|
@@ -604,10 +563,10 @@ class DomRendererFactory2 {
|
|
604
563
|
componentReplaced(componentId) {
|
605
564
|
this.rendererByCompId.delete(componentId);
|
606
565
|
}
|
607
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
608
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
566
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", 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 }, { token: ɵTracingService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
567
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomRendererFactory2 });
|
609
568
|
}
|
610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomRendererFactory2, decorators: [{
|
611
570
|
type: Injectable
|
612
571
|
}], ctorParameters: () => [{ type: EventManager }, { type: SharedStylesHost }, { type: undefined, decorators: [{
|
613
572
|
type: Inject,
|
@@ -829,13 +788,7 @@ class ShadowDomRenderer extends DefaultDomRenderer2 {
|
|
829
788
|
this.hostEl = hostEl;
|
830
789
|
this.shadowRoot = hostEl.attachShadow({ mode: 'open' });
|
831
790
|
this.sharedStylesHost.addHost(this.shadowRoot);
|
832
|
-
|
833
|
-
if (ngDevMode) {
|
834
|
-
// We only do this in development, as for production users should not add CSS sourcemaps to components.
|
835
|
-
const baseHref = ɵgetDOM().getBaseHref(doc) ?? '';
|
836
|
-
styles = addBaseHrefToCssSourceMap(baseHref, styles);
|
837
|
-
}
|
838
|
-
styles = shimStylesContent(component.id, styles);
|
791
|
+
const styles = shimStylesContent(component.id, component.styles);
|
839
792
|
for (const style of styles) {
|
840
793
|
const styleEl = document.createElement('style');
|
841
794
|
if (nonce) {
|
@@ -889,13 +842,7 @@ class NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {
|
|
889
842
|
super(eventManager, doc, ngZone, platformIsServer, tracingService);
|
890
843
|
this.sharedStylesHost = sharedStylesHost;
|
891
844
|
this.removeStylesOnCompDestroy = removeStylesOnCompDestroy;
|
892
|
-
|
893
|
-
if (ngDevMode) {
|
894
|
-
// We only do this in development, as for production users should not add CSS sourcemaps to components.
|
895
|
-
const baseHref = ɵgetDOM().getBaseHref(doc) ?? '';
|
896
|
-
styles = addBaseHrefToCssSourceMap(baseHref, styles);
|
897
|
-
}
|
898
|
-
this.styles = compId ? shimStylesContent(compId, styles) : styles;
|
845
|
+
this.styles = compId ? shimStylesContent(compId, component.styles) : component.styles;
|
899
846
|
this.styleUrls = component.getExternalStyles?.(compId);
|
900
847
|
}
|
901
848
|
applyStyles() {
|
@@ -944,10 +891,10 @@ class DomEventsPlugin extends EventManagerPlugin {
|
|
944
891
|
removeEventListener(target, eventName, callback, options) {
|
945
892
|
return target.removeEventListener(eventName, callback, options);
|
946
893
|
}
|
947
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
948
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
894
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
895
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomEventsPlugin });
|
949
896
|
}
|
950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomEventsPlugin, decorators: [{
|
951
898
|
type: Injectable
|
952
899
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
953
900
|
type: Inject,
|
@@ -1116,10 +1063,10 @@ class KeyEventsPlugin extends EventManagerPlugin {
|
|
1116
1063
|
static _normalizeKey(keyName) {
|
1117
1064
|
return keyName === 'esc' ? 'escape' : keyName;
|
1118
1065
|
}
|
1119
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
1120
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
1066
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1067
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: KeyEventsPlugin });
|
1121
1068
|
}
|
1122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
1069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: KeyEventsPlugin, decorators: [{
|
1123
1070
|
type: Injectable
|
1124
1071
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
1125
1072
|
type: Inject,
|
@@ -1280,7 +1227,7 @@ const BROWSER_MODULE_PROVIDERS = [
|
|
1280
1227
|
provide: EVENT_MANAGER_PLUGINS,
|
1281
1228
|
useClass: DomEventsPlugin,
|
1282
1229
|
multi: true,
|
1283
|
-
deps: [DOCUMENT],
|
1230
|
+
deps: [DOCUMENT, NgZone, PLATFORM_ID],
|
1284
1231
|
},
|
1285
1232
|
{ provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] },
|
1286
1233
|
DomRendererFactory2,
|
@@ -1314,11 +1261,11 @@ class BrowserModule {
|
|
1314
1261
|
}
|
1315
1262
|
}
|
1316
1263
|
}
|
1317
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
1318
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
1319
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
1264
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1265
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
|
1266
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserModule, providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS], imports: [CommonModule, ApplicationModule] });
|
1320
1267
|
}
|
1321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
1268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserModule, decorators: [{
|
1322
1269
|
type: NgModule,
|
1323
1270
|
args: [{
|
1324
1271
|
providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
|
@@ -1477,10 +1424,10 @@ class Meta {
|
|
1477
1424
|
_getMetaKeyMap(prop) {
|
1478
1425
|
return META_KEYS_MAP[prop] || prop;
|
1479
1426
|
}
|
1480
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
1481
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
1427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1428
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: Meta, providedIn: 'root' });
|
1482
1429
|
}
|
1483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
1430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: Meta, decorators: [{
|
1484
1431
|
type: Injectable,
|
1485
1432
|
args: [{ providedIn: 'root' }]
|
1486
1433
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
@@ -1522,10 +1469,10 @@ class Title {
|
|
1522
1469
|
setTitle(newTitle) {
|
1523
1470
|
this._doc.title = newTitle || '';
|
1524
1471
|
}
|
1525
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
1526
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
1472
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
1473
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: Title, providedIn: 'root' });
|
1527
1474
|
}
|
1528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
1475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: Title, decorators: [{
|
1529
1476
|
type: Injectable,
|
1530
1477
|
args: [{ providedIn: 'root' }]
|
1531
1478
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
@@ -1798,10 +1745,10 @@ class HammerGestureConfig {
|
|
1798
1745
|
}
|
1799
1746
|
return mc;
|
1800
1747
|
}
|
1801
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
1802
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
1748
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1749
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerGestureConfig });
|
1803
1750
|
}
|
1804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
1751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerGestureConfig, decorators: [{
|
1805
1752
|
type: Injectable
|
1806
1753
|
}] });
|
1807
1754
|
/**
|
@@ -1902,10 +1849,10 @@ class HammerGesturesPlugin extends EventManagerPlugin {
|
|
1902
1849
|
isCustomEvent(eventName) {
|
1903
1850
|
return this._config.events.indexOf(eventName) > -1;
|
1904
1851
|
}
|
1905
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
1906
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
1852
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.Injector }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
1853
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerGesturesPlugin });
|
1907
1854
|
}
|
1908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
1855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
|
1909
1856
|
type: Injectable
|
1910
1857
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
1911
1858
|
type: Inject,
|
@@ -1931,9 +1878,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
1931
1878
|
* @publicApi
|
1932
1879
|
*/
|
1933
1880
|
class HammerModule {
|
1934
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
1935
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
1936
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
1881
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1882
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerModule });
|
1883
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerModule, providers: [
|
1937
1884
|
{
|
1938
1885
|
provide: EVENT_MANAGER_PLUGINS,
|
1939
1886
|
useClass: HammerGesturesPlugin,
|
@@ -1943,7 +1890,7 @@ class HammerModule {
|
|
1943
1890
|
{ provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
|
1944
1891
|
] });
|
1945
1892
|
}
|
1946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
1893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HammerModule, decorators: [{
|
1947
1894
|
type: NgModule,
|
1948
1895
|
args: [{
|
1949
1896
|
providers: [
|
@@ -1990,10 +1937,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
1990
1937
|
* @publicApi
|
1991
1938
|
*/
|
1992
1939
|
class DomSanitizer {
|
1993
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
1994
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
1940
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1941
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(() => DomSanitizerImpl) });
|
1995
1942
|
}
|
1996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
1943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomSanitizer, decorators: [{
|
1997
1944
|
type: Injectable,
|
1998
1945
|
args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
|
1999
1946
|
}] });
|
@@ -2056,10 +2003,10 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
2056
2003
|
bypassSecurityTrustResourceUrl(value) {
|
2057
2004
|
return ɵbypassSanitizationTrustResourceUrl(value);
|
2058
2005
|
}
|
2059
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
2060
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
2006
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
2007
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root' });
|
2061
2008
|
}
|
2062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
2009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DomSanitizerImpl, decorators: [{
|
2063
2010
|
type: Injectable,
|
2064
2011
|
args: [{ providedIn: 'root' }]
|
2065
2012
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
@@ -2268,7 +2215,7 @@ function provideClientHydration(...features) {
|
|
2268
2215
|
/**
|
2269
2216
|
* @publicApi
|
2270
2217
|
*/
|
2271
|
-
const VERSION = new Version('19.
|
2218
|
+
const VERSION = new Version('19.2.0-next.0');
|
2272
2219
|
|
2273
2220
|
/**
|
2274
2221
|
* @module
|