@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
package/fesm2022/testing.mjs
CHANGED
@@ -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
|
*/
|
@@ -26,15 +26,15 @@ const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesti
|
|
26
26
|
* @publicApi
|
27
27
|
*/
|
28
28
|
class BrowserTestingModule {
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.
|
30
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0-next.
|
31
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0-next.
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
30
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] }); }
|
31
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserTestingModule, providers: [
|
32
32
|
{ provide: APP_ID, useValue: 'a' },
|
33
33
|
provideZoneChangeDetection(),
|
34
34
|
{ provide: PlatformLocation, useClass: MockPlatformLocation },
|
35
35
|
], imports: [BrowserModule] }); }
|
36
36
|
}
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0-next.2", ngImport: i0, type: BrowserTestingModule, decorators: [{
|
38
38
|
type: NgModule,
|
39
39
|
args: [{
|
40
40
|
exports: [BrowserModule],
|
package/index.d.ts
CHANGED
@@ -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
|
*/
|
@@ -883,7 +883,7 @@ export declare class ɵDomRendererFactory2 implements RendererFactory2, OnDestro
|
|
883
883
|
private readonly eventManager;
|
884
884
|
private readonly sharedStylesHost;
|
885
885
|
private readonly appId;
|
886
|
-
private
|
886
|
+
private removeStylesOnCompDestroy;
|
887
887
|
private readonly doc;
|
888
888
|
readonly platformId: Object;
|
889
889
|
readonly ngZone: NgZone;
|
@@ -891,7 +891,7 @@ export declare class ɵDomRendererFactory2 implements RendererFactory2, OnDestro
|
|
891
891
|
private readonly rendererByCompId;
|
892
892
|
private readonly defaultRenderer;
|
893
893
|
private readonly platformIsServer;
|
894
|
-
constructor(eventManager: EventManager, sharedStylesHost: ɵSharedStylesHost, appId: string,
|
894
|
+
constructor(eventManager: EventManager, sharedStylesHost: ɵSharedStylesHost, appId: string, removeStylesOnCompDestroy: boolean, doc: Document, platformId: Object, ngZone: NgZone, nonce?: string | null);
|
895
895
|
createRenderer(element: any, type: RendererType2 | null): Renderer2;
|
896
896
|
private getOrCreateRenderer;
|
897
897
|
ngOnDestroy(): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@angular/platform-browser",
|
3
|
-
"version": "16.2.0-next.
|
3
|
+
"version": "16.2.0-next.2",
|
4
4
|
"description": "Angular - library for using Angular in a web browser",
|
5
5
|
"author": "angular",
|
6
6
|
"license": "MIT",
|
@@ -11,9 +11,9 @@
|
|
11
11
|
"tslib": "^2.3.0"
|
12
12
|
},
|
13
13
|
"peerDependencies": {
|
14
|
-
"@angular/animations": "16.2.0-next.
|
15
|
-
"@angular/core": "16.2.0-next.
|
16
|
-
"@angular/common": "16.2.0-next.
|
14
|
+
"@angular/animations": "16.2.0-next.2",
|
15
|
+
"@angular/core": "16.2.0-next.2",
|
16
|
+
"@angular/common": "16.2.0-next.2"
|
17
17
|
},
|
18
18
|
"peerDependenciesMeta": {
|
19
19
|
"@angular/animations": {
|
package/testing/index.d.ts
CHANGED