@angular/router 19.1.0-next.0 → 19.1.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.1.0-next.0
2
+ * @license Angular v19.1.0-next.2
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -264,7 +264,7 @@ function matrixParamsMatch(containerPaths, containeePaths, options) {
264
264
  * @usageNotes
265
265
  * ### Example
266
266
  *
267
- * ```
267
+ * ```ts
268
268
  * @Component({templateUrl:'template.html'})
269
269
  * class MyComponent {
270
270
  * constructor(router: Router) {
@@ -361,7 +361,7 @@ class UrlSegmentGroup {
361
361
  * @usageNotes
362
362
  * ### Example
363
363
  *
364
- * ```
364
+ * ```ts
365
365
  * @Component({templateUrl:'template.html'})
366
366
  * class MyComponent {
367
367
  * constructor(router: Router) {
@@ -433,10 +433,10 @@ function mapChildrenIntoArray(segment, fn) {
433
433
  * @publicApi
434
434
  */
435
435
  class UrlSerializer {
436
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
437
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });
436
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
437
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });
438
438
  }
439
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: UrlSerializer, decorators: [{
439
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: UrlSerializer, decorators: [{
440
440
  type: Injectable,
441
441
  args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
442
442
  }] });
@@ -831,7 +831,7 @@ function isUrlTree(v) {
831
831
  *
832
832
  * @usageNotes
833
833
  *
834
- * ```
834
+ * ```ts
835
835
  * // create /team/33/user/11
836
836
  * createUrlTreeFromSnapshot(snapshot, ['/team', 33, 'user', 11]);
837
837
  *
@@ -2123,10 +2123,10 @@ class ChildrenOutletContexts {
2123
2123
  getContext(childName) {
2124
2124
  return this.contexts.get(childName) || null;
2125
2125
  }
2126
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: ChildrenOutletContexts, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
2127
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
2126
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ChildrenOutletContexts, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
2127
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
2128
2128
  }
2129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
2129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
2130
2130
  type: Injectable,
2131
2131
  args: [{ providedIn: 'root' }]
2132
2132
  }], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
@@ -2235,7 +2235,7 @@ function nodeChildrenAsMap(node) {
2235
2235
  * The following fragment shows how a component gets the root node
2236
2236
  * of the current state to establish its own route tree:
2237
2237
  *
2238
- * ```
2238
+ * ```ts
2239
2239
  * @Component({templateUrl:'template.html'})
2240
2240
  * class MyComponent {
2241
2241
  * constructor(router: Router) {
@@ -2469,7 +2469,7 @@ function getInherited(route, parent, paramsInheritanceStrategy = 'emptyOnly') {
2469
2469
  * The following example initializes a component with route information extracted
2470
2470
  * from the snapshot of the root node at the time of creation.
2471
2471
  *
2472
- * ```
2472
+ * ```ts
2473
2473
  * @Component({templateUrl:'./my-component.html'})
2474
2474
  * class MyComponent {
2475
2475
  * constructor(route: ActivatedRoute) {
@@ -2597,7 +2597,7 @@ class ActivatedRouteSnapshot {
2597
2597
  * The following example shows how a component is initialized with information
2598
2598
  * from the snapshot of the root node's state at the time of creation.
2599
2599
  *
2600
- * ```
2600
+ * ```ts
2601
2601
  * @Component({templateUrl:'template.html'})
2602
2602
  * class MyComponent {
2603
2603
  * constructor(router: Router) {
@@ -2687,12 +2687,12 @@ function hasStaticTitle(config) {
2687
2687
  * @usageNotes
2688
2688
  *
2689
2689
  * To set the data from the template of the component with `router-outlet`:
2690
- * ```
2690
+ * ```html
2691
2691
  * <router-outlet [routerOutletData]="{name: 'Angular'}" />
2692
2692
  * ```
2693
2693
  *
2694
2694
  * To read the data in the routed component:
2695
- * ```
2695
+ * ```ts
2696
2696
  * data = inject(ROUTER_OUTLET_DATA) as Signal<{name: string}>;
2697
2697
  * ```
2698
2698
  *
@@ -2707,7 +2707,7 @@ const ROUTER_OUTLET_DATA = new InjectionToken(ngDevMode ? 'RouterOutlet data' :
2707
2707
  * Each outlet can have a unique name, determined by the optional `name` attribute.
2708
2708
  * The name cannot be set or changed dynamically. If not set, default value is "primary".
2709
2709
  *
2710
- * ```
2710
+ * ```html
2711
2711
  * <router-outlet></router-outlet>
2712
2712
  * <router-outlet name='left'></router-outlet>
2713
2713
  * <router-outlet name='right'></router-outlet>
@@ -2734,7 +2734,7 @@ const ROUTER_OUTLET_DATA = new InjectionToken(ngDevMode ? 'RouterOutlet data' :
2734
2734
  * subtree, and the detached event emits when the `RouteReuseStrategy` instructs the outlet to
2735
2735
  * detach the subtree.
2736
2736
  *
2737
- * ```
2737
+ * ```html
2738
2738
  * <router-outlet
2739
2739
  * (activate)='onActivate($event)'
2740
2740
  * (deactivate)='onDeactivate($event)'
@@ -2913,10 +2913,10 @@ class RouterOutlet {
2913
2913
  this.inputBinder?.bindActivatedRouteToOutletComponent(this);
2914
2914
  this.activateEvents.emit(this.activated.instance);
2915
2915
  }
2916
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2917
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.0-next.0", type: RouterOutlet, isStandalone: true, selector: "router-outlet", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: false, isRequired: false, transformFunction: null }, routerOutletData: { classPropertyName: "routerOutletData", publicName: "routerOutletData", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activateEvents: "activate", deactivateEvents: "deactivate", attachEvents: "attach", detachEvents: "detach" }, exportAs: ["outlet"], usesOnChanges: true, ngImport: i0 });
2916
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2917
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.0-next.2", type: RouterOutlet, isStandalone: true, selector: "router-outlet", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: false, isRequired: false, transformFunction: null }, routerOutletData: { classPropertyName: "routerOutletData", publicName: "routerOutletData", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activateEvents: "activate", deactivateEvents: "deactivate", attachEvents: "attach", detachEvents: "detach" }, exportAs: ["outlet"], usesOnChanges: true, ngImport: i0 });
2918
2918
  }
2919
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterOutlet, decorators: [{
2919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterOutlet, decorators: [{
2920
2920
  type: Directive,
2921
2921
  args: [{
2922
2922
  selector: 'router-outlet',
@@ -3045,10 +3045,10 @@ class RoutedComponentInputBinder {
3045
3045
  });
3046
3046
  this.outletDataSubscriptions.set(outlet, dataSubscription);
3047
3047
  }
3048
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3049
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RoutedComponentInputBinder });
3048
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3049
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RoutedComponentInputBinder });
3050
3050
  }
3051
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
3051
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
3052
3052
  type: Injectable
3053
3053
  }] });
3054
3054
 
@@ -4347,7 +4347,7 @@ function switchTap(next) {
4347
4347
  * The built-in implementation traverses the router state snapshot and finds the deepest primary
4348
4348
  * outlet with `title` property. Given the `Routes` below, navigating to
4349
4349
  * `/base/child(popup:aux)` would result in the document title being set to "child".
4350
- * ```
4350
+ * ```ts
4351
4351
  * [
4352
4352
  * {path: 'base', title: 'base', children: [
4353
4353
  * {path: 'child', title: 'child'},
@@ -4384,10 +4384,10 @@ class TitleStrategy {
4384
4384
  getResolvedTitleForRoute(snapshot) {
4385
4385
  return snapshot.data[RouteTitleKey];
4386
4386
  }
4387
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4388
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
4387
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4388
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
4389
4389
  }
4390
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: TitleStrategy, decorators: [{
4390
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: TitleStrategy, decorators: [{
4391
4391
  type: Injectable,
4392
4392
  args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
4393
4393
  }] });
@@ -4411,10 +4411,10 @@ class DefaultTitleStrategy extends TitleStrategy {
4411
4411
  this.title.setTitle(title);
4412
4412
  }
4413
4413
  }
4414
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
4415
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
4414
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
4415
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
4416
4416
  }
4417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
4417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
4418
4418
  type: Injectable,
4419
4419
  args: [{ providedIn: 'root' }]
4420
4420
  }], ctorParameters: () => [{ type: i1.Title }] });
@@ -4439,10 +4439,10 @@ const ROUTER_CONFIGURATION = new InjectionToken(typeof ngDevMode === 'undefined'
4439
4439
  * to this `EmptyOutletComponent`.
4440
4440
  */
4441
4441
  class ɵEmptyOutletComponent {
4442
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4443
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.0-next.0", type: ɵEmptyOutletComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<router-outlet></router-outlet>`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
4442
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4443
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.0-next.2", type: ɵEmptyOutletComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<router-outlet></router-outlet>`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
4444
4444
  }
4445
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
4445
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
4446
4446
  type: Component,
4447
4447
  args: [{
4448
4448
  template: `<router-outlet></router-outlet>`,
@@ -4527,10 +4527,10 @@ class RouterConfigLoader {
4527
4527
  this.childrenLoaders.set(route, loader);
4528
4528
  return loader;
4529
4529
  }
4530
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4531
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
4530
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4531
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
4532
4532
  }
4533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterConfigLoader, decorators: [{
4533
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterConfigLoader, decorators: [{
4534
4534
  type: Injectable,
4535
4535
  args: [{ providedIn: 'root' }]
4536
4536
  }] });
@@ -4597,10 +4597,10 @@ function maybeUnwrapDefaultExport(input) {
4597
4597
  * @publicApi
4598
4598
  */
4599
4599
  class UrlHandlingStrategy {
4600
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4601
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
4600
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4601
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
4602
4602
  }
4603
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
4603
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
4604
4604
  type: Injectable,
4605
4605
  args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
4606
4606
  }] });
@@ -4617,10 +4617,10 @@ class DefaultUrlHandlingStrategy {
4617
4617
  merge(newUrlPart, wholeUrl) {
4618
4618
  return newUrlPart;
4619
4619
  }
4620
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4621
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
4620
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4621
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
4622
4622
  }
4623
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
4623
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
4624
4624
  type: Injectable,
4625
4625
  args: [{ providedIn: 'root' }]
4626
4626
  }] });
@@ -5073,10 +5073,10 @@ class NavigationTransitions {
5073
5073
  return (currentBrowserUrl.toString() !== targetBrowserUrl?.toString() &&
5074
5074
  !this.currentNavigation?.extras.skipLocationChange);
5075
5075
  }
5076
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5077
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
5076
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5077
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
5078
5078
  }
