@angular/router 20.0.0-next.0 → 20.0.0-next.1
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.mjs +76 -76
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +12 -12
- package/fesm2022/upgrade.mjs +4 -4
- package/fesm2022/upgrade.mjs.map +1 -1
- package/index.d.ts +8 -8
- package/package.json +4 -4
- package/testing/index.d.ts +2 -2
- package/upgrade/index.d.ts +4 -4
package/fesm2022/router.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-next.
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v20.0.0-next.1
|
|
3
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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: "20.0.0-next.
|
|
437
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
437
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });
|
|
438
438
|
}
|
|
439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
440
440
|
type: Injectable,
|
|
441
441
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
442
442
|
}] });
|
|
@@ -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: "20.0.0-next.
|
|
2127
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2126
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.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: "20.0.0-next.1", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
|
|
2128
2128
|
}
|
|
2129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
2130
2130
|
type: Injectable,
|
|
2131
2131
|
args: [{ providedIn: 'root' }]
|
|
2132
2132
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
@@ -2913,10 +2913,10 @@ class RouterOutlet {
|
|
|
2913
2913
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2914
2914
|
this.activateEvents.emit(this.activated.instance);
|
|
2915
2915
|
}
|
|
2916
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2917
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.0-next.
|
|
2916
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2917
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.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 });
|
|
2918
2918
|
}
|
|
2919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2920
2920
|
type: Directive,
|
|
2921
2921
|
args: [{
|
|
2922
2922
|
selector: 'router-outlet',
|
|
@@ -3044,10 +3044,10 @@ class RoutedComponentInputBinder {
|
|
|
3044
3044
|
});
|
|
3045
3045
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
3046
3046
|
}
|
|
3047
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
3048
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
3047
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3048
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RoutedComponentInputBinder });
|
|
3049
3049
|
}
|
|
3050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
3050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
3051
3051
|
type: Injectable
|
|
3052
3052
|
}] });
|
|
3053
3053
|
|
|
@@ -4386,10 +4386,10 @@ class TitleStrategy {
|
|
|
4386
4386
|
getResolvedTitleForRoute(snapshot) {
|
|
4387
4387
|
return snapshot.data[RouteTitleKey];
|
|
4388
4388
|
}
|
|
4389
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4390
|
-
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.1", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4390
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
|
|
4391
4391
|
}
|
|
4392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4393
4393
|
type: Injectable,
|
|
4394
4394
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4395
4395
|
}] });
|
|
@@ -4413,10 +4413,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4413
4413
|
this.title.setTitle(title);
|
|
4414
4414
|
}
|
|
4415
4415
|
}
|
|
4416
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4417
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4416
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4417
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
|
|
4418
4418
|
}
|
|
4419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4420
4420
|
type: Injectable,
|
|
4421
4421
|
args: [{ providedIn: 'root' }]
|
|
4422
4422
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4441,10 +4441,10 @@ const ROUTER_CONFIGURATION = new InjectionToken(typeof ngDevMode === 'undefined'
|
|
|
4441
4441
|
* to this `EmptyOutletComponent`.
|
|
4442
4442
|
*/
|
|
4443
4443
|
class ɵEmptyOutletComponent {
|
|
4444
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4445
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
4444
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4445
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.1", 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"] }] });
|
|
4446
4446
|
}
|
|
4447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
4448
4448
|
type: Component,
|
|
4449
4449
|
args: [{
|
|
4450
4450
|
template: `<router-outlet/>`,
|
|
@@ -4530,10 +4530,10 @@ class RouterConfigLoader {
|
|
|
4530
4530
|
this.childrenLoaders.set(route, loader);
|
|
4531
4531
|
return loader;
|
|
4532
4532
|
}
|
|
4533
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4534
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4533
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4534
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
|
|
4535
4535
|
}
|
|
4536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4537
4537
|
type: Injectable,
|
|
4538
4538
|
args: [{ providedIn: 'root' }]
|
|
4539
4539
|
}] });
|
|
@@ -4600,10 +4600,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4600
4600
|
* @publicApi
|
|
4601
4601
|
*/
|
|
4602
4602
|
class UrlHandlingStrategy {
|
|
4603
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4604
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4603
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4604
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
|
|
4605
4605
|
}
|
|
4606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4607
4607
|
type: Injectable,
|
|
4608
4608
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4609
4609
|
}] });
|
|
@@ -4620,10 +4620,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4620
4620
|
merge(newUrlPart, wholeUrl) {
|
|
4621
4621
|
return newUrlPart;
|
|
4622
4622
|
}
|
|
4623
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4624
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4623
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4624
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
|
|
4625
4625
|
}
|
|
4626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4627
4627
|
type: Injectable,
|
|
4628
4628
|
args: [{ providedIn: 'root' }]
|
|
4629
4629
|
}] });
|
|
@@ -5088,10 +5088,10 @@ class NavigationTransitions {
|
|
|
5088
5088
|
return (currentBrowserUrl.toString() !== targetBrowserUrl?.toString() &&
|
|
5089
5089
|
!this.currentNavigation?.extras.skipLocationChange);
|
|
5090
5090
|
}
|
|
5091
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5092
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5091
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5092
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
|
|
5093
5093
|
}
|
|
5094
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
5095
5095
|
type: Injectable,
|
|
5096
5096
|
args: [{ providedIn: 'root' }]
|
|
5097
5097
|
}], ctorParameters: () => [] });
|
|
@@ -5107,10 +5107,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
5107
5107
|
* @publicApi
|
|
5108
5108
|
*/
|
|
5109
5109
|
class RouteReuseStrategy {
|
|
5110
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5111
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5111
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
|
|
5112
5112
|
}
|
|
5113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
5114
5114
|
type: Injectable,
|
|
5115
5115
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
5116
5116
|
}] });
|
|
@@ -5161,19 +5161,19 @@ class BaseRouteReuseStrategy {
|
|
|
5161
5161
|
}
|
|
5162
5162
|
}
|
|
5163
5163
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
5164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5165
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5165
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
|
|
5166
5166
|
}
|
|
5167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
5168
5168
|
type: Injectable,
|
|
5169
5169
|
args: [{ providedIn: 'root' }]
|
|
5170
5170
|
}] });
|
|
5171
5171
|
|
|
5172
5172
|
class StateManager {
|
|
5173
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5174
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5173
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5174
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) });
|
|
5175
5175
|
}
|
|
5176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: StateManager, decorators: [{
|
|
5177
5177
|
type: Injectable,
|
|
5178
5178
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
5179
5179
|
}] });
|
|
@@ -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: "20.0.0-next.
|
|
5347
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5346
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5347
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: HistoryStateManager, providedIn: 'root' });
|
|
5348
5348
|
}
|
|
5349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5350
5350
|
type: Injectable,
|
|
5351
5351
|
args: [{ providedIn: 'root' }]
|
|
5352
5352
|
}] });
|
|
@@ -5911,10 +5911,10 @@ class Router {
|
|
|
5911
5911
|
return Promise.reject(e);
|
|
5912
5912
|
});
|
|
5913
5913
|
}
|
|
5914
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5915
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5914
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5915
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: Router, providedIn: 'root' });
|
|
5916
5916
|
}
|
|
5917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: Router, decorators: [{
|
|
5918
5918
|
type: Injectable,
|
|
5919
5919
|
args: [{ providedIn: 'root' }]
|
|
5920
5920
|
}], ctorParameters: () => [] });
|
|
@@ -6273,10 +6273,10 @@ class RouterLink {
|
|
|
6273
6273
|
preserveFragment: this.preserveFragment,
|
|
6274
6274
|
});
|
|
6275
6275
|
}
|
|
6276
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6277
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.
|
|
6276
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.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 });
|
|
6277
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.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 });
|
|
6278
6278
|
}
|
|
6279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterLink, decorators: [{
|
|
6280
6280
|
type: Directive,
|
|
6281
6281
|
args: [{
|
|
6282
6282
|
selector: '[routerLink]',
|
|
@@ -6529,10 +6529,10 @@ class RouterLinkActive {
|
|
|
6529
6529
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
6530
6530
|
return (this.link && isActiveCheckFn(this.link)) || this.links.some(isActiveCheckFn);
|
|
6531
6531
|
}
|
|
6532
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6533
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
6532
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.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 });
|
|
6533
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.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 });
|
|
6534
6534
|
}
|
|
6535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6536
6536
|
type: Directive,
|
|
6537
6537
|
args: [{
|
|
6538
6538
|
selector: '[routerLinkActive]',
|
|
@@ -6583,10 +6583,10 @@ class PreloadAllModules {
|
|
|
6583
6583
|
preload(route, fn) {
|
|
6584
6584
|
return fn().pipe(catchError(() => of(null)));
|
|
6585
6585
|
}
|
|
6586
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6587
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6587
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });
|
|
6588
6588
|
}
|
|
6589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6590
6590
|
type: Injectable,
|
|
6591
6591
|
args: [{ providedIn: 'root' }]
|
|
6592
6592
|
}] });
|
|
@@ -6603,10 +6603,10 @@ class NoPreloading {
|
|
|
6603
6603
|
preload(route, fn) {
|
|
6604
6604
|
return of(null);
|
|
6605
6605
|
}
|
|
6606
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6607
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6606
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6607
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: NoPreloading, providedIn: 'root' });
|
|
6608
6608
|
}
|
|
6609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6610
6610
|
type: Injectable,
|
|
6611
6611
|
args: [{ providedIn: 'root' }]
|
|
6612
6612
|
}] });
|
|
@@ -6702,10 +6702,10 @@ class RouterPreloader {
|
|
|
6702
6702
|
}
|
|
6703
6703
|
});
|
|
6704
6704
|
}
|
|
6705
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6706
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6705
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6706
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterPreloader, providedIn: 'root' });
|
|
6707
6707
|
}
|
|
6708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6709
6709
|
type: Injectable,
|
|
6710
6710
|
args: [{ providedIn: 'root' }]
|
|
6711
6711
|
}], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
|
|
@@ -6814,10 +6814,10 @@ class RouterScroller {
|
|
|
6814
6814
|
this.routerEventsSubscription?.unsubscribe();
|
|
6815
6815
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6816
6816
|
}
|
|
6817
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6818
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6817
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
6818
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterScroller });
|
|
6819
6819
|
}
|
|
6820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6821
6821
|
type: Injectable
|
|
6822
6822
|
}], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
|
|
6823
6823
|
|
|
@@ -7229,7 +7229,7 @@ function withRouterConfig(options) {
|
|
|
7229
7229
|
* ```
|
|
7230
7230
|
*
|
|
7231
7231
|
* @see {@link provideRouter}
|
|
7232
|
-
* @see {@link HashLocationStrategy}
|
|
7232
|
+
* @see {@link /api/common/HashLocationStrategy HashLocationStrategy}
|
|
7233
7233
|
*
|
|
7234
7234
|
* @returns A set of providers for use with `provideRouter`.
|
|
7235
7235
|
*
|
|
@@ -7267,7 +7267,7 @@ function withHashLocation() {
|
|
|
7267
7267
|
* ```
|
|
7268
7268
|
*
|
|
7269
7269
|
* @see {@link NavigationError}
|
|
7270
|
-
* @see {@link core/inject}
|
|
7270
|
+
* @see {@link /api/core/inject inject}
|
|
7271
7271
|
* @see {@link runInInjectionContext}
|
|
7272
7272
|
*
|
|
7273
7273
|
* @returns A set of providers for use with `provideRouter`.
|
|
@@ -7318,7 +7318,7 @@ function withNavigationErrorHandler(handler) {
|
|
|
7318
7318
|
* Default values can be provided with a resolver on the route to ensure the value is always present
|
|
7319
7319
|
* or an input and use an input transform in the component.
|
|
7320
7320
|
*
|
|
7321
|
-
* @see {@link guide/components/inputs#input-transforms
|
|
7321
|
+
* @see {@link /guide/components/inputs#input-transforms Input Transforms}
|
|
7322
7322
|
* @returns A set of providers for use with `provideRouter`.
|
|
7323
7323
|
*/
|
|
7324
7324
|
function withComponentInputBinding() {
|
|
@@ -7493,11 +7493,11 @@ class RouterModule {
|
|
|
7493
7493
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
7494
7494
|
};
|
|
7495
7495
|
}
|
|
7496
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
7497
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.
|
|
7498
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
7496
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7497
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] });
|
|
7498
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterModule });
|
|
7499
7499
|
}
|
|
7500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
7500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1", ngImport: i0, type: RouterModule, decorators: [{
|
|
7501
7501
|
type: NgModule,
|
|
7502
7502
|
args: [{
|
|
7503
7503
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7637,7 +7637,7 @@ function mapToResolve(provider) {
|
|
|
7637
7637
|
/**
|
|
7638
7638
|
* @publicApi
|
|
7639
7639
|
*/
|
|
7640
|
-
const VERSION = new Version('20.0.0-next.
|
|
7640
|
+
const VERSION = new Version('20.0.0-next.1');
|
|
7641
7641
|
|
|
7642
7642
|
function getLoadedRoutes(route) {
|
|
7643
7643
|
return route._loadedRoutes;
|