@angular/router 20.0.0-next.5 → 20.0.0-next.7
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-CgkmNlQY.mjs → router-Db1vz7B5.mjs} +54 -56
- package/fesm2022/router-Db1vz7B5.mjs.map +1 -0
- package/fesm2022/router.mjs +4 -4
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/{router_module-gf6YVUii.mjs → router_module-CKwWQXvk.mjs} +55 -67
- package/fesm2022/router_module-CKwWQXvk.mjs.map +1 -0
- package/fesm2022/testing.mjs +15 -15
- package/fesm2022/upgrade.mjs +2 -2
- package/index.d.ts +5 -27
- package/package.json +4 -4
- package/{router_module.d-DqODy4g9.d.ts → router_module.d-ktU8Dnrg.d.ts} +4 -8
- package/testing/index.d.ts +3 -3
- package/upgrade/index.d.ts +1 -1
- package/fesm2022/router-CgkmNlQY.mjs.map +0 -1
- package/fesm2022/router_module-gf6YVUii.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-next.
|
|
2
|
+
* @license Angular v20.0.0-next.7
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -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: "20.0.0-next.
|
|
436
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
435
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
436
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });
|
|
437
437
|
}
|
|
438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
439
439
|
type: Injectable,
|
|
440
440
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
441
441
|
}] });
|
|
@@ -1829,6 +1829,9 @@ class RedirectRequest {
|
|
|
1829
1829
|
this.navigationBehaviorOptions = navigationBehaviorOptions;
|
|
1830
1830
|
}
|
|
1831
1831
|
}
|
|
1832
|
+
function isPublicRouterEvent(e) {
|
|
1833
|
+
return !(e instanceof BeforeActivateRoutes) && !(e instanceof RedirectRequest);
|
|
1834
|
+
}
|
|
1832
1835
|
function stringifyEvent(routerEvent) {
|
|
1833
1836
|
switch (routerEvent.type) {
|
|
1834
1837
|
case EventType.ActivationEnd:
|
|
@@ -2114,10 +2117,10 @@ class ChildrenOutletContexts {
|
|
|
2114
2117
|
getContext(childName) {
|
|
2115
2118
|
return this.contexts.get(childName) || null;
|
|
2116
2119
|
}
|
|
2117
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2118
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2120
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: ChildrenOutletContexts, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2121
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
|
|
2119
2122
|
}
|
|
2120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
2121
2124
|
type: Injectable,
|
|
2122
2125
|
args: [{ providedIn: 'root' }]
|
|
2123
2126
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
@@ -2904,10 +2907,10 @@ class RouterOutlet {
|
|
|
2904
2907
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2905
2908
|
this.activateEvents.emit(this.activated.instance);
|
|
2906
2909
|
}
|
|
2907
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2908
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.0-next.
|
|
2910
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2911
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.0-next.7", 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 });
|
|
2909
2912
|
}
|
|
2910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2911
2914
|
type: Directive,
|
|
2912
2915
|
args: [{
|
|
2913
2916
|
selector: 'router-outlet',
|
|
@@ -3017,10 +3020,10 @@ class RoutedComponentInputBinder {
|
|
|
3017
3020
|
});
|
|
3018
3021
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
3019
3022
|
}
|
|
3020
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
3021
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
3023
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3024
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RoutedComponentInputBinder });
|
|
3022
3025
|
}
|
|
3023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
3026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
3024
3027
|
type: Injectable
|
|
3025
3028
|
}] });
|
|
3026
3029
|
|
|
@@ -4356,10 +4359,10 @@ class TitleStrategy {
|
|
|
4356
4359
|
getResolvedTitleForRoute(snapshot) {
|
|
4357
4360
|
return snapshot.data[RouteTitleKey];
|
|
4358
4361
|
}
|
|
4359
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4360
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4362
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4363
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
|
|
4361
4364
|
}
|
|
4362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4363
4366
|
type: Injectable,
|
|
4364
4367
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4365
4368
|
}] });
|
|
@@ -4383,10 +4386,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4383
4386
|
this.title.setTitle(title);
|
|
4384
4387
|
}
|
|
4385
4388
|
}
|
|
4386
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4387
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4389
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4390
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
|
|
4388
4391
|
}
|
|
4389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4390
4393
|
type: Injectable,
|
|
4391
4394
|
args: [{ providedIn: 'root' }]
|
|
4392
4395
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4411,10 +4414,10 @@ const ROUTER_CONFIGURATION = new InjectionToken(typeof ngDevMode === 'undefined'
|
|
|
4411
4414
|
* to this `EmptyOutletComponent`.
|
|
4412
4415
|
*/
|
|
4413
4416
|
class ɵEmptyOutletComponent {
|
|
4414
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4415
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
4417
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4418
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.7", 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"] }] });
|
|
4416
4419
|
}
|
|
4417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
4418
4421
|
type: Component,
|
|
4419
4422
|
args: [{
|
|
4420
4423
|
template: `<router-outlet/>`,
|
|
@@ -4500,10 +4503,10 @@ class RouterConfigLoader {
|
|
|
4500
4503
|
this.childrenLoaders.set(route, loader);
|
|
4501
4504
|
return loader;
|
|
4502
4505
|
}
|
|
4503
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4504
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4506
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4507
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
|
|
4505
4508
|
}
|
|
4506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4507
4510
|
type: Injectable,
|
|
4508
4511
|
args: [{ providedIn: 'root' }]
|
|
4509
4512
|
}] });
|
|
@@ -4570,10 +4573,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4570
4573
|
* @publicApi
|
|
4571
4574
|
*/
|
|
4572
4575
|
class UrlHandlingStrategy {
|
|
4573
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4574
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4576
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4577
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
|
|
4575
4578
|
}
|
|
4576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4577
4580
|
type: Injectable,
|
|
4578
4581
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4579
4582
|
}] });
|
|
@@ -4590,15 +4593,14 @@ class DefaultUrlHandlingStrategy {
|
|
|
4590
4593
|
merge(newUrlPart, wholeUrl) {
|
|
4591
4594
|
return newUrlPart;
|
|
4592
4595
|
}
|
|
4593
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4594
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4596
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4597
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
|
|
4595
4598
|
}
|
|
4596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4597
4600
|
type: Injectable,
|
|
4598
4601
|
args: [{ providedIn: 'root' }]
|
|
4599
4602
|
}] });
|
|
4600
4603
|
|
|
4601
|
-
/// <reference types="dom-view-transitions" />
|
|
4602
4604
|
const CREATE_VIEW_TRANSITION = new InjectionToken(ngDevMode ? 'view transition helper' : '');
|
|
4603
4605
|
const VIEW_TRANSITION_OPTIONS = new InjectionToken(ngDevMode ? 'view transition options' : '');
|
|
4604
4606
|
/**
|
|
@@ -4630,7 +4632,6 @@ function createViewTransition(injector, from, to) {
|
|
|
4630
4632
|
// routes (the DOM update). This view transition waits for the next change detection to
|
|
4631
4633
|
// complete (below), which includes the update phase of the routed components.
|
|
4632
4634
|
return createRenderPromise(injector);
|
|
4633
|
-
// TODO(atscott): Types in DefinitelyTyped are not up-to-date
|
|
4634
4635
|
});
|
|
4635
4636
|
const { onViewTransitionCreated } = transitionOptions;
|
|
4636
4637
|
if (onViewTransitionCreated) {
|
|
@@ -5052,10 +5053,10 @@ class NavigationTransitions {
|
|
|
5052
5053
|
return (currentBrowserUrl.toString() !== targetBrowserUrl?.toString() &&
|
|
5053
5054
|
!this.currentNavigation?.extras.skipLocationChange);
|
|
5054
5055
|
}
|
|
5055
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5056
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5056
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5057
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
|
|
5057
5058
|
}
|
|
5058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
5059
5060
|
type: Injectable,
|
|
5060
5061
|
args: [{ providedIn: 'root' }]
|
|
5061
5062
|
}], ctorParameters: () => [] });
|
|
@@ -5071,10 +5072,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
5071
5072
|
* @publicApi
|
|
5072
5073
|
*/
|
|
5073
5074
|
class RouteReuseStrategy {
|
|
5074
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5075
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5075
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5076
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
|
|
5076
5077
|
}
|
|
5077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
5078
5079
|
type: Injectable,
|
|
5079
5080
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
5080
5081
|
}] });
|
|
@@ -5125,10 +5126,10 @@ class BaseRouteReuseStrategy {
|
|
|
5125
5126
|
}
|
|
5126
5127
|
}
|
|
5127
5128
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
5128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5129
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5129
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5130
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
|
|
5130
5131
|
}
|
|
5131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
5132
5133
|
type: Injectable,
|
|
5133
5134
|
args: [{ providedIn: 'root' }]
|
|
5134
5135
|
}] });
|
|
@@ -5227,10 +5228,10 @@ class StateManager {
|
|
|
5227
5228
|
// when merging, such as the query params so they are not lost on a refresh.
|
|
5228
5229
|
this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, finalUrl ?? this.rawUrlTree);
|
|
5229
5230
|
}
|
|
5230
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5231
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5231
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5232
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) });
|
|
5232
5233
|
}
|
|
5233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: StateManager, decorators: [{
|
|
5234
5235
|
type: Injectable,
|
|
5235
5236
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
5236
5237
|
}] });
|
|
@@ -5362,10 +5363,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5362
5363
|
}
|
|
5363
5364
|
return { navigationId };
|
|
5364
5365
|
}
|
|
5365
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5366
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5366
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5367
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: HistoryStateManager, providedIn: 'root' });
|
|
5367
5368
|
}
|
|
5368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5369
5370
|
type: Injectable,
|
|
5370
5371
|
args: [{ providedIn: 'root' }]
|
|
5371
5372
|
}] });
|
|
@@ -5927,10 +5928,10 @@ class Router {
|
|
|
5927
5928
|
return Promise.reject(e);
|
|
5928
5929
|
});
|
|
5929
5930
|
}
|
|
5930
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5931
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5931
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5932
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: Router, providedIn: 'root' });
|
|
5932
5933
|
}
|
|
5933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.7", ngImport: i0, type: Router, decorators: [{
|
|
5934
5935
|
type: Injectable,
|
|
5935
5936
|
args: [{ providedIn: 'root' }]
|
|
5936
5937
|
}], ctorParameters: () => [] });
|
|
@@ -5943,9 +5944,6 @@ function validateCommands(commands) {
|
|
|
5943
5944
|
}
|
|
5944
5945
|
}
|
|
5945
5946
|
}
|
|
5946
|
-
function isPublicRouterEvent(e) {
|
|
5947
|
-
return !(e instanceof BeforeActivateRoutes) && !(e instanceof RedirectRequest);
|
|
5948
|
-
}
|
|
5949
5947
|
|
|
5950
|
-
export {
|
|
5951
|
-
//# sourceMappingURL=router-
|
|
5948
|
+
export { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, CREATE_VIEW_TRANSITION, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, EventType, GuardsCheckEnd, GuardsCheckStart, IMPERATIVE_NAVIGATION, 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 };
|
|
5949
|
+
//# sourceMappingURL=router-Db1vz7B5.mjs.map
|