5079
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: NavigationTransitions, decorators: [{
5079
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: NavigationTransitions, decorators: [{
5080
5080
  type: Injectable,
5081
5081
  args: [{ providedIn: 'root' }]
5082
5082
  }], ctorParameters: () => [] });
@@ -5092,10 +5092,10 @@ function isBrowserTriggeredNavigation(source) {
5092
5092
  * @publicApi
5093
5093
  */
5094
5094
  class RouteReuseStrategy {
5095
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5096
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
5095
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5096
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
5097
5097
  }
5098
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouteReuseStrategy, decorators: [{
5098
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouteReuseStrategy, decorators: [{
5099
5099
  type: Injectable,
5100
5100
  args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
5101
5101
  }] });
@@ -5146,19 +5146,19 @@ class BaseRouteReuseStrategy {
5146
5146
  }
5147
5147
  }
5148
5148
  class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
5149
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
5150
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
5149
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
5150
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
5151
5151
  }
5152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
5152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
5153
5153
  type: Injectable,
5154
5154
  args: [{ providedIn: 'root' }]
5155
5155
  }] });
5156
5156
 
5157
5157
  class StateManager {
5158
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5159
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) });
5158
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5159
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) });
5160
5160
  }
5161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: StateManager, decorators: [{
5161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: StateManager, decorators: [{
5162
5162
  type: Injectable,
5163
5163
  args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
5164
5164
  }] });
