@angular/platform-browser 16.0.0-rc.2 → 16.0.0-rc.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 +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/title.mjs +3 -3
- package/esm2022/src/browser/xhr.mjs +3 -3
- package/esm2022/src/browser.mjs +4 -4
- package/esm2022/src/dom/dom_renderer.mjs +3 -3
- 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 +9 -0
- package/esm2022/src/hydration.mjs +27 -2
- package/esm2022/src/platform-browser.mjs +2 -21
- 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/fesm2022/animations.mjs +18 -18
- package/fesm2022/platform-browser.mjs +73 -67
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +3 -1
- package/package.json +4 -4
- package/testing/index.d.ts +1 -1
package/fesm2022/animations.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v16.0.0-rc.
|
2
|
+
* @license Angular v16.0.0-rc.4
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -27,10 +27,10 @@ class BrowserAnimationBuilder extends AnimationBuilder {
|
|
27
27
|
issueAnimationCommand(this._renderer, null, id, 'register', [entry]);
|
28
28
|
return new BrowserAnimationFactory(id, this._renderer);
|
29
29
|
}
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
31
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
31
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserAnimationBuilder }); }
|
32
32
|
}
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
|
34
34
|
type: Injectable
|
35
35
|
}], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: undefined, decorators: [{
|
36
36
|
type: Inject,
|
@@ -214,10 +214,10 @@ class AnimationRendererFactory {
|
|
214
214
|
whenRenderingDone() {
|
215
215
|
return this.engine.whenRenderingDone();
|
216
216
|
}
|
217
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
218
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
217
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: AnimationRendererFactory, deps: [{ token: i0.RendererFactory2 }, { token: i1.ɵAnimationEngine }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
218
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: AnimationRendererFactory }); }
|
219
219
|
}
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: AnimationRendererFactory, decorators: [{
|
221
221
|
type: Injectable
|
222
222
|
}], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1.ɵAnimationEngine }, { type: i0.NgZone }]; } });
|
223
223
|
class BaseAnimationRenderer {
|
@@ -369,10 +369,10 @@ class InjectableAnimationEngine extends ɵAnimationEngine {
|
|
369
369
|
ngOnDestroy() {
|
370
370
|
this.flush();
|
371
371
|
}
|
372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
373
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
372
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
373
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: InjectableAnimationEngine }); }
|
374
374
|
}
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
|
376
376
|
type: Injectable
|
377
377
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
378
378
|
type: Inject,
|
@@ -439,11 +439,11 @@ class BrowserAnimationsModule {
|
|
439
439
|
BROWSER_ANIMATIONS_PROVIDERS
|
440
440
|
};
|
441
441
|
}
|
442
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
443
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-rc.
|
444
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.
|
442
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
443
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] }); }
|
444
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }
|
445
445
|
}
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserAnimationsModule, decorators: [{
|
447
447
|
type: NgModule,
|
448
448
|
args: [{
|
449
449
|
exports: [BrowserModule],
|
@@ -482,11 +482,11 @@ function provideAnimations() {
|
|
482
482
|
* @publicApi
|
483
483
|
*/
|
484
484
|
class NoopAnimationsModule {
|
485
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
486
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-rc.
|
487
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.
|
485
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
486
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-rc.4", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] }); }
|
487
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] }); }
|
488
488
|
}
|
489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: NoopAnimationsModule, decorators: [{
|
490
490
|
type: NgModule,
|
491
491
|
args: [{
|
492
492
|
exports: [BrowserModule],
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v16.0.0-rc.
|
2
|
+
* @license Angular v16.0.0-rc.4
|
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, makeEnvironmentProviders, ɵwithDomHydration, Version, makeStateKey as makeStateKey$1, TransferState as TransferState$1 } 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';
|
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';
|
@@ -161,10 +161,10 @@ class BrowserXhr {
|
|
161
161
|
build() {
|
162
162
|
return new XMLHttpRequest();
|
163
163
|
}
|
164
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
165
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
165
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserXhr }); }
|
166
166
|
}
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: BrowserXhr, decorators: [{
|
168
168
|
type: Injectable
|
169
169
|
}] });
|
170
170
|
|
@@ -227,10 +227,10 @@ class EventManager {
|
|
227
227
|
}
|
228
228
|
throw new Error(`No event manager plugin found for event ${eventName}`);
|
229
229
|
}
|
230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
231
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.4", ngImport: i0, type: EventManager }); }
|
232
232
|
}
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.
|
376
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.4", ngImport: i0, type: SharedStylesHost }); }
|
377
377
|
}
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", 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.0-rc.
|
495
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
494
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.4", ngImport: i0, type: DomRendererFactory2 }); }
|
496
496
|
}
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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,
|
@@ -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.0.0-rc.
|
779
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
778
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
779
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: DomEventsPlugin }); }
|
780
780
|
}
|
781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.
|
958
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
958
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: KeyEventsPlugin }); }
|
959
959
|
}
|
960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.
|
1168
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-rc.
|
1169
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.4", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] }); }
|
1169
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.
|
1171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.
|
1342
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1341
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1342
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] }); }
|
1343
1343
|
}
|
1344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.
|
1392
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1391
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1392
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] }); }
|
1393
1393
|
}
|
1394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.
|
1664
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1663
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1664
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: HammerGestureConfig }); }
|
1665
1665
|
}
|
1666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.
|
1762
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1761
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.4", ngImport: i0, type: HammerGesturesPlugin }); }
|
1763
1763
|
}
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.2", ng
|
|
1787
1787
|
* @publicApi
|
1788
1788
|
*/
|
1789
1789
|
class HammerModule {
|
1790
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1791
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-rc.
|
1792
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1790
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1791
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-rc.4", ngImport: i0, type: HammerModule }); }
|
1792
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.
|
1802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.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.0.0-rc.2", ng
|
|
1846
1846
|
* @publicApi
|
1847
1847
|
*/
|
1848
1848
|
class DomSanitizer {
|
1849
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1850
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1849
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1850
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) }); }
|
1851
1851
|
}
|
1852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: DomSanitizer, decorators: [{
|
1853
1853
|
type: Injectable,
|
1854
1854
|
args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
|
1855
1855
|
}] });
|
@@ -1911,10 +1911,10 @@ class DomSanitizerImpl extends DomSanitizer {
|
|
1911
1911
|
bypassSecurityTrustResourceUrl(value) {
|
1912
1912
|
return ɵbypassSanitizationTrustResourceUrl(value);
|
1913
1913
|
}
|
1914
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1915
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1914
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1915
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] }); }
|
1916
1916
|
}
|
1917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.
|
1917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.4", ngImport: i0, type: DomSanitizerImpl, decorators: [{
|
1918
1918
|
type: Injectable,
|
1919
1919
|
args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
|
1920
1920
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -1976,6 +1976,30 @@ function withNoHttpTransferCache() {
|
|
1976
1976
|
// HTTP transfer cache (which otherwise is turned on by default).
|
1977
1977
|
return hydrationFeature(1 /* HydrationFeatureKind.NoHttpTransferCache */);
|
1978
1978
|
}
|
1979
|
+
/**
|
1980
|
+
* Returns an `ENVIRONMENT_INITIALIZER` token setup with a function
|
1981
|
+
* that verifies whether compatible ZoneJS was used in an application
|
1982
|
+
* and logs a warning in a console if it's not the case.
|
1983
|
+
*/
|
1984
|
+
function provideZoneJsCompatibilityDetector() {
|
1985
|
+
return [{
|
1986
|
+
provide: ENVIRONMENT_INITIALIZER,
|
1987
|
+
useValue: () => {
|
1988
|
+
const ngZone = inject(NgZone);
|
1989
|
+
// Checking `ngZone instanceof NgZone` would be insufficient here,
|
1990
|
+
// because custom implementations might use NgZone as a base class.
|
1991
|
+
if (ngZone.constructor !== NgZone) {
|
1992
|
+
const console = inject(ɵConsole);
|
1993
|
+
const message = ɵformatRuntimeError(-5000 /* RuntimeErrorCode.UNSUPPORTED_ZONEJS_INSTANCE */, 'Angular detected that hydration was enabled for an application ' +
|
1994
|
+
'that uses a custom or a noop Zone.js implementation. ' +
|
1995
|
+
'This is not yet a fully supported configuration.');
|
1996
|
+
// tslint:disable-next-line:no-console
|
1997
|
+
console.warn(message);
|
1998
|
+
}
|
1999
|
+
},
|
2000
|
+
multi: true,
|
2001
|
+
}];
|
2002
|
+
}
|
1979
2003
|
/**
|
1980
2004
|
* Sets up providers necessary to enable hydration functionality for the application.
|
1981
2005
|
* By default, the function enables the recommended set of features for the optimal
|
@@ -2023,6 +2047,7 @@ function provideClientHydration(...features) {
|
|
2023
2047
|
}
|
2024
2048
|
}
|
2025
2049
|
return makeEnvironmentProviders([
|
2050
|
+
(typeof ngDevMode !== 'undefined' && ngDevMode) ? provideZoneJsCompatibilityDetector() : [],
|
2026
2051
|
(featuresKind.has(0 /* HydrationFeatureKind.NoDomReuseFeature */) ? [] : ɵwithDomHydration()),
|
2027
2052
|
(featuresKind.has(1 /* HydrationFeatureKind.NoHttpTransferCache */) ? [] : ɵwithHttpTransferCache()),
|
2028
2053
|
providers,
|
@@ -2037,7 +2062,7 @@ function provideClientHydration(...features) {
|
|
2037
2062
|
/**
|
2038
2063
|
* @publicApi
|
2039
2064
|
*/
|
2040
|
-
const VERSION = new Version('16.0.0-rc.
|
2065
|
+
const VERSION = new Version('16.0.0-rc.4');
|
2041
2066
|
|
2042
2067
|
// Re-export TransferState to the public API of the `platform-browser` for backwards-compatibility.
|
2043
2068
|
/**
|
@@ -2057,26 +2082,7 @@ const VERSION = new Version('16.0.0-rc.2');
|
|
2057
2082
|
*/
|
2058
2083
|
// The below is a workaround to add a deprecated message.
|
2059
2084
|
const makeStateKey = makeStateKey$1;
|
2060
|
-
|
2061
|
-
*
|
2062
|
-
* A key value store that is transferred from the application on the server side to the application
|
2063
|
-
* on the client side.
|
2064
|
-
*
|
2065
|
-
* The `TransferState` is available as an injectable token.
|
2066
|
-
* On the client, just inject this token using DI and use it, it will be lazily initialized.
|
2067
|
-
* On the server it's already included if `renderApplication` function is used. Otherwise, import
|
2068
|
-
* the `ServerTransferStateModule` module to make the `TransferState` available.
|
2069
|
-
*
|
2070
|
-
* The values in the store are serialized/deserialized using JSON.stringify/JSON.parse. So only
|
2071
|
-
* boolean, number, string, null and non-class objects will be serialized and deserialized in a
|
2072
|
-
* non-lossy manner.
|
2073
|
-
*
|
2074
|
-
* @publicApi
|
2075
|
-
*
|
2076
|
-
* @deprecated `TransferState` has moved, please import `TransferState` from `@angular/core`
|
2077
|
-
* instead.
|
2078
|
-
*/
|
2079
|
-
// The below is a workaround to add a deprecated message.
|
2085
|
+
// The below type is needed for G3 due to JSC_CONFORMANCE_VIOLATION.
|
2080
2086
|
const TransferState = TransferState$1;
|
2081
2087
|
|
2082
2088
|
/**
|