@angular/router 19.1.0-next.1 → 19.1.0-next.3

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,11 +1,11 @@
1
1
  /**
2
- * @license Angular v19.1.0-next.1
2
+ * @license Angular v19.1.0-next.3
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import * as i0 from '@angular/core';
8
- import { ɵisPromise, ɵRuntimeError, Injectable, createEnvironmentInjector, ɵisNgModule, isStandalone, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Directive, Input, Output, reflectComponentType, ɵisInjectable, runInInjectionContext, Component, Compiler, NgModuleFactory, NgZone, afterNextRender, EnvironmentInjector, ɵConsole, ɵPendingTasks, ɵɵsanitizeUrlOrResourceUrl, booleanAttribute, Attribute, HostBinding, HostListener, Optional, ContentChildren, makeEnvironmentProviders, APP_BOOTSTRAP_LISTENER, ENVIRONMENT_INITIALIZER, Injector, ApplicationRef, InjectFlags, APP_INITIALIZER, SkipSelf, NgModule, Inject, Version, ɵpublishExternalGlobalUtil } from '@angular/core';
8
+ import { ɵisPromise, ɵRuntimeError, Injectable, createEnvironmentInjector, ɵisNgModule, isStandalone, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Directive, Input, Output, reflectComponentType, ɵisInjectable, runInInjectionContext, Component, Compiler, NgModuleFactory, NgZone, afterNextRender, EnvironmentInjector, ɵConsole, ɵPendingTasksInternal, ɵɵsanitizeUrlOrResourceUrl, booleanAttribute, Attribute, HostBinding, HostListener, Optional, ContentChildren, makeEnvironmentProviders, APP_BOOTSTRAP_LISTENER, ENVIRONMENT_INITIALIZER, Injector, ApplicationRef, InjectFlags, APP_INITIALIZER, SkipSelf, NgModule, Inject, Version, ɵpublishExternalGlobalUtil } from '@angular/core';
9
9
  import { isObservable, from, of, BehaviorSubject, combineLatest, EmptyError, concat, defer, pipe, throwError, EMPTY, ConnectableObservable, Subject, Subscription } from 'rxjs';
10
10
  import * as i3 from '@angular/common';
11
11
  import { DOCUMENT, Location, ViewportScroller, LOCATION_INITIALIZED, LocationStrategy, HashLocationStrategy, PathLocationStrategy } from '@angular/common';
@@ -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.1", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
437
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });
436
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
437
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });
438
438
  }
439
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: UrlSerializer, decorators: [{
439
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", 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.1", 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.1", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
2126
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", 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.3", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
2128
2128
  }
2129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
2129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", 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,15 +2913,14 @@ 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.1", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2917
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.0-next.1", 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.3", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2917
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.0-next.3", 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.1", ngImport: i0, type: RouterOutlet, decorators: [{
2919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterOutlet, decorators: [{
2920
2920
  type: Directive,
2921
2921
  args: [{
2922
2922
  selector: 'router-outlet',
2923
2923
  exportAs: 'outlet',
2924
- standalone: true,
2925
2924
  }]
2926
2925
  }], propDecorators: { name: [{
2927
2926
  type: Input
@@ -3045,10 +3044,10 @@ class RoutedComponentInputBinder {
3045
3044
  });
3046
3045
  this.outletDataSubscriptions.set(outlet, dataSubscription);
3047
3046
  }
3048
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3049
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RoutedComponentInputBinder });
3047
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3048
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RoutedComponentInputBinder });
3050
3049
  }
3051
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
3050
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
3052
3051
  type: Injectable
3053
3052
  }] });
3054
3053
 
@@ -4347,7 +4346,7 @@ function switchTap(next) {
4347
4346
  * The built-in implementation traverses the router state snapshot and finds the deepest primary
4348
4347
  * outlet with `title` property. Given the `Routes` below, navigating to
4349
4348
  * `/base/child(popup:aux)` would result in the document title being set to "child".
4350
- * ```
4349
+ * ```ts
4351
4350
  * [
4352
4351
  * {path: 'base', title: 'base', children: [
4353
4352
  * {path: 'child', title: 'child'},
@@ -4384,10 +4383,10 @@ class TitleStrategy {
4384
4383
  getResolvedTitleForRoute(snapshot) {
4385
4384
  return snapshot.data[RouteTitleKey];
4386
4385
  }
4387
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4388
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
4386
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4387
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
4389
4388
  }
4390
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: TitleStrategy, decorators: [{
4389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: TitleStrategy, decorators: [{
4391
4390
  type: Injectable,
4392
4391
  args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
4393
4392
  }] });
@@ -4411,10 +4410,10 @@ class DefaultTitleStrategy extends TitleStrategy {
4411
4410
  this.title.setTitle(title);
4412
4411
  }
4413
4412
  }
4414
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", 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.1", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
4413
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
4414
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
4416
4415
  }
4417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
4416
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
4418
4417
  type: Injectable,
4419
4418
  args: [{ providedIn: 'root' }]
4420
4419
  }], ctorParameters: () => [{ type: i1.Title }] });
@@ -4439,15 +4438,14 @@ const ROUTER_CONFIGURATION = new InjectionToken(typeof ngDevMode === 'undefined'
4439
4438
  * to this `EmptyOutletComponent`.
4440
4439
  */