@@ -5328,10 +5328,10 @@ class HistoryStateManager extends StateManager {
5328
5328
  }
5329
5329
  return { navigationId };
5330
5330
  }
5331
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
5332
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HistoryStateManager, providedIn: 'root' });
5331
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
5332
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HistoryStateManager, providedIn: 'root' });
5333
5333
  }
5334
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: HistoryStateManager, decorators: [{
5334
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: HistoryStateManager, decorators: [{
5335
5335
  type: Injectable,
5336
5336
  args: [{ providedIn: 'root' }]
5337
5337
  }] });
@@ -5896,10 +5896,10 @@ class Router {
5896
5896
  return Promise.reject(e);
5897
5897
  });
5898
5898
  }
5899
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5900
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: Router, providedIn: 'root' });
5899
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5900
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: Router, providedIn: 'root' });
5901
5901
  }
5902
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: Router, decorators: [{
5902
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: Router, decorators: [{
5903
5903
  type: Injectable,
5904
5904
  args: [{ providedIn: 'root' }]
5905
5905
  }], ctorParameters: () => [] });
@@ -5960,7 +5960,7 @@ function isPublicRouterEvent(e) {
5960
5960
  *
5961
5961
  * The following link adds a query parameter and a fragment to the generated URL:
5962
5962
  *
5963
- * ```
5963
+ * ```html
5964
5964
  * <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" fragment="education">
5965
5965
  * link to user component
5966
5966
  * </a>
@@ -5977,7 +5977,7 @@ function isPublicRouterEvent(e) {
5977
5977
  *
5978
5978
  * For example:
5979
5979
  *
5980
- * ```
5980
+ * ```html
5981
5981
  * <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" queryParamsHandling="merge">
5982
5982
  * link to user component
5983
5983
  * </a>
@@ -5994,7 +5994,7 @@ function isPublicRouterEvent(e) {
5994
5994
  * [`History.state` property](https://developer.mozilla.org/en-US/docs/Web/API/History#Properties).
5995
5995
  * For example:
5996
5996
  *
5997
- * ```
5997
+ * ```html
5998
5998
  * <a [routerLink]="['/user/bob']" [state]="{tracingId: 123}">
5999
5999
  * link to user component
6000
6000
  * </a>
@@ -6004,7 +6004,7 @@ function isPublicRouterEvent(e) {
6004
6004
  * navigation-state value. For example, to capture the `tracingId` during the `NavigationStart`
6005
6005
  * event:
6006
6006
  *
6007
- * ```
6007
+ * ```ts
6008
6008
  * // Get NavigationStart events
6009
6009
  * router.events.pipe(filter(e => e instanceof NavigationStart)).subscribe(e => {
6010
6010
  * const navigation = router.getCurrentNavigation();
@@ -6258,10 +6258,10 @@ class RouterLink {
6258
6258
  preserveFragment: this.preserveFragment,
6259
6259
  });
6260
6260
  }
6261
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterLink, deps: [{ token: Router }, { token: ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive });
6262
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.0", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", info: "info", relativeTo: "relativeTo", preserveFragment: ["preserveFragment", "preserveFragment", booleanAttribute], skipLocationChange: ["skipLocationChange", "skipLocationChange", booleanAttribute], replaceUrl: ["replaceUrl", "replaceUrl", booleanAttribute], routerLink: "routerLink" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" }, properties: { "attr.target": "this.target" } }, usesOnChanges: true, ngImport: i0 });
6261
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterLink, deps: [{ token: Router }, { token: ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive });
6262
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.2", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", info: "info", relativeTo: "relativeTo", preserveFragment: ["preserveFragment", "preserveFragment", booleanAttribute], skipLocationChange: ["skipLocationChange", "skipLocationChange", booleanAttribute], replaceUrl: ["replaceUrl", "replaceUrl", booleanAttribute], routerLink: "routerLink" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" }, properties: { "attr.target": "this.target" } }, usesOnChanges: true, ngImport: i0 });
6263
6263
  }
6264
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterLink, decorators: [{
6264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterLink, decorators: [{
6265
6265
  type: Directive,
6266
6266
  args: [{
6267
6267
  selector: '[routerLink]',
@@ -6321,7 +6321,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
6321
6321
  * For example, the following code highlights the word "Bob" when the router
6322
6322
  * activates the associated route:
6323
6323
  *
6324
- * ```
6324
+ * ```html
6325
6325
  * <a routerLink="/user/bob" routerLinkActive="active-link">Bob</a>
6326
6326
  * ```
6327
6327
  *
@@ -6331,14 +6331,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
6331
6331
  * You can set more than one class using a space-separated string or an array.
6332
6332
  * For example:
6333
6333
  *
6334
- * ```
6334
+ * ```html
6335
6335
  * <a routerLink="/user/bob" routerLinkActive="class1 class2">Bob</a>
6336
6336
  * <a routerLink="/user/bob" [routerLinkActive]="['class1', 'class2']">Bob</a>
6337
6337
  * ```
6338
6338
  *
6339
6339
  * To add the classes only when the URL matches the link exactly, add the option `exact: true`:
6340
6340
  *
6341
- * ```
6341
+ * ```html
6342
6342
  * <a routerLink="/user/bob" routerLinkActive="active-link" [routerLinkActiveOptions]="{exact:
6343
6343
  * true}">Bob</a>
6344
6344
  * ```
@@ -6347,7 +6347,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
6347
6347
  * instance to a template variable.
6348
6348
  * For example, the following checks the status without assigning any CSS classes:
6349
6349
  *
6350
- * ```
6350
+ * ```html
6351
6351
  * <a routerLink="/user/bob" routerLinkActive #rla="routerLinkActive">
6352
6352
  * Bob {{ rla.isActive ? '(already open)' : ''}}
6353
6353
  * </a>
@@ -6357,7 +6357,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
6357
6357
  * For example, the following sets the active-link class on the `<div>` parent tag
6358
6358
  * when the URL is either '/user/jim' or '/user/bob'.
6359
6359
  *
6360
- * ```
6360
+ * ```html
6361
6361
  * <div routerLinkActive="active-link" [routerLinkActiveOptions]="{exact: true}">
6362
6362
  * <a routerLink="/user/jim">Jim</a>
6363
6363
  * <a routerLink="/user/bob">Bob</a>
@@ -6370,7 +6370,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
6370
6370
  * For example, the following code adds the 'active' class to the Home Page link when it is
6371
6371
  * indeed active and in such case also sets its aria-current attribute to 'page':
6372
6372
  *
6373
- * ```
6373
+ * ```html
6374
6374
  * <a routerLink="/" routerLinkActive="active" ariaCurrentWhenActive="page">Home Page</a>
6375
6375
  * ```
6376
6376
  *
@@ -6515,10 +6515,10 @@ class RouterLinkActive {
6515
6515
  const isActiveCheckFn = this.isLinkActive(this.router);
6516
6516
  return (this.link && isActiveCheckFn(this.link)) || this.links.some(isActiveCheckFn);
6517
6517
  }
6518
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
6519
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.0", type: RouterLinkActive, isStandalone: true, selector: "[routerLinkActive]", inputs: { routerLinkActiveOptions: "routerLinkActiveOptions", ariaCurrentWhenActive: "ariaCurrentWhenActive", routerLinkActive: "routerLinkActive" }, outputs: { isActiveChange: "isActiveChange" }, queries: [{ propertyName: "links", predicate: RouterLink, descendants: true }], exportAs: ["routerLinkActive"], usesOnChanges: true, ngImport: i0 });
6518
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
6519
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.2", type: RouterLinkActive, isStandalone: true, selector: "[routerLinkActive]", inputs: { routerLinkActiveOptions: "routerLinkActiveOptions", ariaCurrentWhenActive: "ariaCurrentWhenActive", routerLinkActive: "routerLinkActive" }, outputs: { isActiveChange: "isActiveChange" }, queries: [{ propertyName: "links", predicate: RouterLink, descendants: true }], exportAs: ["routerLinkActive"], usesOnChanges: true, ngImport: i0 });
6520
6520
  }
6521
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterLinkActive, decorators: [{
6521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterLinkActive, decorators: [{
6522
6522
  type: Directive,
6523
6523
  args: [{
6524
6524
  selector: '[routerLinkActive]',
@@ -6560,7 +6560,7 @@ class PreloadingStrategy {
6560
6560
  *
6561
6561
  * Provides a preloading strategy that preloads all modules as quickly as possible.
6562
6562
  *
6563
- * ```
6563
+ * ```ts
6564
6564
  * RouterModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})
6565
6565
  * ```
6566
6566
  *
@@ -6570,10 +6570,10 @@ class PreloadAllModules {
6570
6570
  preload(route, fn) {
6571
6571
  return fn().pipe(catchError(() => of(null)));
6572
6572
  }
6573
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6574
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });
6573
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6574
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });
6575
6575
  }
6576
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: PreloadAllModules, decorators: [{
6576
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: PreloadAllModules, decorators: [{
6577
6577
  type: Injectable,
6578
6578
  args: [{ providedIn: 'root' }]
6579
6579
  }] });
@@ -6590,10 +6590,10 @@ class NoPreloading {
6590
6590
  preload(route, fn) {
6591
6591
  return of(null);
6592
6592
  }
6593
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6594
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: NoPreloading, providedIn: 'root' });
6593
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6594
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: NoPreloading, providedIn: 'root' });
6595
6595
  }
6596
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: NoPreloading, decorators: [{
6596
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: NoPreloading, decorators: [{
6597
6597
  type: Injectable,
6598
6598
  args: [{ providedIn: 'root' }]
6599
6599
  }] });
@@ -6689,10 +6689,10 @@ class RouterPreloader {
6689
6689
  }
6690
6690
  });
6691
6691
  }
6692
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable });
6693
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterPreloader, providedIn: 'root' });
6692
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable });
6693
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterPreloader, providedIn: 'root' });
6694
6694
  }
6695
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterPreloader, decorators: [{
6695
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterPreloader, decorators: [{
6696
6696
  type: Injectable,
6697
6697
  args: [{ providedIn: 'root' }]
6698
6698
  }], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
@@ -6792,10 +6792,10 @@ class RouterScroller {
6792
6792
  this.routerEventsSubscription?.unsubscribe();
6793
6793
  this.scrollEventsSubscription?.unsubscribe();
6794
6794
  }
6795
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
6796
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterScroller });
6795
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
6796
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterScroller });
6797
6797
  }
6798
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterScroller, decorators: [{
6798
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterScroller, decorators: [{
6799
6799
  type: Injectable
6800
6800
  }], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
6801
6801
 
@@ -6806,7 +6806,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
6806
6806
  * @usageNotes
6807
6807
  *
6808
6808
  * Basic example of how you can add a Router to your application:
6809
- * ```
6809
+ * ```ts
6810
6810
  * const appRoutes: Routes = [];
6811
6811
  * bootstrapApplication(AppComponent, {
6812
6812
  * providers: [provideRouter(appRoutes)]
@@ -6815,7 +6815,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0",
6815
6815
  *
6816
6816
  * You can also enable optional features in the Router by adding functions from the `RouterFeatures`
6817
6817
  * type:
6818
- * ```
6818
+ * ```ts
6819
6819
  * const appRoutes: Routes = [];
6820
6820
  * bootstrapApplication(AppComponent,
6821
6821
  * {
@@ -6881,7 +6881,7 @@ const routerIsProvidedDevModeCheck = {
6881
6881
  *
6882
6882
  * @usageNotes
6883
6883
  *
6884
- * ```
6884
+ * ```ts
6885
6885
  * @NgModule({
6886
6886
  * providers: [provideRoutes(ROUTES)]
6887
6887
  * })
@@ -6904,7 +6904,7 @@ function provideRoutes(routes) {
6904
6904
  * @usageNotes
6905
6905
  *
6906
6906
  * Basic example of how you can enable scrolling feature:
6907
- * ```
6907
+ * ```ts
6908
6908
  * const appRoutes: Routes = [];
6909
6909
  * bootstrapApplication(AppComponent,
6910
6910
  * {
@@ -6981,7 +6981,7 @@ const INITIAL_NAVIGATION = new InjectionToken(typeof ngDevMode === 'undefined' |
6981
6981
  * @usageNotes
6982
6982
  *
6983
6983
  * Basic example of how you can enable this navigation behavior:
6984
- * ```
6984
+ * ```ts
6985
6985
  * const appRoutes: Routes = [];
6986
6986
  * bootstrapApplication(AppComponent,
6987
6987
  * {
@@ -7041,7 +7041,7 @@ function withEnabledBlockingInitialNavigation() {
7041
7041
  * @usageNotes
7042
7042
  *
7043
7043
  * Basic example of how you can disable initial navigation:
7044
- * ```
7044
+ * ```ts
7045
7045
  * const appRoutes: Routes = [];
7046
7046
  * bootstrapApplication(AppComponent,
7047
7047
  * {
@@ -7081,7 +7081,7 @@ function withDisabledInitialNavigation() {
7081
7081
  * @usageNotes
7082
7082
  *
7083
7083
  * Basic example of how you can enable debug tracing:
7084
- * ```
7084
+ * ```ts
7085
7085
  * const appRoutes: Routes = [];
7086
7086
  * bootstrapApplication(AppComponent,
7087
7087
  * {
@@ -7132,7 +7132,7 @@ const ROUTER_PRELOADER = new InjectionToken(typeof ngDevMode === 'undefined' ||
7132
7132
  * @usageNotes
7133
7133
  *
7134
7134
  * Basic example of how you can configure preloading:
7135
- * ```
7135
+ * ```ts
7136
7136
  * const appRoutes: Routes = [];
7137
7137
  * bootstrapApplication(AppComponent,
7138
7138
  * {
@@ -7164,7 +7164,7 @@ function withPreloading(preloadingStrategy) {
7164
7164
  * @usageNotes
7165
7165
  *
7166
7166
  * Basic example of how you can provide extra configuration options:
7167
- * ```
7167
+ * ```ts
7168
7168
  * const appRoutes: Routes = [];
7169
7169
  * bootstrapApplication(AppComponent,
7170
7170
  * {
@@ -7195,7 +7195,7 @@ function withRouterConfig(options) {
7195
7195
  * @usageNotes
7196
7196
  *
7197
7197
  * Basic example of how you can use the hash location option:
7198
- * ```
7198
+ * ```ts
7199
7199
  * const appRoutes: Routes = [];
7200
7200
  * bootstrapApplication(AppComponent,
7201
7201
  * {
@@ -7232,7 +7232,7 @@ function withHashLocation() {
7232
7232
  * @usageNotes
7233
7233
  *
7234
7234
  * Basic example of how you can use the error handler option:
7235
- * ```
7235
+ * ```ts
7236
7236
  * const appRoutes: Routes = [];
7237
7237
  * bootstrapApplication(AppComponent,
7238
7238
  * {
@@ -7268,7 +7268,7 @@ function withNavigationErrorHandler(handler) {
7268
7268
  * @usageNotes
7269
7269
  *
7270
7270
  * Basic example of how you can enable the feature:
7271
- * ```
7271
+ * ```ts
7272
7272
  * const appRoutes: Routes = [];
7273
7273
  * bootstrapApplication(AppComponent,
7274
7274
  * {
@@ -7317,7 +7317,7 @@ function withComponentInputBinding() {
7317
7317
  * @usageNotes
7318
7318
  *
7319
7319
  * Basic example of how you can enable the feature:
7320
- * ```
7320
+ * ```ts
7321
7321
  * const appRoutes: Routes = [];
7322
7322
  * bootstrapApplication(AppComponent,
7323
7323
  * {
@@ -7467,11 +7467,11 @@ class RouterModule {
7467
7467
  providers: [{ provide: ROUTES, multi: true, useValue: routes }],
7468
7468
  };
7469
7469
  }
7470
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
7471
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] });
7472
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterModule });
7470
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
7471
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] });
7472
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterModule });
7473
7473
  }
7474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.0", ngImport: i0, type: RouterModule, decorators: [{
7474
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.2", ngImport: i0, type: RouterModule, decorators: [{
7475
7475
  type: NgModule,
7476
7476
  args: [{
7477
7477
  imports: ROUTER_DIRECTIVES,
@@ -7616,7 +7616,7 @@ function mapToResolve(provider) {
7616
7616
  /**
7617
7617
  * @publicApi
7618
7618
  */
7619
- const VERSION = new Version('19.1.0-next.0');
7619
+ const VERSION = new Version('19.1.0-next.2');
7620
7620
 
7621
7621
  function getLoadedRoutes(route) {
7622
7622
  return route._loadedRoutes;