@angular/platform-browser 16.0.0-next.3 → 16.0.0-next.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/esm2020/animations/src/animation_builder.mjs +3 -3
- package/esm2020/animations/src/animation_renderer.mjs +3 -3
- package/esm2020/animations/src/module.mjs +8 -8
- package/esm2020/animations/src/providers.mjs +3 -3
- package/esm2020/src/browser/meta.mjs +3 -3
- package/esm2020/src/browser/title.mjs +3 -3
- package/esm2020/src/browser/transfer_state_module.mjs +4 -4
- package/esm2020/src/browser/xhr.mjs +3 -3
- package/esm2020/src/browser.mjs +9 -13
- package/esm2020/src/dom/dom_renderer.mjs +20 -10
- package/esm2020/src/dom/events/dom_events.mjs +3 -3
- package/esm2020/src/dom/events/event_manager.mjs +3 -3
- package/esm2020/src/dom/events/hammer_gestures.mjs +10 -10
- package/esm2020/src/dom/events/key_events.mjs +3 -3
- package/esm2020/src/dom/shared_styles_host.mjs +68 -70
- package/esm2020/src/private_export.mjs +2 -2
- package/esm2020/src/security/dom_sanitization_service.mjs +6 -6
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/browser.mjs +4 -4
- package/fesm2015/animations.mjs +18 -18
- package/fesm2015/platform-browser.mjs +132 -126
- package/fesm2015/platform-browser.mjs.map +1 -1
- package/fesm2015/testing.mjs +5 -5
- package/fesm2020/animations.mjs +18 -18
- package/fesm2020/platform-browser.mjs +130 -125
- package/fesm2020/platform-browser.mjs.map +1 -1
- package/fesm2020/testing.mjs +5 -5
- package/index.d.ts +24 -29
- package/package.json +4 -4
- package/testing/index.d.ts +1 -1
package/fesm2020/testing.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v16.0.0-next.
|
2
|
+
* @license Angular v16.0.0-next.4
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -195,14 +195,14 @@ const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesti
|
|
195
195
|
*/
|
196
196
|
class BrowserTestingModule {
|
197
197
|
}
|
198
|
-
BrowserTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
199
|
-
BrowserTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
200
|
-
BrowserTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
198
|
+
BrowserTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
199
|
+
BrowserTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.4", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
|
200
|
+
BrowserTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: BrowserTestingModule, providers: [
|
201
201
|
{ provide: APP_ID, useValue: 'a' },
|
202
202
|
ɵprovideNgZoneChangeDetection(createNgZone()),
|
203
203
|
{ provide: PlatformLocation, useClass: MockPlatformLocation },
|
204
204
|
], imports: [BrowserModule] });
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: BrowserTestingModule, decorators: [{
|
206
206
|
type: NgModule,
|
207
207
|
args: [{
|
208
208
|
exports: [BrowserModule],
|
package/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v16.0.0-next.
|
2
|
+
* @license Angular v16.0.0-next.4
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -752,15 +752,16 @@ export declare class ɵDomRendererFactory2 implements RendererFactory2, OnDestro
|
|
752
752
|
private sharedStylesHost;
|
753
753
|
private appId;
|
754
754
|
private removeStylesOnCompDestory;
|
755
|
+
private nonce?;
|
755
756
|
private rendererByCompId;
|
756
757
|
private defaultRenderer;
|
757
|
-
constructor(eventManager: EventManager, sharedStylesHost:
|
758
|
+
constructor(eventManager: EventManager, sharedStylesHost: ɵSharedStylesHost, appId: string, removeStylesOnCompDestory: boolean, nonce?: string | null | undefined);
|
758
759
|
createRenderer(element: any, type: RendererType2 | null): Renderer2;
|
759
760
|
private getOrCreateRenderer;
|
760
761
|
ngOnDestroy(): void;
|
761
762
|
begin(): void;
|
762
763
|
end(): void;
|
763
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ɵDomRendererFactory2,
|
764
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ɵDomRendererFactory2, [null, null, null, null, { optional: true; }]>;
|
764
765
|
static ɵprov: i0.ɵɵInjectableDeclaration<ɵDomRendererFactory2>;
|
765
766
|
}
|
766
767
|
|
@@ -777,26 +778,6 @@ export declare class ɵDomSanitizerImpl extends DomSanitizer {
|
|
777
778
|
static ɵprov: i0.ɵɵInjectableDeclaration<ɵDomSanitizerImpl>;
|
778
779
|
}
|
779
780
|
|
780
|
-
export declare class ɵDomSharedStylesHost extends ɵSharedStylesHost implements OnDestroy {
|
781
|
-
private readonly doc;
|
782
|
-
private appId;
|
783
|
-
private readonly styleRef;
|
784
|
-
private hostNodes;
|
785
|
-
private styleNodesInDOM;
|
786
|
-
constructor(doc: Document, appId: string);
|
787
|
-
onStyleAdded(style: string): void;
|
788
|
-
onStyleRemoved(style: string): void;
|
789
|
-
ngOnDestroy(): void;
|
790
|
-
addHost(hostNode: Node): void;
|
791
|
-
removeHost(hostNode: Node): void;
|
792
|
-
private collectServerRenderedStyles;
|
793
|
-
private getStyleElement;
|
794
|
-
private addStyleToHost;
|
795
|
-
private resetHostNodes;
|
796
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ɵDomSharedStylesHost, never>;
|
797
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ɵDomSharedStylesHost>;
|
798
|
-
}
|
799
|
-
|
800
781
|
export { ɵgetDOM }
|
801
782
|
|
802
783
|
/**
|
@@ -887,15 +868,29 @@ export declare const ɵNAMESPACE_URIS: {
|
|
887
868
|
};
|
888
869
|
|
889
870
|
export declare class ɵSharedStylesHost implements OnDestroy {
|
890
|
-
private readonly
|
871
|
+
private readonly doc;
|
872
|
+
private readonly appId;
|
873
|
+
private nonce?;
|
874
|
+
readonly platformId: object;
|
875
|
+
private readonly styleRef;
|
876
|
+
private readonly hostNodes;
|
877
|
+
private readonly styleNodesInDOM;
|
878
|
+
private readonly platformIsServer;
|
879
|
+
constructor(doc: Document, appId: string, nonce?: string | null | undefined, platformId?: object);
|
891
880
|
addStyles(styles: string[]): void;
|
892
881
|
removeStyles(styles: string[]): void;
|
893
|
-
onStyleRemoved(style: string): void;
|
894
|
-
onStyleAdded(style: string): void;
|
895
|
-
getAllStyles(): IterableIterator<string>;
|
896
|
-
private changeUsageCount;
|
897
882
|
ngOnDestroy(): void;
|
898
|
-
|
883
|
+
addHost(hostNode: Node): void;
|
884
|
+
removeHost(hostNode: Node): void;
|
885
|
+
private getAllStyles;
|
886
|
+
private onStyleAdded;
|
887
|
+
private onStyleRemoved;
|
888
|
+
private collectServerRenderedStyles;
|
889
|
+
private changeUsageCount;
|
890
|
+
private getStyleElement;
|
891
|
+
private addStyleToHost;
|
892
|
+
private resetHostNodes;
|
893
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ɵSharedStylesHost, [null, null, { optional: true; }, null]>;
|
899
894
|
static ɵprov: i0.ɵɵInjectableDeclaration<ɵSharedStylesHost>;
|
900
895
|
}
|
901
896
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@angular/platform-browser",
|
3
|
-
"version": "16.0.0-next.
|
3
|
+
"version": "16.0.0-next.4",
|
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.0.0-next.
|
15
|
-
"@angular/core": "16.0.0-next.
|
16
|
-
"@angular/common": "16.0.0-next.
|
14
|
+
"@angular/animations": "16.0.0-next.4",
|
15
|
+
"@angular/core": "16.0.0-next.4",
|
16
|
+
"@angular/common": "16.0.0-next.4"
|
17
17
|
},
|
18
18
|
"peerDependenciesMeta": {
|
19
19
|
"@angular/animations": {
|
package/testing/index.d.ts
CHANGED