@angular/platform-browser 19.0.0-next.10 → 19.0.0-next.11

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.0-next.10
2
+ * @license Angular v19.0.0-next.11
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.10", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
32
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.10", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] }); }
33
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: BrowserTestingModule, providers: [
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.11", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
32
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.11", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] }); }
33
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.11", 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.10", ngImport: i0, type: BrowserTestingModule, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.11", 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.10
2
+ * @license Angular v19.0.0-next.11
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -476,7 +476,8 @@ export declare enum HydrationFeatureKind {
476
476
  NoHttpTransferCache = 0,
477
477
  HttpTransferCacheOptions = 1,
478
478
  I18nSupport = 2,
479
- EventReplay = 3
479
+ EventReplay = 3,
480
+ IncrementalHydration = 4
480
481
  }
481
482
 
482
483
  /**
@@ -781,9 +782,9 @@ export declare const VERSION: Version;
781
782
  export declare function withEventReplay(): HydrationFeature<HydrationFeatureKind.EventReplay>;
782
783
 
783
784
  /**
784
- * The function accepts a an object, which allows to configure cache parameters,
785
+ * The function accepts an object, which allows to configure cache parameters,
785
786
  * such as which headers should be included (no headers are included by default),
786
- * wether POST requests should be cached or a callback function to determine if a
787
+ * whether POST requests should be cached or a callback function to determine if a
787
788
  * particular request should be cached.
788
789
  *
789
790
  * @publicApi
@@ -798,6 +799,24 @@ export declare function withHttpTransferCacheOptions(options: HttpTransferCacheO
798
799
  */
799
800
  export declare function withI18nSupport(): HydrationFeature<HydrationFeatureKind.I18nSupport>;
800
801
 
802
+ /**
803
+ * Enables support for incremental hydration using the `hydrate` trigger syntax.
804
+ *
805
+ * @usageNotes
806
+ *
807
+ * Basic example of how you can enable event replay in your application when
808
+ * `bootstrapApplication` function is used:
809
+ * ```
810
+ * bootstrapApplication(AppComponent, {
811
+ * providers: [provideClientHydration(withIncrementalHydration())]
812
+ * });
813
+ * ```
814
+ * @experimental
815
+ * @publicApi
816
+ * @see {@link provideClientHydration}
817
+ */
818
+ export declare function withIncrementalHydration(): HydrationFeature<HydrationFeatureKind.IncrementalHydration>;
819
+
801
820
  /**
802
821
  * Disables HTTP transfer cache. Effectively causes HTTP requests to be performed twice: once on the
803
822
  * server and other one on the browser.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/platform-browser",
3
- "version": "19.0.0-next.10",
3
+ "version": "19.0.0-next.11",
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.10",
15
- "@angular/core": "19.0.0-next.10",
16
- "@angular/common": "19.0.0-next.10"
14
+ "@angular/animations": "19.0.0-next.11",
15
+ "@angular/core": "19.0.0-next.11",
16
+ "@angular/common": "19.0.0-next.11"
17
17
  },
18
18
  "peerDependenciesMeta": {
19
19
  "@angular/animations": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.0-next.10
2
+ * @license Angular v19.0.0-next.11
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */