@angular/router 19.2.10 → 19.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{router-B-Y85L0c.mjs → router-Dwfin5Au.mjs} +92 -92
- package/fesm2022/router-Dwfin5Au.mjs.map +1 -0
- package/fesm2022/router.mjs +4 -4
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/{router_module-RgZPgAJ4.mjs → router_module-DTJgGWLd.mjs} +34 -34
- package/fesm2022/router_module-DTJgGWLd.mjs.map +1 -0
- package/fesm2022/testing.mjs +15 -15
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +2 -2
- package/fesm2022/upgrade.mjs.map +1 -1
- package/index.d.ts +5 -6
- package/package.json +4 -4
- package/{router_module.d-BivBj8FC.d.ts → router_module.d-Bx9ArA6K.d.ts} +13 -14
- package/testing/index.d.ts +3 -4
- package/upgrade/index.d.ts +1 -1
- package/fesm2022/router-B-Y85L0c.mjs.map +0 -1
- package/fesm2022/router_module-RgZPgAJ4.mjs.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.12
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { DOCUMENT, Location } from '@angular/common';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
|
-
import { ɵisPromise as _isPromise, ɵRuntimeError as _RuntimeError, Injectable, ɵisNgModule as _isNgModule, isStandalone, createEnvironmentInjector, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Output, Input, Directive, reflectComponentType, ɵisInjectable as _isInjectable, runInInjectionContext,
|
|
9
|
+
import { ɵisPromise as _isPromise, ɵRuntimeError as _RuntimeError, Injectable, ɵisNgModule as _isNgModule, isStandalone, createEnvironmentInjector, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Output, Input, Directive, reflectComponentType, Component, ɵisInjectable as _isInjectable, runInInjectionContext, NgModuleFactory, Compiler, NgZone, afterNextRender, EnvironmentInjector, DestroyRef, ɵConsole as _Console, ɵPendingTasksInternal as _PendingTasksInternal } from '@angular/core';
|
|
10
10
|
import { isObservable, from, of, BehaviorSubject, combineLatest, EmptyError, concat, defer, pipe, throwError, EMPTY, ConnectableObservable, Subject, Subscription } from 'rxjs';
|
|
11
11
|
import { map, switchMap, take, startWith, filter, mergeMap, first, concatMap, tap, catchError, scan, defaultIfEmpty, last as last$1, takeLast, finalize, refCount, takeUntil } from 'rxjs/operators';
|
|
12
12
|
import * as i1 from '@angular/platform-browser';
|
|
@@ -432,10 +432,10 @@ function mapChildrenIntoArray(segment, fn) {
|
|
|
432
432
|
* @publicApi
|
|
433
433
|
*/
|
|
434
434
|
class UrlSerializer {
|
|
435
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
436
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
435
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
436
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });
|
|
437
437
|
}
|
|
438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
439
439
|
type: Injectable,
|
|
440
440
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
441
441
|
}] });
|
|
@@ -2063,7 +2063,7 @@ class ChildrenOutletContexts {
|
|
|
2063
2063
|
rootInjector;
|
|
2064
2064
|
// contexts for child outlets, by name.
|
|
2065
2065
|
contexts = new Map();
|
|
2066
|
-
/** @
|
|
2066
|
+
/** @docs-private */
|
|
2067
2067
|
constructor(rootInjector) {
|
|
2068
2068
|
this.rootInjector = rootInjector;
|
|
2069
2069
|
}
|
|
@@ -2108,10 +2108,10 @@ class ChildrenOutletContexts {
|
|
|
2108
2108
|
getContext(childName) {
|
|
2109
2109
|
return this.contexts.get(childName) || null;
|
|
2110
2110
|
}
|
|
2111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2112
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2111
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ChildrenOutletContexts, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2112
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
|
|
2113
2113
|
}
|
|
2114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
2115
2115
|
type: Injectable,
|
|
2116
2116
|
args: [{ providedIn: 'root' }]
|
|
2117
2117
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
@@ -2767,9 +2767,9 @@ class RouterOutlet {
|
|
|
2767
2767
|
location = inject(ViewContainerRef);
|
|
2768
2768
|
changeDetector = inject(ChangeDetectorRef);
|
|
2769
2769
|
inputBinder = inject(INPUT_BINDER, { optional: true });
|
|
2770
|
-
/** @
|
|
2770
|
+
/** @docs-private */
|
|
2771
2771
|
supportsBindingToComponentInputs = true;
|
|
2772
|
-
/** @
|
|
2772
|
+
/** @docs-private */
|
|
2773
2773
|
ngOnChanges(changes) {
|
|
2774
2774
|
if (changes['name']) {
|
|
2775
2775
|
const { firstChange, previousValue } = changes['name'];
|
|
@@ -2787,7 +2787,7 @@ class RouterOutlet {
|
|
|
2787
2787
|
this.initializeOutletWithName();
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
|
-
/** @
|
|
2790
|
+
/** @docs-private */
|
|
2791
2791
|
ngOnDestroy() {
|
|
2792
2792
|
// Ensure that the registered outlet is this one before removing it on the context.
|
|
2793
2793
|
if (this.isTrackedInParentContexts(this.name)) {
|
|
@@ -2798,7 +2798,7 @@ class RouterOutlet {
|
|
|
2798
2798
|
isTrackedInParentContexts(outletName) {
|
|
2799
2799
|
return this.parentContexts.getContext(outletName)?.outlet === this;
|
|
2800
2800
|
}
|
|
2801
|
-
/** @
|
|
2801
|
+
/** @docs-private */
|
|
2802
2802
|
ngOnInit() {
|
|
2803
2803
|
this.initializeOutletWithName();
|
|
2804
2804
|
}
|
|
@@ -2898,10 +2898,10 @@ class RouterOutlet {
|
|
|
2898
2898
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2899
2899
|
this.activateEvents.emit(this.activated.instance);
|
|
2900
2900
|
}
|
|
2901
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2902
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.
|
|
2901
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2902
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.12", 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 });
|
|
2903
2903
|
}
|
|
2904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2905
2905
|
type: Directive,
|
|
2906
2906
|
args: [{
|
|
2907
2907
|
selector: 'router-outlet',
|
|
@@ -3011,13 +3011,51 @@ class RoutedComponentInputBinder {
|
|
|
3011
3011
|
});
|
|
3012
3012
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
3013
3013
|
}
|
|
3014
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3015
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
3014
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3015
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RoutedComponentInputBinder });
|
|
3016
3016
|
}
|
|
3017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
3018
3018
|
type: Injectable
|
|
3019
3019
|
}] });
|
|
3020
3020
|
|
|
3021
|
+
/**
|
|
3022
|
+
* This component is used internally within the router to be a placeholder when an empty
|
|
3023
|
+
* router-outlet is needed. For example, with a config such as:
|
|
3024
|
+
*
|
|
3025
|
+
* `{path: 'parent', outlet: 'nav', children: [...]}`
|
|
3026
|
+
*
|
|
3027
|
+
* In order to render, there needs to be a component on this config, which will default
|
|
3028
|
+
* to this `EmptyOutletComponent`.
|
|
3029
|
+
*/
|
|
3030
|
+
class ɵEmptyOutletComponent {
|
|
3031
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3032
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", type: ɵEmptyOutletComponent, isStandalone: true, selector: "ng-component", exportAs: ["emptyRouterOutlet"], ngImport: i0, template: `<router-outlet/>`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
3033
|
+
}
|
|
3034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
3035
|
+
type: Component,
|
|
3036
|
+
args: [{
|
|
3037
|
+
template: `<router-outlet/>`,
|
|
3038
|
+
imports: [RouterOutlet],
|
|
3039
|
+
// Used to avoid component ID collisions with user code.
|
|
3040
|
+
exportAs: 'emptyRouterOutlet',
|
|
3041
|
+
}]
|
|
3042
|
+
}] });
|
|
3043
|
+
/**
|
|
3044
|
+
* Makes a copy of the config and adds any default required properties.
|
|
3045
|
+
*/
|
|
3046
|
+
function standardizeConfig(r) {
|
|
3047
|
+
const children = r.children && r.children.map(standardizeConfig);
|
|
3048
|
+
const c = children ? { ...r, children } : { ...r };
|
|
3049
|
+
if (!c.component &&
|
|
3050
|
+
!c.loadComponent &&
|
|
3051
|
+
(children || c.loadChildren) &&
|
|
3052
|
+
c.outlet &&
|
|
3053
|
+
c.outlet !== PRIMARY_OUTLET) {
|
|
3054
|
+
c.component = ɵEmptyOutletComponent;
|
|
3055
|
+
}
|
|
3056
|
+
return c;
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3021
3059
|
function createRouterState(routeReuseStrategy, curr, prevState) {
|
|
3022
3060
|
const root = createNode(routeReuseStrategy, curr._root, prevState ? prevState._root : undefined);
|
|
3023
3061
|
return new RouterState(root, curr);
|
|
@@ -4347,10 +4385,10 @@ class TitleStrategy {
|
|
|
4347
4385
|
getResolvedTitleForRoute(snapshot) {
|
|
4348
4386
|
return snapshot.data[RouteTitleKey];
|
|
4349
4387
|
}
|
|
4350
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4351
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
4388
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4389
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
|
|
4352
4390
|
}
|
|
4353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4354
4392
|
type: Injectable,
|
|
4355
4393
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4356
4394
|
}] });
|
|
@@ -4374,10 +4412,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4374
4412
|
this.title.setTitle(title);
|
|
4375
4413
|
}
|
|
4376
4414
|
}
|
|
4377
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4378
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
4415
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4416
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
|
|
4379
4417
|
}
|
|
4380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4381
4419
|
type: Injectable,
|
|
4382
4420
|
args: [{ providedIn: 'root' }]
|
|
4383
4421
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4392,44 +4430,6 @@ const ROUTER_CONFIGURATION = new InjectionToken(typeof ngDevMode === 'undefined'
|
|
|
4392
4430
|
factory: () => ({}),
|
|
4393
4431
|
});
|
|
4394
4432
|
|
|
4395
|
-
/**
|
|
4396
|
-
* This component is used internally within the router to be a placeholder when an empty
|
|
4397
|
-
* router-outlet is needed. For example, with a config such as:
|
|
4398
|
-
*
|
|
4399
|
-
* `{path: 'parent', outlet: 'nav', children: [...]}`
|
|
4400
|
-
*
|
|
4401
|
-
* In order to render, there needs to be a component on this config, which will default
|
|
4402
|
-
* to this `EmptyOutletComponent`.
|
|
4403
|
-
*/
|
|
4404
|
-
class ɵEmptyOutletComponent {
|
|
4405
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4406
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: ɵEmptyOutletComponent, isStandalone: true, selector: "ng-component", exportAs: ["emptyRouterOutlet"], ngImport: i0, template: `<router-outlet/>`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
4407
|
-
}
|
|
4408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
4409
|
-
type: Component,
|
|
4410
|
-
args: [{
|
|
4411
|
-
template: `<router-outlet/>`,
|
|
4412
|
-
imports: [RouterOutlet],
|
|
4413
|
-
// Used to avoid component ID collisions with user code.
|
|
4414
|
-
exportAs: 'emptyRouterOutlet',
|
|
4415
|
-
}]
|
|
4416
|
-
}] });
|
|
4417
|
-
/**
|
|
4418
|
-
* Makes a copy of the config and adds any default required properties.
|
|
4419
|
-
*/
|
|
4420
|
-
function standardizeConfig(r) {
|
|
4421
|
-
const children = r.children && r.children.map(standardizeConfig);
|
|
4422
|
-
const c = children ? { ...r, children } : { ...r };
|
|
4423
|
-
if (!c.component &&
|
|
4424
|
-
!c.loadComponent &&
|
|
4425
|
-
(children || c.loadChildren) &&
|
|
4426
|
-
c.outlet &&
|
|
4427
|
-
c.outlet !== PRIMARY_OUTLET) {
|
|
4428
|
-
c.component = ɵEmptyOutletComponent;
|
|
4429
|
-
}
|
|
4430
|
-
return c;
|
|
4431
|
-
}
|
|
4432
|
-
|
|
4433
4433
|
/**
|
|
4434
4434
|
* The DI token for a router configuration.
|
|
4435
4435
|
*
|
|
@@ -4491,10 +4491,10 @@ class RouterConfigLoader {
|
|
|
4491
4491
|
this.childrenLoaders.set(route, loader);
|
|
4492
4492
|
return loader;
|
|
4493
4493
|
}
|
|
4494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4495
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
4494
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4495
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
|
|
4496
4496
|
}
|
|
4497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4498
4498
|
type: Injectable,
|
|
4499
4499
|
args: [{ providedIn: 'root' }]
|
|
4500
4500
|
}] });
|
|
@@ -4561,10 +4561,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4561
4561
|
* @publicApi
|
|
4562
4562
|
*/
|
|
4563
4563
|
class UrlHandlingStrategy {
|
|
4564
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4565
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
4564
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4565
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
|
|
4566
4566
|
}
|
|
4567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4568
4568
|
type: Injectable,
|
|
4569
4569
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4570
4570
|
}] });
|
|
@@ -4581,10 +4581,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4581
4581
|
merge(newUrlPart, wholeUrl) {
|
|
4582
4582
|
return newUrlPart;
|
|
4583
4583
|
}
|
|
4584
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
4585
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
4584
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4585
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
|
|
4586
4586
|
}
|
|
4587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
4587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4588
4588
|
type: Injectable,
|
|
4589
4589
|
args: [{ providedIn: 'root' }]
|
|
4590
4590
|
}] });
|
|
@@ -5033,10 +5033,10 @@ class NavigationTransitions {
|
|
|
5033
5033
|
return (currentBrowserUrl.toString() !== targetBrowserUrl?.toString() &&
|
|
5034
5034
|
!this.currentNavigation?.extras.skipLocationChange);
|
|
5035
5035
|
}
|
|
5036
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5037
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
5036
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5037
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
|
|
5038
5038
|
}
|
|
5039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
5040
5040
|
type: Injectable,
|
|
5041
5041
|
args: [{ providedIn: 'root' }]
|
|
5042
5042
|
}], ctorParameters: () => [] });
|
|
@@ -5052,10 +5052,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
5052
5052
|
* @publicApi
|
|
5053
5053
|
*/
|
|
5054
5054
|
class RouteReuseStrategy {
|
|
5055
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5056
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
5055
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5056
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
|
|
5057
5057
|
}
|
|
5058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
5059
5059
|
type: Injectable,
|
|
5060
5060
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
5061
5061
|
}] });
|
|
@@ -5106,10 +5106,10 @@ class BaseRouteReuseStrategy {
|
|
|
5106
5106
|
}
|
|
5107
5107
|
}
|
|
5108
5108
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
5109
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5110
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
5109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5110
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
|
|
5111
5111
|
}
|
|
5112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
5113
5113
|
type: Injectable,
|
|
5114
5114
|
args: [{ providedIn: 'root' }]
|
|
5115
5115
|
}] });
|
|
@@ -5208,10 +5208,10 @@ class StateManager {
|
|
|
5208
5208
|
// when merging, such as the query params so they are not lost on a refresh.
|
|
5209
5209
|
this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, finalUrl ?? this.rawUrlTree);
|
|
5210
5210
|
}
|
|
5211
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5212
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
5211
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5212
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) });
|
|
5213
5213
|
}
|
|
5214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: StateManager, decorators: [{
|
|
5215
5215
|
type: Injectable,
|
|
5216
5216
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
5217
5217
|
}] });
|
|
@@ -5343,10 +5343,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5343
5343
|
}
|
|
5344
5344
|
return { navigationId };
|
|
5345
5345
|
}
|
|
5346
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5347
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
5346
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5347
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: HistoryStateManager, providedIn: 'root' });
|
|
5348
5348
|
}
|
|
5349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5350
5350
|
type: Injectable,
|
|
5351
5351
|
args: [{ providedIn: 'root' }]
|
|
5352
5352
|
}] });
|
|
@@ -5648,7 +5648,7 @@ class Router {
|
|
|
5648
5648
|
this.config = config.map(standardizeConfig);
|
|
5649
5649
|
this.navigated = false;
|
|
5650
5650
|
}
|
|
5651
|
-
/** @
|
|
5651
|
+
/** @docs-private */
|
|
5652
5652
|
ngOnDestroy() {
|
|
5653
5653
|
this.dispose();
|
|
5654
5654
|
}
|
|
@@ -5905,10 +5905,10 @@ class Router {
|
|
|
5905
5905
|
return Promise.reject(e);
|
|
5906
5906
|
});
|
|
5907
5907
|
}
|
|
5908
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
5909
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
5908
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5909
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: Router, providedIn: 'root' });
|
|
5910
5910
|
}
|
|
5911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
5911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: Router, decorators: [{
|
|
5912
5912
|
type: Injectable,
|
|
5913
5913
|
args: [{ providedIn: 'root' }]
|
|
5914
5914
|
}], ctorParameters: () => [] });
|
|
@@ -5926,4 +5926,4 @@ function isPublicRouterEvent(e) {
|
|
|
5926
5926
|
}
|
|
5927
5927
|
|
|
5928
5928
|
export { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, CREATE_VIEW_TRANSITION, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, EventType, GuardsCheckEnd, GuardsCheckStart, INPUT_BINDER, NAVIGATION_ERROR_HANDLER, NavigationCancel, NavigationCancellationCode, NavigationEnd, NavigationError, NavigationSkipped, NavigationSkippedCode, NavigationStart, NavigationTransitions, OutletContext, PRIMARY_OUTLET, ROUTER_CONFIGURATION, ROUTER_OUTLET_DATA, ROUTES, RedirectCommand, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, RoutedComponentInputBinder, Router, RouterConfigLoader, RouterEvent, RouterOutlet, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VIEW_TRANSITION_OPTIONS, afterNextNavigation, convertToParamMap, createUrlTreeFromSnapshot, createViewTransition, defaultUrlMatcher, isUrlTree, loadChildren, stringifyEvent, ɵEmptyOutletComponent };
|
|
5929
|
-
//# sourceMappingURL=router-
|
|
5929
|
+
//# sourceMappingURL=router-Dwfin5Au.mjs.map
|