4441
4440
  class ɵEmptyOutletComponent {
4442
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4443
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.0-next.1", 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"] }] });
4441
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4442
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.0-next.3", 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
4443
  }
4445
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
4444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
4446
4445
  type: Component,
4447
4446
  args: [{
4448
4447
  template: `<router-outlet></router-outlet>`,
4449
4448
  imports: [RouterOutlet],
4450
- standalone: true,
4451
4449
  }]
4452
4450
  }] });
4453
4451
  /**
@@ -4527,10 +4525,10 @@ class RouterConfigLoader {
4527
4525
  this.childrenLoaders.set(route, loader);
4528
4526
  return loader;
4529
4527
  }
4530
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4531
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
4528
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4529
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
4532
4530
  }
4533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterConfigLoader, decorators: [{
4531
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterConfigLoader, decorators: [{
4534
4532
  type: Injectable,
4535
4533
  args: [{ providedIn: 'root' }]
4536
4534
  }] });
@@ -4597,10 +4595,10 @@ function maybeUnwrapDefaultExport(input) {
4597
4595
  * @publicApi
4598
4596
  */
4599
4597
  class UrlHandlingStrategy {
4600
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4601
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
4598
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4599
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
4602
4600
  }
4603
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
4601
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
4604
4602
  type: Injectable,
4605
4603
  args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
4606
4604
  }] });
@@ -4617,10 +4615,10 @@ class DefaultUrlHandlingStrategy {
4617
4615
  merge(newUrlPart, wholeUrl) {
4618
4616
  return newUrlPart;
4619
4617
  }
4620
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4621
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
4618
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4619
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
4622
4620
  }
4623
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
4621
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
4624
4622
  type: Injectable,
4625
4623
  args: [{ providedIn: 'root' }]
4626
4624
  }] });
@@ -5073,10 +5071,10 @@ class NavigationTransitions {
5073
5071
  return (currentBrowserUrl.toString() !== targetBrowserUrl?.toString() &&
5074
5072
  !this.currentNavigation?.extras.skipLocationChange);
5075
5073
  }
5076
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5077
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
5074
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5075
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
5078
5076
  }
5079
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: NavigationTransitions, decorators: [{
5077
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: NavigationTransitions, decorators: [{
5080
5078
  type: Injectable,
5081
5079
  args: [{ providedIn: 'root' }]
5082
5080
  }], ctorParameters: () => [] });
@@ -5092,10 +5090,10 @@ function isBrowserTriggeredNavigation(source) {
5092
5090
  * @publicApi
5093
5091
  */
5094
5092
  class RouteReuseStrategy {
5095
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5096
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
5093
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5094
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
5097
5095
  }
5098
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouteReuseStrategy, decorators: [{
5096
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouteReuseStrategy, decorators: [{
5099
5097
  type: Injectable,
5100
5098
  args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
5101
5099
  }] });
@@ -5146,19 +5144,19 @@ class BaseRouteReuseStrategy {
5146
5144
  }
5147
5145
  }
5148
5146
  class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
