@angular/platform-browser 19.0.0-next.7 → 19.0.0-next.8
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/LICENSE +21 -0
- 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 +113 -128
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +12 -13
- 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 v19.0.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.8
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -28,16 +28,16 @@ const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesti
|
|
|
28
28
|
* @publicApi
|
|
29
29
|
*/
|
|
30
30
|
class BrowserTestingModule {
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
32
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
33
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.8", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
32
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.8", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] }); }
|
|
33
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.8", ngImport: i0, type: BrowserTestingModule, providers: [
|
|
34
34
|
{ provide: APP_ID, useValue: 'a' },
|
|
35
35
|
ɵinternalProvideZoneChangeDetection({}),
|
|
36
36
|
{ provide: ɵChangeDetectionScheduler, useExisting: ɵChangeDetectionSchedulerImpl },
|
|
37
37
|
{ provide: PlatformLocation, useClass: MockPlatformLocation },
|
|
38
38
|
], imports: [BrowserModule] }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.8", ngImport: i0, type: BrowserTestingModule, decorators: [{
|
|
41
41
|
type: NgModule,
|
|
42
42
|
args: [{
|
|
43
43
|
exports: [BrowserModule],
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.8
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -999,19 +999,19 @@ export declare class ɵSharedStylesHost implements OnDestroy {
|
|
|
999
999
|
private readonly appId;
|
|
1000
1000
|
private readonly nonce?;
|
|
1001
1001
|
/**
|
|
1002
|
-
* Provides usage information for active
|
|
1002
|
+
* Provides usage information for active inline style content and associated HTML <style> elements.
|
|
1003
1003
|
* Embedded styles typically originate from the `styles` metadata of a rendered component.
|
|
1004
1004
|
*/
|
|
1005
|
-
private readonly
|
|
1005
|
+
private readonly inline;
|
|
1006
1006
|
/**
|
|
1007
|
-
*
|
|
1007
|
+
* Provides usage information for active external style URLs and the associated HTML <link> elements.
|
|
1008
|
+
* External styles typically originate from the `ɵɵExternalStylesFeature` of a rendered component.
|
|
1008
1009
|
*/
|
|
1009
|
-
private readonly
|
|
1010
|
+
private readonly external;
|
|
1010
1011
|
/**
|
|
1011
|
-
*
|
|
1012
|
-
* `null` if no server rendered styles are present in the DOM.
|
|
1012
|
+
* Set of host DOM nodes that will have styles attached.
|
|
1013
1013
|
*/
|
|
1014
|
-
private readonly
|
|
1014
|
+
private readonly hosts;
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Whether the application code is currently executing on a server.
|
|
1017
1017
|
*/
|
|
@@ -1021,14 +1021,14 @@ export declare class ɵSharedStylesHost implements OnDestroy {
|
|
|
1021
1021
|
* Adds embedded styles to the DOM via HTML `style` elements.
|
|
1022
1022
|
* @param styles An array of style content strings.
|
|
1023
1023
|
*/
|
|
1024
|
-
addStyles(styles: string[]): void;
|
|
1024
|
+
addStyles(styles: string[], urls?: string[]): void;
|
|
1025
1025
|
/**
|
|
1026
1026
|
* Removes embedded styles from the DOM that were added as HTML `style` elements.
|
|
1027
1027
|
* @param styles An array of style content strings.
|
|
1028
1028
|
*/
|
|
1029
|
-
removeStyles(styles: string[]): void;
|
|
1030
|
-
protected
|
|
1031
|
-
protected
|
|
1029
|
+
removeStyles(styles: string[], urls?: string[]): void;
|
|
1030
|
+
protected addUsage<T extends HTMLElement>(value: string, usages: Map<string, UsageRecord<T>>, creator: (value: string, doc: Document) => T): void;
|
|
1031
|
+
protected removeUsage<T extends HTMLElement>(value: string, usages: Map<string, UsageRecord<T>>): void;
|
|
1032
1032
|
ngOnDestroy(): void;
|
|
1033
1033
|
/**
|
|
1034
1034
|
* Adds a host node to the set of style hosts and adds all existing style usage to
|
|
@@ -1039,7 +1039,6 @@ export declare class ɵSharedStylesHost implements OnDestroy {
|
|
|
1039
1039
|
addHost(hostNode: Node): void;
|
|
1040
1040
|
removeHost(hostNode: Node): void;
|
|
1041
1041
|
private addElement;
|
|
1042
|
-
private getStyleElement;
|
|
1043
1042
|
static ɵfac: i0.ɵɵFactoryDeclaration<ɵSharedStylesHost, [null, null, { optional: true; }, null]>;
|
|
1044
1043
|
static ɵprov: i0.ɵɵInjectableDeclaration<ɵSharedStylesHost>;
|
|
1045
1044
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/platform-browser",
|
|
3
|
-
"version": "19.0.0-next.
|
|
3
|
+
"version": "19.0.0-next.8",
|
|
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": "19.0.0-next.
|
|
15
|
-
"@angular/core": "19.0.0-next.
|
|
16
|
-
"@angular/common": "19.0.0-next.
|
|
14
|
+
"@angular/animations": "19.0.0-next.8",
|
|
15
|
+
"@angular/core": "19.0.0-next.8",
|
|
16
|
+
"@angular/common": "19.0.0-next.8"
|
|
17
17
|
},
|
|
18
18
|
"peerDependenciesMeta": {
|
|
19
19
|
"@angular/animations": {
|
package/testing/index.d.ts
CHANGED