@angular/router 20.0.0-next.1 → 20.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/router.mjs +128 -159
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +17 -36
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +1 -14
- package/fesm2022/upgrade.mjs.map +1 -1
- package/index.d.ts +3639 -3835
- package/package.json +4 -4
- package/testing/index.d.ts +44 -49
- package/upgrade/index.d.ts +5 -8
package/fesm2022/router.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-next.
|
|
2
|
+
* @license Angular v20.0.0-next.2
|
|
3
3
|
* (c) 2010-2025 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,
|
|
8
|
+
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, Component, NgModuleFactory, Compiler, NgZone, afterNextRender, EnvironmentInjector, DestroyRef, ɵConsole as _Console, ɵPendingTasksInternal as _PendingTasksInternal, ɵINTERNAL_APPLICATION_ERROR_HANDLER as _INTERNAL_APPLICATION_ERROR_HANDLER, ɵɵsanitizeUrlOrResourceUrl as __sanitizeUrlOrResourceUrl, booleanAttribute, HostListener, HostBinding, Attribute, ContentChildren, Optional, makeEnvironmentProviders, APP_BOOTSTRAP_LISTENER, ENVIRONMENT_INITIALIZER, Injector, ApplicationRef, APP_INITIALIZER, SkipSelf, NgModule, Version } 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
|
-
import { DOCUMENT, Location,
|
|
11
|
+
import { DOCUMENT, Location, HashLocationStrategy, LocationStrategy, ViewportScroller, LOCATION_INITIALIZED, PathLocationStrategy } from '@angular/common';
|
|
12
12
|
import { map, switchMap, take, startWith, filter, mergeMap, first, concatMap, tap, catchError, scan, defaultIfEmpty, last as last$1, takeLast, finalize, refCount, takeUntil, mergeAll } from 'rxjs/operators';
|
|
13
13
|
import * as i1 from '@angular/platform-browser';
|
|
14
14
|
|
|
@@ -160,7 +160,7 @@ function wrapIntoObservable(value) {
|
|
|
160
160
|
if (isObservable(value)) {
|
|
161
161
|
return value;
|
|
162
162
|
}
|
|
163
|
-
if (
|
|
163
|
+
if (_isPromise(value)) {
|
|
164
164
|
// Use `Promise.resolve()` to wrap promise-like instances.
|
|
165
165
|
// Required ie when a Resolver returns a AngularJS `$q` promise to correctly trigger the
|
|
166
166
|
// change detection.
|
|
@@ -300,7 +300,7 @@ class UrlTree {
|
|
|
300
300
|
this.fragment = fragment;
|
|
301
301
|
if (typeof ngDevMode === 'undefined' || ngDevMode) {
|
|
302
302
|
if (root.segments.length > 0) {
|
|
303
|
-
throw new
|
|
303
|
+
throw new _RuntimeError(4015 /* RuntimeErrorCode.INVALID_ROOT_URL_SEGMENT */, 'The root `UrlSegmentGroup` should not contain `segments`. ' +
|
|
304
304
|
'Instead, these segments belong in the `children` so they can be associated with a named outlet.');
|
|
305
305
|
}
|
|
306
306
|
}
|
|
@@ -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.2", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
437
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", 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.2", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
440
440
|
type: Injectable,
|
|
441
441
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
442
442
|
}] });
|
|
@@ -654,7 +654,7 @@ class UrlParser {
|
|
|
654
654
|
parseSegment() {
|
|
655
655
|
const path = matchSegments(this.remaining);
|
|
656
656
|
if (path === '' && this.peekStartsWith(';')) {
|
|
657
|
-
throw new
|
|
657
|
+
throw new _RuntimeError(4009 /* RuntimeErrorCode.EMPTY_PATH_WITH_PARAMS */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
658
658
|
`Empty path url segment cannot have parameters: '${this.remaining}'.`);
|
|
659
659
|
}
|
|
660
660
|
this.capture(path);
|
|
@@ -724,7 +724,7 @@ class UrlParser {
|
|
|
724
724
|
// if is is not one of these characters, then the segment was unescaped
|
|
725
725
|
// or the group was not closed
|
|
726
726
|
if (next !== '/' && next !== ')' && next !== ';') {
|
|
727
|
-
throw new
|
|
727
|
+
throw new _RuntimeError(4010 /* RuntimeErrorCode.UNPARSABLE_URL */, (typeof ngDevMode === 'undefined' || ngDevMode) && `Cannot parse url '${this.url}'`);
|
|
728
728
|
}
|
|
729
729
|
let outletName = undefined;
|
|
730
730
|
if (path.indexOf(':') > -1) {
|
|
@@ -757,7 +757,7 @@ class UrlParser {
|
|
|
757
757
|
}
|
|
758
758
|
capture(str) {
|
|
759
759
|
if (!this.consumeOptional(str)) {
|
|
760
|
-
throw new
|
|
760
|
+
throw new _RuntimeError(4011 /* RuntimeErrorCode.UNEXPECTED_VALUE_IN_URL */, (typeof ngDevMode === 'undefined' || ngDevMode) && `Expected "${str}".`);
|
|
761
761
|
}
|
|
762
762
|
}
|
|
763
763
|
}
|
|
@@ -963,12 +963,12 @@ class Navigation {
|
|
|
963
963
|
this.numberOfDoubleDots = numberOfDoubleDots;
|
|
964
964
|
this.commands = commands;
|
|
965
965
|
if (isAbsolute && commands.length > 0 && isMatrixParams(commands[0])) {
|
|
966
|
-
throw new
|
|
966
|
+
throw new _RuntimeError(4003 /* RuntimeErrorCode.ROOT_SEGMENT_MATRIX_PARAMS */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
967
967
|
'Root segment cannot have matrix parameters');
|
|
968
968
|
}
|
|
969
969
|
const cmdWithOutlet = commands.find(isCommandWithOutlets);
|
|
970
970
|
if (cmdWithOutlet && cmdWithOutlet !== last(commands)) {
|
|
971
|
-
throw new
|
|
971
|
+
throw new _RuntimeError(4004 /* RuntimeErrorCode.MISPLACED_OUTLETS_COMMAND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
972
972
|
'{outlets:{}} has to be the last command');
|
|
973
973
|
}
|
|
974
974
|
}
|
|
@@ -1001,9 +1001,7 @@ function computeNavigation(commands) {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
if (cmdIdx === 0) {
|
|
1003
1003
|
cmd.split('/').forEach((urlPart, partIndex) => {
|
|
1004
|
-
if (partIndex == 0 && urlPart === '.')
|
|
1005
|
-
// skip './a'
|
|
1006
|
-
}
|
|
1004
|
+
if (partIndex == 0 && urlPart === '.') ;
|
|
1007
1005
|
else if (partIndex == 0 && urlPart === '') {
|
|
1008
1006
|
// '/a'
|
|
1009
1007
|
isAbsolute = true;
|
|
@@ -1058,7 +1056,7 @@ function createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {
|
|
|
1058
1056
|
dd -= ci;
|
|
1059
1057
|
g = g.parent;
|
|
1060
1058
|
if (!g) {
|
|
1061
|
-
throw new
|
|
1059
|
+
throw new _RuntimeError(4005 /* RuntimeErrorCode.INVALID_DOUBLE_DOTS */, (typeof ngDevMode === 'undefined' || ngDevMode) && "Invalid number of '../'");
|
|
1062
1060
|
}
|
|
1063
1061
|
ci = g.segments.length;
|
|
1064
1062
|
}
|
|
@@ -1882,18 +1880,6 @@ function getOrCreateRouteInjectorIfNeeded(route, currentInjector) {
|
|
|
1882
1880
|
}
|
|
1883
1881
|
return route._injector ?? currentInjector;
|
|
1884
1882
|
}
|
|
1885
|
-
function getLoadedRoutes$1(route) {
|
|
1886
|
-
return route._loadedRoutes;
|
|
1887
|
-
}
|
|
1888
|
-
function getLoadedInjector(route) {
|
|
1889
|
-
return route._loadedInjector;
|
|
1890
|
-
}
|
|
1891
|
-
function getLoadedComponent(route) {
|
|
1892
|
-
return route._loadedComponent;
|
|
1893
|
-
}
|
|
1894
|
-
function getProvidersInjector(route) {
|
|
1895
|
-
return route._injector;
|
|
1896
|
-
}
|
|
1897
1883
|
function validateConfig(config, parentPath = '', requireStandaloneComponents = false) {
|
|
1898
1884
|
// forEach doesn't iterate undefined values
|
|
1899
1885
|
for (let i = 0; i < config.length; i++) {
|
|
@@ -1903,18 +1889,18 @@ function validateConfig(config, parentPath = '', requireStandaloneComponents = f
|
|
|
1903
1889
|
}
|
|
1904
1890
|
}
|
|
1905
1891
|
function assertStandalone(fullPath, component) {
|
|
1906
|
-
if (component &&
|
|
1907
|
-
throw new
|
|
1892
|
+
if (component && _isNgModule(component)) {
|
|
1893
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}'. You are using 'loadComponent' with a module, ` +
|
|
1908
1894
|
`but it must be used with standalone components. Use 'loadChildren' instead.`);
|
|
1909
1895
|
}
|
|
1910
1896
|
else if (component && !isStandalone(component)) {
|
|
1911
|
-
throw new
|
|
1897
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}'. The component must be standalone.`);
|
|
1912
1898
|
}
|
|
1913
1899
|
}
|
|
1914
1900
|
function validateNode(route, fullPath, requireStandaloneComponents) {
|
|
1915
1901
|
if (typeof ngDevMode === 'undefined' || ngDevMode) {
|
|
1916
1902
|
if (!route) {
|
|
1917
|
-
throw new
|
|
1903
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `
|
|
1918
1904
|
Invalid configuration of route '${fullPath}': Encountered undefined route.
|
|
1919
1905
|
The reason might be an extra comma.
|
|
1920
1906
|
|
|
@@ -1927,7 +1913,7 @@ function validateNode(route, fullPath, requireStandaloneComponents) {
|
|
|
1927
1913
|
`);
|
|
1928
1914
|
}
|
|
1929
1915
|
if (Array.isArray(route)) {
|
|
1930
|
-
throw new
|
|
1916
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': Array cannot be specified`);
|
|
1931
1917
|
}
|
|
1932
1918
|
if (!route.redirectTo &&
|
|
1933
1919
|
!route.component &&
|
|
@@ -1936,46 +1922,46 @@ function validateNode(route, fullPath, requireStandaloneComponents) {
|
|
|
1936
1922
|
!route.loadChildren &&
|
|
1937
1923
|
route.outlet &&
|
|
1938
1924
|
route.outlet !== PRIMARY_OUTLET) {
|
|
1939
|
-
throw new
|
|
1925
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': a componentless route without children or loadChildren cannot have a named outlet set`);
|
|
1940
1926
|
}
|
|
1941
1927
|
if (route.redirectTo && route.children) {
|
|
1942
|
-
throw new
|
|
1928
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and children cannot be used together`);
|
|
1943
1929
|
}
|
|
1944
1930
|
if (route.redirectTo && route.loadChildren) {
|
|
1945
|
-
throw new
|
|
1931
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and loadChildren cannot be used together`);
|
|
1946
1932
|
}
|
|
1947
1933
|
if (route.children && route.loadChildren) {
|
|
1948
|
-
throw new
|
|
1934
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': children and loadChildren cannot be used together`);
|
|
1949
1935
|
}
|
|
1950
1936
|
if (route.redirectTo && (route.component || route.loadComponent)) {
|
|
1951
|
-
throw new
|
|
1937
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and component/loadComponent cannot be used together`);
|
|
1952
1938
|
}
|
|
1953
1939
|
if (route.component && route.loadComponent) {
|
|
1954
|
-
throw new
|
|
1940
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': component and loadComponent cannot be used together`);
|
|
1955
1941
|
}
|
|
1956
1942
|
if (route.redirectTo && route.canActivate) {
|
|
1957
|
-
throw new
|
|
1943
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': redirectTo and canActivate cannot be used together. Redirects happen before activation ` +
|
|
1958
1944
|
`so canActivate will never be executed.`);
|
|
1959
1945
|
}
|
|
1960
1946
|
if (route.path && route.matcher) {
|
|
1961
|
-
throw new
|
|
1947
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': path and matcher cannot be used together`);
|
|
1962
1948
|
}
|
|
1963
1949
|
if (route.redirectTo === void 0 &&
|
|
1964
1950
|
!route.component &&
|
|
1965
1951
|
!route.loadComponent &&
|
|
1966
1952
|
!route.children &&
|
|
1967
1953
|
!route.loadChildren) {
|
|
1968
|
-
throw new
|
|
1954
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}'. One of the following must be provided: component, loadComponent, redirectTo, children or loadChildren`);
|
|
1969
1955
|
}
|
|
1970
1956
|
if (route.path === void 0 && route.matcher === void 0) {
|
|
1971
|
-
throw new
|
|
1957
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': routes must have either a path or a matcher specified`);
|
|
1972
1958
|
}
|
|
1973
1959
|
if (typeof route.path === 'string' && route.path.charAt(0) === '/') {
|
|
1974
|
-
throw new
|
|
1960
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '${fullPath}': path cannot start with a slash`);
|
|
1975
1961
|
}
|
|
1976
1962
|
if (route.path === '' && route.redirectTo !== void 0 && route.pathMatch === void 0) {
|
|
1977
1963
|
const exp = `The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`;
|
|
1978
|
-
throw new
|
|
1964
|
+
throw new _RuntimeError(4014 /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */, `Invalid configuration of route '{path: "${fullPath}", redirectTo: "${route.redirectTo}"}': please provide 'pathMatch'. ${exp}`);
|
|
1979
1965
|
}
|
|
1980
1966
|
if (requireStandaloneComponents) {
|
|
1981
1967
|
assertStandalone(fullPath, route.component);
|
|
@@ -2123,10 +2109,10 @@ class ChildrenOutletContexts {
|
|
|
2123
2109
|
getContext(childName) {
|
|
2124
2110
|
return this.contexts.get(childName) || null;
|
|
2125
2111
|
}
|
|
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.
|
|
2112
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: ChildrenOutletContexts, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2113
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
|
|
2128
2114
|
}
|
|
2129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
2130
2116
|
type: Injectable,
|
|
2131
2117
|
args: [{ providedIn: 'root' }]
|
|
2132
2118
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
@@ -2845,12 +2831,12 @@ class RouterOutlet {
|
|
|
2845
2831
|
*/
|
|
2846
2832
|
get component() {
|
|
2847
2833
|
if (!this.activated)
|
|
2848
|
-
throw new
|
|
2834
|
+
throw new _RuntimeError(4012 /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Outlet is not activated');
|
|
2849
2835
|
return this.activated.instance;
|
|
2850
2836
|
}
|
|
2851
2837
|
get activatedRoute() {
|
|
2852
2838
|
if (!this.activated)
|
|
2853
|
-
throw new
|
|
2839
|
+
throw new _RuntimeError(4012 /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Outlet is not activated');
|
|
2854
2840
|
return this._activatedRoute;
|
|
2855
2841
|
}
|
|
2856
2842
|
get activatedRouteData() {
|
|
@@ -2864,7 +2850,7 @@ class RouterOutlet {
|
|
|
2864
2850
|
*/
|
|
2865
2851
|
detach() {
|
|
2866
2852
|
if (!this.activated)
|
|
2867
|
-
throw new
|
|
2853
|
+
throw new _RuntimeError(4012 /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Outlet is not activated');
|
|
2868
2854
|
this.location.detach();
|
|
2869
2855
|
const cmp = this.activated;
|
|
2870
2856
|
this.activated = null;
|
|
@@ -2893,7 +2879,7 @@ class RouterOutlet {
|
|
|
2893
2879
|
}
|
|
2894
2880
|
activateWith(activatedRoute, environmentInjector) {
|
|
2895
2881
|
if (this.isActivated) {
|
|
2896
|
-
throw new
|
|
2882
|
+
throw new _RuntimeError(4013 /* RuntimeErrorCode.OUTLET_ALREADY_ACTIVATED */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
2897
2883
|
'Cannot activate an already activated outlet');
|
|
2898
2884
|
}
|
|
2899
2885
|
this._activatedRoute = activatedRoute;
|
|
@@ -2913,10 +2899,10 @@ class RouterOutlet {
|
|
|
2913
2899
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2914
2900
|
this.activateEvents.emit(this.activated.instance);
|
|
2915
2901
|
}
|
|
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.
|
|
2902
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2903
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.0-next.2", type: RouterOutlet, isStandalone: true, selector: "router-outlet", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: false, isRequired: false, transformFunction: null }, routerOutletData: { classPropertyName: "routerOutletData", publicName: "routerOutletData", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activateEvents: "activate", deactivateEvents: "deactivate", attachEvents: "attach", detachEvents: "detach" }, exportAs: ["outlet"], usesOnChanges: true, ngImport: i0 });
|
|
2918
2904
|
}
|
|
2919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
2905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2920
2906
|
type: Directive,
|
|
2921
2907
|
args: [{
|
|
2922
2908
|
selector: 'router-outlet',
|
|
@@ -3044,10 +3030,10 @@ class RoutedComponentInputBinder {
|
|
|
3044
3030
|
});
|
|
3045
3031
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
3046
3032
|
}
|
|
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.
|
|
3033
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3034
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RoutedComponentInputBinder });
|
|
3049
3035
|
}
|
|
3050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
3036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
3051
3037
|
type: Injectable
|
|
3052
3038
|
}] });
|
|
3053
3039
|
|
|
@@ -3372,7 +3358,7 @@ function getTokenOrFunctionIdentity(tokenOrFunction, injector) {
|
|
|
3372
3358
|
const NOT_FOUND = Symbol();
|
|
3373
3359
|
const result = injector.get(tokenOrFunction, NOT_FOUND);
|
|
3374
3360
|
if (result === NOT_FOUND) {
|
|
3375
|
-
if (typeof tokenOrFunction === 'function' &&
|
|
3361
|
+
if (typeof tokenOrFunction === 'function' && !_isInjectable(tokenOrFunction)) {
|
|
3376
3362
|
// We think the token is just a function so return it as-is
|
|
3377
3363
|
return tokenOrFunction;
|
|
3378
3364
|
}
|
|
@@ -3710,11 +3696,8 @@ class AbsoluteRedirect extends Error {
|
|
|
3710
3696
|
function noMatch$1(segmentGroup) {
|
|
3711
3697
|
return throwError(new NoMatch(segmentGroup));
|
|
3712
3698
|
}
|
|
3713
|
-
function absoluteRedirect(newTree) {
|
|
3714
|
-
return throwError(new AbsoluteRedirect(newTree));
|
|
3715
|
-
}
|
|
3716
3699
|
function namedOutletsRedirect(redirectTo) {
|
|
3717
|
-
return throwError(new
|
|
3700
|
+
return throwError(new _RuntimeError(4000 /* RuntimeErrorCode.NAMED_OUTLET_REDIRECT */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
3718
3701
|
`Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`));
|
|
3719
3702
|
}
|
|
3720
3703
|
function canLoadFails(route) {
|
|
@@ -3792,7 +3775,7 @@ class ApplyRedirects {
|
|
|
3792
3775
|
findPosParam(redirectTo, redirectToUrlSegment, posParams) {
|
|
3793
3776
|
const pos = posParams[redirectToUrlSegment.path.substring(1)];
|
|
3794
3777
|
if (!pos)
|
|
3795
|
-
throw new
|
|
3778
|
+
throw new _RuntimeError(4001 /* RuntimeErrorCode.MISSING_REDIRECT */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
3796
3779
|
`Cannot redirect to '${redirectTo}'. Cannot find '${redirectToUrlSegment.path}'.`);
|
|
3797
3780
|
return pos;
|
|
3798
3781
|
}
|
|
@@ -3955,7 +3938,7 @@ class Recognizer {
|
|
|
3955
3938
|
this.applyRedirects = new ApplyRedirects(this.urlSerializer, this.urlTree);
|
|
3956
3939
|
}
|
|
3957
3940
|
noMatchError(e) {
|
|
3958
|
-
return new
|
|
3941
|
+
return new _RuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, typeof ngDevMode === 'undefined' || ngDevMode
|
|
3959
3942
|
? `Cannot match any routes. URL Segment: '${e.segmentGroup}'`
|
|
3960
3943
|
: `'${e.segmentGroup}'`);
|
|
3961
3944
|
}
|
|
@@ -4094,7 +4077,7 @@ class Recognizer {
|
|
|
4094
4077
|
this.absoluteRedirectCount++;
|
|
4095
4078
|
if (this.absoluteRedirectCount > MAX_ALLOWED_REDIRECTS) {
|
|
4096
4079
|
if (ngDevMode) {
|
|
4097
|
-
throw new
|
|
4080
|
+
throw new _RuntimeError(4016 /* RuntimeErrorCode.INFINITE_REDIRECT */, `Detected possible infinite redirect when redirecting from '${this.urlTree}' to '${route.redirectTo}'.\n` +
|
|
4098
4081
|
`This is currently a dev mode only error but will become a` +
|
|
4099
4082
|
` call stack size exceeded error in production in a future major version.`);
|
|
4100
4083
|
}
|
|
@@ -4232,7 +4215,7 @@ function checkOutletNameUniqueness(nodes) {
|
|
|
4232
4215
|
if (routeWithSameOutletName) {
|
|
4233
4216
|
const p = routeWithSameOutletName.url.map((s) => s.toString()).join('/');
|
|
4234
4217
|
const c = n.value.url.map((s) => s.toString()).join('/');
|
|
4235
|
-
throw new
|
|
4218
|
+
throw new _RuntimeError(4006 /* RuntimeErrorCode.TWO_SEGMENTS_WITH_SAME_OUTLET */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
4236
4219
|
`Two segments cannot have the same outlet name: '${p}' and '${c}'.`);
|
|
4237
4220
|
}
|
|
4238
4221
|
names[n.value.outlet] = n.value;
|
|
@@ -4386,10 +4369,10 @@ class TitleStrategy {
|
|
|
4386
4369
|
getResolvedTitleForRoute(snapshot) {
|
|
4387
4370
|
return snapshot.data[RouteTitleKey];
|
|
4388
4371
|
}
|
|
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.
|
|
4372
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4373
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
|
|
4391
4374
|
}
|
|
4392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4393
4376
|
type: Injectable,
|
|
4394
4377
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4395
4378
|
}] });
|
|
@@ -4413,10 +4396,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4413
4396
|
this.title.setTitle(title);
|
|
4414
4397
|
}
|
|
4415
4398
|
}
|
|
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.
|
|
4399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4400
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
|
|
4418
4401
|
}
|
|
4419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4420
4403
|
type: Injectable,
|
|
4421
4404
|
args: [{ providedIn: 'root' }]
|
|
4422
4405
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4441,10 +4424,10 @@ const ROUTER_CONFIGURATION = new InjectionToken(typeof ngDevMode === 'undefined'
|
|
|
4441
4424
|
* to this `EmptyOutletComponent`.
|
|
4442
4425
|
*/
|
|
4443
4426
|
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.
|
|
4427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4428
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.2", 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
4429
|
}
|
|
4447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
4448
4431
|
type: Component,
|
|
4449
4432
|
args: [{
|
|
4450
4433
|
template: `<router-outlet/>`,
|
|
@@ -4530,10 +4513,10 @@ class RouterConfigLoader {
|
|
|
4530
4513
|
this.childrenLoaders.set(route, loader);
|
|
4531
4514
|
return loader;
|
|
4532
4515
|
}
|
|
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.
|
|
4516
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4517
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
|
|
4535
4518
|
}
|
|
4536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4537
4520
|
type: Injectable,
|
|
4538
4521
|
args: [{ providedIn: 'root' }]
|
|
4539
4522
|
}] });
|
|
@@ -4600,10 +4583,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4600
4583
|
* @publicApi
|
|
4601
4584
|
*/
|
|
4602
4585
|
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.
|
|
4586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4587
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
|
|
4605
4588
|
}
|
|
4606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4607
4590
|
type: Injectable,
|
|
4608
4591
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4609
4592
|
}] });
|
|
@@ -4620,10 +4603,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4620
4603
|
merge(newUrlPart, wholeUrl) {
|
|
4621
4604
|
return newUrlPart;
|
|
4622
4605
|
}
|
|
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.
|
|
4606
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4607
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
|
|
4625
4608
|
}
|
|
4626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
4609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4627
4610
|
type: Injectable,
|
|
4628
4611
|
args: [{ providedIn: 'root' }]
|
|
4629
4612
|
}] });
|
|
@@ -5088,10 +5071,10 @@ class NavigationTransitions {
|
|
|
5088
5071
|
return (currentBrowserUrl.toString() !== targetBrowserUrl?.toString() &&
|
|
5089
5072
|
!this.currentNavigation?.extras.skipLocationChange);
|
|
5090
5073
|
}
|
|
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.
|
|
5074
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5075
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
|
|
5093
5076
|
}
|
|
5094
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
5095
5078
|
type: Injectable,
|
|
5096
5079
|
args: [{ providedIn: 'root' }]
|
|
5097
5080
|
}], ctorParameters: () => [] });
|
|
@@ -5107,10 +5090,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
5107
5090
|
* @publicApi
|
|
5108
5091
|
*/
|
|
5109
5092
|
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.
|
|
5093
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5094
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
|
|
5112
5095
|
}
|
|
5113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
5114
5097
|
type: Injectable,
|
|
5115
5098
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
5116
5099
|
}] });
|
|
@@ -5161,19 +5144,19 @@ class BaseRouteReuseStrategy {
|
|
|
5161
5144
|
}
|
|
5162
5145
|
}
|
|
5163
5146
|
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.
|
|
5147
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5148
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
|
|
5166
5149
|
}
|
|
5167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
5168
5151
|
type: Injectable,
|
|
5169
5152
|
args: [{ providedIn: 'root' }]
|
|
5170
5153
|
}] });
|
|
5171
5154
|
|
|
5172
5155
|
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.
|
|
5156
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5157
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) });
|
|
5175
5158
|
}
|
|
5176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: StateManager, decorators: [{
|
|
5177
5160
|
type: Injectable,
|
|
5178
5161
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
5179
5162
|
}] });
|
|
@@ -5308,10 +5291,7 @@ class HistoryStateManager extends StateManager {
|
|
|
5308
5291
|
this.resetState(navigation);
|
|
5309
5292
|
this.resetUrlToCurrentUrlTree();
|
|
5310
5293
|
}
|
|
5311
|
-
else
|
|
5312
|
-
// The browser URL and router state was not updated before the navigation cancelled so
|
|
5313
|
-
// there's no restoration needed.
|
|
5314
|
-
}
|
|
5294
|
+
else ;
|
|
5315
5295
|
}
|
|
5316
5296
|
else if (this.canceledNavigationResolution === 'replace') {
|
|
5317
5297
|
// TODO(atscott): It seems like we should _always_ reset the state here. It would be a no-op
|
|
@@ -5343,10 +5323,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5343
5323
|
}
|
|
5344
5324
|
return { navigationId };
|
|
5345
5325
|
}
|
|
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.
|
|
5326
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5327
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: HistoryStateManager, providedIn: 'root' });
|
|
5348
5328
|
}
|
|
5349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5350
5330
|
type: Injectable,
|
|
5351
5331
|
args: [{ providedIn: 'root' }]
|
|
5352
5332
|
}] });
|
|
@@ -5423,15 +5403,16 @@ class Router {
|
|
|
5423
5403
|
}
|
|
5424
5404
|
disposed = false;
|
|
5425
5405
|
nonRouterCurrentEntryChangeSubscription;
|
|
5426
|
-
console = inject(
|
|
5406
|
+
console = inject(_Console);
|
|
5427
5407
|
stateManager = inject(StateManager);
|
|
5428
5408
|
options = inject(ROUTER_CONFIGURATION, { optional: true }) || {};
|
|
5429
|
-
pendingTasks = inject(
|
|
5409
|
+
pendingTasks = inject(_PendingTasksInternal);
|
|
5430
5410
|
urlUpdateStrategy = this.options.urlUpdateStrategy || 'deferred';
|
|
5431
5411
|
navigationTransitions = inject(NavigationTransitions);
|
|
5432
5412
|
urlSerializer = inject(UrlSerializer);
|
|
5433
5413
|
location = inject(Location);
|
|
5434
5414
|
urlHandlingStrategy = inject(UrlHandlingStrategy);
|
|
5415
|
+
injector = inject(EnvironmentInjector);
|
|
5435
5416
|
/**
|
|
5436
5417
|
* The private `Subject` type for the public events exposed in the getter. This is used internally
|
|
5437
5418
|
* to push events to. The separate field allows us to expose separate types in the public API
|
|
@@ -5613,7 +5594,9 @@ class Router {
|
|
|
5613
5594
|
}
|
|
5614
5595
|
}
|
|
5615
5596
|
const urlTree = this.parseUrl(url);
|
|
5616
|
-
this.scheduleNavigation(urlTree, source, restoredState, extras)
|
|
5597
|
+
this.scheduleNavigation(urlTree, source, restoredState, extras).catch((e) => {
|
|
5598
|
+
this.injector.get(_INTERNAL_APPLICATION_ERROR_HANDLER)(e);
|
|
5599
|
+
});
|
|
5617
5600
|
}
|
|
5618
5601
|
/** The current URL. */
|
|
5619
5602
|
get url() {
|
|
@@ -5911,10 +5894,10 @@ class Router {
|
|
|
5911
5894
|
return Promise.reject(e);
|
|
5912
5895
|
});
|
|
5913
5896
|
}
|
|
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.
|
|
5897
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5898
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: Router, providedIn: 'root' });
|
|
5916
5899
|
}
|
|
5917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
5900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: Router, decorators: [{
|
|
5918
5901
|
type: Injectable,
|
|
5919
5902
|
args: [{ providedIn: 'root' }]
|
|
5920
5903
|
}], ctorParameters: () => [] });
|
|
@@ -5922,7 +5905,7 @@ function validateCommands(commands) {
|
|
|
5922
5905
|
for (let i = 0; i < commands.length; i++) {
|
|
5923
5906
|
const cmd = commands[i];
|
|
5924
5907
|
if (cmd == null) {
|
|
5925
|
-
throw new
|
|
5908
|
+
throw new _RuntimeError(4008 /* RuntimeErrorCode.NULLISH_COMMAND */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
5926
5909
|
`The requested path contains ${cmd} segment at index ${i}`);
|
|
5927
5910
|
}
|
|
5928
5911
|
}
|
|
@@ -6098,6 +6081,7 @@ class RouterLink {
|
|
|
6098
6081
|
subscription;
|
|
6099
6082
|
/** @internal */
|
|
6100
6083
|
onChanges = new Subject();
|
|
6084
|
+
applicationErrorHandler = inject(_INTERNAL_APPLICATION_ERROR_HANDLER);
|
|
6101
6085
|
constructor(router, route, tabIndexAttribute, renderer, el, locationStrategy) {
|
|
6102
6086
|
this.router = router;
|
|
6103
6087
|
this.route = route;
|
|
@@ -6159,7 +6143,7 @@ class RouterLink {
|
|
|
6159
6143
|
this.queryParamsHandling ||
|
|
6160
6144
|
this.preserveFragment ||
|
|
6161
6145
|
this.relativeTo)) {
|
|
6162
|
-
throw new
|
|
6146
|
+
throw new _RuntimeError(4016 /* RuntimeErrorCode.INVALID_ROUTER_LINK_INPUTS */, 'Cannot configure queryParams or fragment when using a UrlTree as the routerLink input value.');
|
|
6163
6147
|
}
|
|
6164
6148
|
if (this.isAnchorElement) {
|
|
6165
6149
|
this.updateHref();
|
|
@@ -6215,7 +6199,10 @@ class RouterLink {
|
|
|
6215
6199
|
state: this.state,
|
|
6216
6200
|
info: this.info,
|
|
6217
6201
|
};
|
|
6218
|
-
|
|
6202
|
+
// navigateByUrl is mocked frequently in tests... Reduce breakages when adding `catch`
|
|
6203
|
+
this.router.navigateByUrl(urlTree, extras)?.catch((e) => {
|
|
6204
|
+
this.applicationErrorHandler(e);
|
|
6205
|
+
});
|
|
6219
6206
|
// Return `false` for `<a>` elements to prevent default action
|
|
6220
6207
|
// and cancel the native behavior, since the navigation is handled
|
|
6221
6208
|
// by the Router.
|
|
@@ -6243,7 +6230,7 @@ class RouterLink {
|
|
|
6243
6230
|
// Note: we should investigate whether we can switch to using `@HostBinding('attr.href')`
|
|
6244
6231
|
// instead of applying a value via a renderer, after a final merge of the
|
|
6245
6232
|
// `RouterLinkWithHref` directive.
|
|
6246
|
-
|
|
6233
|
+
__sanitizeUrlOrResourceUrl(this.href, this.el.nativeElement.tagName.toLowerCase(), 'href');
|
|
6247
6234
|
this.applyAttributeValue('href', sanitizedValue);
|
|
6248
6235
|
}
|
|
6249
6236
|
applyAttributeValue(attrName, attrValue) {
|
|
@@ -6273,10 +6260,10 @@ class RouterLink {
|
|
|
6273
6260
|
preserveFragment: this.preserveFragment,
|
|
6274
6261
|
});
|
|
6275
6262
|
}
|
|
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.
|
|
6263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterLink, deps: [{ token: Router }, { token: ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6264
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.2", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", info: "info", relativeTo: "relativeTo", preserveFragment: ["preserveFragment", "preserveFragment", booleanAttribute], skipLocationChange: ["skipLocationChange", "skipLocationChange", booleanAttribute], replaceUrl: ["replaceUrl", "replaceUrl", booleanAttribute], routerLink: "routerLink" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" }, properties: { "attr.target": "this.target" } }, usesOnChanges: true, ngImport: i0 });
|
|
6278
6265
|
}
|
|
6279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterLink, decorators: [{
|
|
6280
6267
|
type: Directive,
|
|
6281
6268
|
args: [{
|
|
6282
6269
|
selector: '[routerLink]',
|
|
@@ -6529,10 +6516,10 @@ class RouterLinkActive {
|
|
|
6529
6516
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
6530
6517
|
return (this.link && isActiveCheckFn(this.link)) || this.links.some(isActiveCheckFn);
|
|
6531
6518
|
}
|
|
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.
|
|
6519
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6520
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.2", type: RouterLinkActive, isStandalone: true, selector: "[routerLinkActive]", inputs: { routerLinkActiveOptions: "routerLinkActiveOptions", ariaCurrentWhenActive: "ariaCurrentWhenActive", routerLinkActive: "routerLinkActive" }, outputs: { isActiveChange: "isActiveChange" }, queries: [{ propertyName: "links", predicate: RouterLink, descendants: true }], exportAs: ["routerLinkActive"], usesOnChanges: true, ngImport: i0 });
|
|
6534
6521
|
}
|
|
6535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6536
6523
|
type: Directive,
|
|
6537
6524
|
args: [{
|
|
6538
6525
|
selector: '[routerLinkActive]',
|
|
@@ -6583,10 +6570,10 @@ class PreloadAllModules {
|
|
|
6583
6570
|
preload(route, fn) {
|
|
6584
6571
|
return fn().pipe(catchError(() => of(null)));
|
|
6585
6572
|
}
|
|
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.
|
|
6573
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6574
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });
|
|
6588
6575
|
}
|
|
6589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6590
6577
|
type: Injectable,
|
|
6591
6578
|
args: [{ providedIn: 'root' }]
|
|
6592
6579
|
}] });
|
|
@@ -6603,10 +6590,10 @@ class NoPreloading {
|
|
|
6603
6590
|
preload(route, fn) {
|
|
6604
6591
|
return of(null);
|
|
6605
6592
|
}
|
|
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.
|
|
6593
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6594
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: NoPreloading, providedIn: 'root' });
|
|
6608
6595
|
}
|
|
6609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6610
6597
|
type: Injectable,
|
|
6611
6598
|
args: [{ providedIn: 'root' }]
|
|
6612
6599
|
}] });
|
|
@@ -6702,10 +6689,10 @@ class RouterPreloader {
|
|
|
6702
6689
|
}
|
|
6703
6690
|
});
|
|
6704
6691
|
}
|
|
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.
|
|
6692
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6693
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterPreloader, providedIn: 'root' });
|
|
6707
6694
|
}
|
|
6708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6695
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6709
6696
|
type: Injectable,
|
|
6710
6697
|
args: [{ providedIn: 'root' }]
|
|
6711
6698
|
}], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
|
|
@@ -6814,10 +6801,10 @@ class RouterScroller {
|
|
|
6814
6801
|
this.routerEventsSubscription?.unsubscribe();
|
|
6815
6802
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6816
6803
|
}
|
|
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.
|
|
6804
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
6805
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterScroller });
|
|
6819
6806
|
}
|
|
6820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
6807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6821
6808
|
type: Injectable
|
|
6822
6809
|
}], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
|
|
6823
6810
|
|
|
@@ -6972,8 +6959,8 @@ function getBootstrapListener() {
|
|
|
6972
6959
|
if (injector.get(INITIAL_NAVIGATION) === 1 /* InitialNavigation.EnabledNonBlocking */) {
|
|
6973
6960
|
router.initialNavigation();
|
|
6974
6961
|
}
|
|
6975
|
-
injector.get(ROUTER_PRELOADER, null,
|
|
6976
|
-
injector.get(ROUTER_SCROLLER, null,
|
|
6962
|
+
injector.get(ROUTER_PRELOADER, null, { optional: true })?.setUpPreloading();
|
|
6963
|
+
injector.get(ROUTER_SCROLLER, null, { optional: true })?.init();
|
|
6977
6964
|
router.resetRootComponentType(ref.componentTypes[0]);
|
|
6978
6965
|
if (!bootstrapDone.closed) {
|
|
6979
6966
|
bootstrapDone.next();
|
|
@@ -7493,11 +7480,11 @@ class RouterModule {
|
|
|
7493
7480
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
7494
7481
|
};
|
|
7495
7482
|
}
|
|
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.
|
|
7483
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7484
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] });
|
|
7485
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterModule });
|
|
7499
7486
|
}
|
|
7500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
7487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2", ngImport: i0, type: RouterModule, decorators: [{
|
|
7501
7488
|
type: NgModule,
|
|
7502
7489
|
args: [{
|
|
7503
7490
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7536,7 +7523,7 @@ function providePathLocationStrategy() {
|
|
|
7536
7523
|
}
|
|
7537
7524
|
function provideForRootGuard(router) {
|
|
7538
7525
|
if (router) {
|
|
7539
|
-
throw new
|
|
7526
|
+
throw new _RuntimeError(4007 /* RuntimeErrorCode.FOR_ROOT_CALLED_TWICE */, `The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector.` +
|
|
7540
7527
|
` Lazy loaded modules should use RouterModule.forChild() instead.`);
|
|
7541
7528
|
}
|
|
7542
7529
|
return 'guarded';
|
|
@@ -7637,25 +7624,7 @@ function mapToResolve(provider) {
|
|
|
7637
7624
|
/**
|
|
7638
7625
|
* @publicApi
|
|
7639
7626
|
*/
|
|
7640
|
-
const VERSION = new Version('20.0.0-next.
|
|
7641
|
-
|
|
7642
|
-
function getLoadedRoutes(route) {
|
|
7643
|
-
return route._loadedRoutes;
|
|
7644
|
-
}
|
|
7645
|
-
ɵpublishExternalGlobalUtil('ɵgetLoadedRoutes', getLoadedRoutes);
|
|
7646
|
-
|
|
7647
|
-
/**
|
|
7648
|
-
* @module
|
|
7649
|
-
* @description
|
|
7650
|
-
* Entry point for all public APIs of this package.
|
|
7651
|
-
*/
|
|
7652
|
-
// This file only reexports content of the `src` folder. Keep it that way.
|
|
7653
|
-
|
|
7654
|
-
// This file is not used to build this module. It is only used during editing
|
|
7655
|
-
|
|
7656
|
-
/**
|
|
7657
|
-
* Generated bundle index. Do not edit.
|
|
7658
|
-
*/
|
|
7627
|
+
const VERSION = new Version('20.0.0-next.2');
|
|
7659
7628
|
|
|
7660
7629
|
export { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, EventType, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationCancellationCode, NavigationEnd, NavigationError, NavigationSkipped, NavigationSkippedCode, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTER_OUTLET_DATA, ROUTES, RedirectCommand, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, mapToCanActivate, mapToCanActivateChild, mapToCanDeactivate, mapToCanMatch, mapToResolve, provideRouter, provideRoutes, withComponentInputBinding, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withHashLocation, withInMemoryScrolling, withNavigationErrorHandler, withPreloading, withRouterConfig, withViewTransitions, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, afterNextNavigation as ɵafterNextNavigation, loadChildren as ɵloadChildren };
|
|
7661
7630
|
//# sourceMappingURL=router.mjs.map
|