5149
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
5150
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
5147
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
5148
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
5151
5149
  }
5152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
5150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
5153
5151
  type: Injectable,
5154
5152
  args: [{ providedIn: 'root' }]
5155
5153
  }] });
5156
5154
 
5157
5155
  class StateManager {
5158
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5159
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) });
5156
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5157
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) });
5160
5158
  }
5161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: StateManager, decorators: [{
5159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: StateManager, decorators: [{
5162
5160
  type: Injectable,
5163
5161
  args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
5164
5162
  }] });
@@ -5328,10 +5326,10 @@ class HistoryStateManager extends StateManager {
5328
5326
  }
5329
5327
  return { navigationId };
5330
5328
  }
5331
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
5332
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: HistoryStateManager, providedIn: 'root' });
5329
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
5330
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HistoryStateManager, providedIn: 'root' });
5333
5331
  }
5334
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: HistoryStateManager, decorators: [{
5332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: HistoryStateManager, decorators: [{
5335
5333
  type: Injectable,
5336
5334
  args: [{ providedIn: 'root' }]
5337
5335
  }] });
@@ -5417,7 +5415,7 @@ class Router {
5417
5415
  console = inject(ɵConsole);
5418
5416
  stateManager = inject(StateManager);
5419
5417
  options = inject(ROUTER_CONFIGURATION, { optional: true }) || {};
5420
- pendingTasks = inject(ɵPendingTasks);
5418
+ pendingTasks = inject(ɵPendingTasksInternal);
5421
5419
  urlUpdateStrategy = this.options.urlUpdateStrategy || 'deferred';
5422
5420
  navigationTransitions = inject(NavigationTransitions);
5423
5421
  urlSerializer = inject(UrlSerializer);
@@ -5896,10 +5894,10 @@ class Router {
5896
5894
  return Promise.reject(e);
5897
5895
  });
5898
5896
  }
5899
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5900
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: Router, providedIn: 'root' });
5897
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5898
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: Router, providedIn: 'root' });
5901
5899
  }
5902
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: Router, decorators: [{
5900
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: Router, decorators: [{
5903
5901
  type: Injectable,
5904
5902
  args: [{ providedIn: 'root' }]
5905
5903
  }], ctorParameters: () => [] });
@@ -5960,7 +5958,7 @@ function isPublicRouterEvent(e) {
5960
5958
  *
5961
5959
  * The following link adds a query parameter and a fragment to the generated URL:
5962
5960
  *
5963
- * ```
5961
+ * ```html
5964
5962
  * <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" fragment="education">
5965
5963
  * link to user component
5966
5964
  * </a>
@@ -5977,7 +5975,7 @@ function isPublicRouterEvent(e) {
5977
5975
  *
5978
5976
  * For example:
5979
5977
  *
5980
- * ```
5978
+ * ```html
5981
5979
  * <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" queryParamsHandling="merge">
5982
5980
  * link to user component
5983
5981
  * </a>
@@ -5994,7 +5992,7 @@ function isPublicRouterEvent(e) {
5994
5992
  * [`History.state` property](https://developer.mozilla.org/en-US/docs/Web/API/History#Properties).
5995
5993
  * For example:
5996
5994
  *
5997
- * ```
5995
+ * ```html
5998
5996
  * <a [routerLink]="['/user/bob']" [state]="{tracingId: 123}">
5999
5997
  * link to user component
6000
5998
  * </a>
@@ -6004,7 +6002,7 @@ function isPublicRouterEvent(e) {
6004
6002
  * navigation-state value. For example, to capture the `tracingId` during the `NavigationStart`
6005
6003
  * event:
6006
6004
  *
6007
- * ```
6005
+ * ```ts
6008
6006
  * // Get NavigationStart events
6009
6007
  * router.events.pipe(filter(e => e instanceof NavigationStart)).subscribe(e => {
6010
6008
  * const navigation = router.getCurrentNavigation();
@@ -6258,14 +6256,13 @@ class RouterLink {
6258
6256
  preserveFragment: this.preserveFragment,
6259
6257
  });
6260
6258
  }
6261
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", 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.1", 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 });
6259
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", 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 });
6260
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-next.3", 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
6261
  }
6264
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterLink, decorators: [{
6262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterLink, decorators: [{
6265
6263
  type: Directive,
6266
6264
  args: [{
6267
6265
  selector: '[routerLink]',
6268
- standalone: true,
6269
6266
  }]
6270
6267
  }], ctorParameters: () => [{ type: Router }, { type: ActivatedRoute }, { type: undefined, decorators: [{
6271
6268
  type: Attribute,
@@ -6321,7 +6318,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1",
6321
6318
  * For example, the following code highlights the word "Bob" when the router
6322
6319
  * activates the associated route:
6323
6320
  *
6324
- * ```
6321
+ * ```html
6325
6322
  * <a routerLink="/user/bob" routerLinkActive="active-link">Bob</a>
6326
6323
  * ```
6327
6324
  *
@@ -6331,14 +6328,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1",
6331
6328
  * You can set more than one class using a space-separated string or an array.
6332
6329
  * For example:
6333
6330
  *
6334
- * ```
6331
+ * ```html
6335
6332
  * <a routerLink="/user/bob" routerLinkActive="class1 class2">Bob</a>
6336
6333
  * <a routerLink="/user/bob" [routerLinkActive]="['class1', 'class2']">Bob</a>
6337
6334
  * ```
6338
6335
  *
6339
6336
  * To add the classes only when the URL matches the link exactly, add the option `exact: true`:
6340
6337
  *
6341
- * ```
6338
+ * ```html
6342
6339
  * <a routerLink="/user/bob" routerLinkActive="active-link" [routerLinkActiveOptions]="{exact:
6343
6340
  * true}">Bob</a>
6344
6341
  * ```
@@ -6347,7 +6344,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1",
6347
6344
  * instance to a template variable.
6348
6345
  * For example, the following checks the status without assigning any CSS classes:
6349
6346
  *
6350
- * ```
6347
+ * ```html
6351
6348
  * <a routerLink="/user/bob" routerLinkActive #rla="routerLinkActive">
6352
6349
  * Bob {{ rla.isActive ? '(already open)' : ''}}
6353
6350
  * </a>
@@ -6357,7 +6354,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1",
6357
6354
  * For example, the following sets the active-link class on the `<div>` parent tag
6358
6355
  * when the URL is either '/user/jim' or '/user/bob'.
6359
6356
  *
6360
- * ```
6357
+ * ```html
6361
6358
  * <div routerLinkActive="active-link" [routerLinkActiveOptions]="{exact: true}">
6362
6359
  * <a routerLink="/user/jim">Jim</a>
6363
6360
  * <a routerLink="/user/bob">Bob</a>
@@ -6370,7 +6367,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1",
6370
6367
  * For example, the following code adds the 'active' class to the Home Page link when it is
6371
6368
  * indeed active and in such case also sets its aria-current attribute to 'page':
6372
6369
  *
6373
- * ```
6370
+ * ```html
6374
6371
  * <a routerLink="/" routerLinkActive="active" ariaCurrentWhenActive="page">Home Page</a>
6375
6372
  * ```
6376
6373
  *
@@ -6515,15 +6512,14 @@ class RouterLinkActive {
6515
6512
  const isActiveCheckFn = this.isLinkActive(this.router);
6516
6513
  return (this.link && isActiveCheckFn(this.link)) || this.links.some(isActiveCheckFn);
6517
6514
  }
6518
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", 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.1", 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 });
6515
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
6516
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-next.3", 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
6517
  }
6521
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterLinkActive, decorators: [{
6518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterLinkActive, decorators: [{
6522
6519
  type: Directive,
6523
6520
  args: [{
6524
6521
  selector: '[routerLinkActive]',
6525
6522
  exportAs: 'routerLinkActive',
6526
- standalone: true,
6527
6523
  }]
6528
6524
  }], ctorParameters: () => [{ type: Router }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: RouterLink, decorators: [{
6529
6525
  type: Optional
@@ -6560,7 +6556,7 @@ class PreloadingStrategy {
6560
6556
  *
6561
6557
  * Provides a preloading strategy that preloads all modules as quickly as possible.
6562
6558
  *
6563
- * ```
6559
+ * ```ts
6564
6560
  * RouterModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})
6565
6561
  * ```
6566
6562
  *
@@ -6570,10 +6566,10 @@ class PreloadAllModules {
6570
6566
  preload(route, fn) {
6571
6567
  return fn().pipe(catchError(() => of(null)));
6572
6568
  }
6573
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6574
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });
6569
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6570
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });
6575
6571
  }
6576
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: PreloadAllModules, decorators: [{
6572
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: PreloadAllModules, decorators: [{
6577
6573
  type: Injectable,
6578
6574
  args: [{ providedIn: 'root' }]
6579
6575
  }] });
@@ -6590,10 +6586,10 @@ class NoPreloading {
6590
6586
  preload(route, fn) {
6591
6587
  return of(null);
6592
6588
  }
6593
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6594
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: NoPreloading, providedIn: 'root' });
6589
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6590
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: NoPreloading, providedIn: 'root' });
6595
6591
  }
6596
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: NoPreloading, decorators: [{
6592
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: NoPreloading, decorators: [{
6597
6593
  type: Injectable,
6598
6594
  args: [{ providedIn: 'root' }]
6599
6595
  }] });
@@ -6689,10 +6685,10 @@ class RouterPreloader {
6689
6685
  }
6690
6686
  });
6691
6687
  }
6692
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", 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.1", ngImport: i0, type: RouterPreloader, providedIn: 'root' });
6688
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable });
6689
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterPreloader, providedIn: 'root' });
6694
6690
  }
6695
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterPreloader, decorators: [{
6691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterPreloader, decorators: [{
6696
6692
  type: Injectable,
6697
6693
  args: [{ providedIn: 'root' }]
6698
6694
  }], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
@@ -6792,10 +6788,10 @@ class RouterScroller {
6792
6788
  this.routerEventsSubscription?.unsubscribe();
6793
6789
  this.scrollEventsSubscription?.unsubscribe();
6794
6790
  }
6795
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
6796
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterScroller });
6791
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
6792
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterScroller });
6797
6793
  }
6798
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterScroller, decorators: [{
6794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterScroller, decorators: [{
6799
6795
  type: Injectable
6800
6796
  }], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
6801
6797
 
@@ -6806,7 +6802,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1",
6806
6802
  * @usageNotes
6807
6803
  *
6808
6804
  * Basic example of how you can add a Router to your application:
6809
- * ```
6805
+ * ```ts
6810
6806
  * const appRoutes: Routes = [];
6811
6807
  * bootstrapApplication(AppComponent, {
6812
6808
  * providers: [provideRouter(appRoutes)]
@@ -6815,7 +6811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1",
6815
6811
  *
6816
6812
  * You can also enable optional features in the Router by adding functions from the `RouterFeatures`
6817
6813
  * type:
6818
- * ```
6814
+ * ```ts
6819
6815
  * const appRoutes: Routes = [];
6820
6816
  * bootstrapApplication(AppComponent,
6821
6817
  * {
@@ -6881,7 +6877,7 @@ const routerIsProvidedDevModeCheck = {
6881
6877
  *
6882
6878
  * @usageNotes
6883
6879
  *
6884
- * ```
6880
+ * ```ts
6885
6881
  * @NgModule({
6886
6882
  * providers: [provideRoutes(ROUTES)]
6887
6883
  * })
@@ -6904,7 +6900,7 @@ function provideRoutes(routes) {
6904
6900
  * @usageNotes
6905
6901
  *
6906
6902
  * Basic example of how you can enable scrolling feature:
6907
- * ```
6903
+ * ```ts
6908
6904
  * const appRoutes: Routes = [];
6909
6905
  * bootstrapApplication(AppComponent,
6910
6906
  * {
@@ -6981,7 +6977,7 @@ const INITIAL_NAVIGATION = new InjectionToken(typeof ngDevMode === 'undefined' |
6981
6977
  * @usageNotes
6982
6978
  *
6983
6979
  * Basic example of how you can enable this navigation behavior:
6984
- * ```
6980
+ * ```ts
6985
6981
  * const appRoutes: Routes = [];
6986
6982
  * bootstrapApplication(AppComponent,
6987
6983
  * {
@@ -7041,7 +7037,7 @@ function withEnabledBlockingInitialNavigation() {
7041
7037
  * @usageNotes
7042
7038
  *
7043
7039
  * Basic example of how you can disable initial navigation:
7044
- * ```
7040
+ * ```ts
7045
7041
  * const appRoutes: Routes = [];
7046
7042
  * bootstrapApplication(AppComponent,
7047
7043
  * {
@@ -7081,7 +7077,7 @@ function withDisabledInitialNavigation() {
7081
7077
  * @usageNotes
7082
7078
  *
7083
7079
  * Basic example of how you can enable debug tracing:
7084
- * ```
7080
+ * ```ts
7085
7081
  * const appRoutes: Routes = [];
7086
7082
  * bootstrapApplication(AppComponent,
7087
7083
  * {
@@ -7132,7 +7128,7 @@ const ROUTER_PRELOADER = new InjectionToken(typeof ngDevMode === 'undefined' ||
7132
7128
  * @usageNotes
7133
7129
  *
7134
7130
  * Basic example of how you can configure preloading:
7135
- * ```
7131
+ * ```ts
7136
7132
  * const appRoutes: Routes = [];
7137
7133
  * bootstrapApplication(AppComponent,
7138
7134
  * {
@@ -7164,7 +7160,7 @@ function withPreloading(preloadingStrategy) {
7164
7160
  * @usageNotes
7165
7161
  *
7166
7162
  * Basic example of how you can provide extra configuration options:
7167
- * ```
7163
+ * ```ts
7168
7164
  * const appRoutes: Routes = [];
7169
7165
  * bootstrapApplication(AppComponent,
7170
7166
  * {
@@ -7195,7 +7191,7 @@ function withRouterConfig(options) {
7195
7191
  * @usageNotes
7196
7192
  *
7197
7193
  * Basic example of how you can use the hash location option:
7198
- * ```
7194
+ * ```ts
7199
7195
  * const appRoutes: Routes = [];
7200
7196
  * bootstrapApplication(AppComponent,
7201
7197
  * {
@@ -7232,7 +7228,7 @@ function withHashLocation() {
7232
7228
  * @usageNotes
7233
7229
  *
7234
7230
  * Basic example of how you can use the error handler option:
7235
- * ```
7231
+ * ```ts
7236
7232
  * const appRoutes: Routes = [];
7237
7233
  * bootstrapApplication(AppComponent,
7238
7234
  * {
@@ -7268,7 +7264,7 @@ function withNavigationErrorHandler(handler) {
7268
7264
  * @usageNotes
7269
7265
  *
7270
7266
  * Basic example of how you can enable the feature:
7271
- * ```
7267
+ * ```ts
7272
7268
  * const appRoutes: Routes = [];
7273
7269
  * bootstrapApplication(AppComponent,
7274
7270
  * {
@@ -7317,7 +7313,7 @@ function withComponentInputBinding() {
7317
7313
  * @usageNotes
7318
7314
  *
7319
7315
  * Basic example of how you can enable the feature:
7320
- * ```
7316
+ * ```ts
7321
7317
  * const appRoutes: Routes = [];
7322
7318
  * bootstrapApplication(AppComponent,
7323
7319
  * {
@@ -7467,11 +7463,11 @@ class RouterModule {
7467
7463
  providers: [{ provide: ROUTES, multi: true, useValue: routes }],
7468
7464
  };
7469
7465
  }
7470
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.1", 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.1", 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.1", ngImport: i0, type: RouterModule });
7466
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
7467
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] });
7468
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterModule });
7473
7469
  }
7474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.1", ngImport: i0, type: RouterModule, decorators: [{
7470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.3", ngImport: i0, type: RouterModule, decorators: [{
7475
7471
  type: NgModule,
7476
7472
  args: [{
7477
7473
  imports: ROUTER_DIRECTIVES,
@@ -7616,7 +7612,7 @@ function mapToResolve(provider) {
7616
7612
  /**
7617
7613
  * @publicApi
7618
7614
  */
7619
- const VERSION = new Version('19.1.0-next.1');
7615
+ const VERSION = new Version('19.1.0-next.3');
7620
7616
 
7621
7617
  function getLoadedRoutes(route) {
7622
7618
  return route._loadedRoutes;