@angular/router 17.1.0-next.2 → 17.1.0-next.4
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/esm2022/src/apply_redirects.mjs +1 -5
- package/esm2022/src/components/empty_outlet.mjs +3 -3
- package/esm2022/src/directives/router_link.mjs +3 -3
- package/esm2022/src/directives/router_link_active.mjs +3 -3
- package/esm2022/src/directives/router_outlet.mjs +6 -6
- package/esm2022/src/models.mjs +1 -1
- package/esm2022/src/navigation_transition.mjs +19 -5
- package/esm2022/src/page_title_strategy.mjs +6 -6
- package/esm2022/src/recognize.mjs +8 -22
- package/esm2022/src/route_reuse_strategy.mjs +6 -6
- package/esm2022/src/router.mjs +9 -7
- package/esm2022/src/router_config.mjs +1 -1
- package/esm2022/src/router_config_loader.mjs +3 -3
- package/esm2022/src/router_module.mjs +4 -4
- package/esm2022/src/router_outlet_context.mjs +3 -3
- package/esm2022/src/router_preloader.mjs +9 -9
- package/esm2022/src/router_scroller.mjs +3 -3
- package/esm2022/src/statemanager/state_manager.mjs +6 -6
- package/esm2022/src/url_handling_strategy.mjs +6 -6
- package/esm2022/src/url_tree.mjs +3 -3
- package/esm2022/src/utils/config_matching.mjs +14 -4
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/router_testing_harness.mjs +6 -6
- package/esm2022/testing/src/router_testing_module.mjs +4 -4
- package/fesm2022/router.mjs +109 -101
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +11 -11
- package/fesm2022/upgrade.mjs +1 -1
- package/index.d.ts +41 -4
- package/package.json +4 -4
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/fesm2022/router.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.1.0-next.
|
|
2
|
+
* @license Angular v17.1.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -425,10 +425,10 @@ function mapChildrenIntoArray(segment, fn) {
|
|
|
425
425
|
* @publicApi
|
|
426
426
|
*/
|
|
427
427
|
class UrlSerializer {
|
|
428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
429
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
429
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }); }
|
|
430
430
|
}
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
432
432
|
type: Injectable,
|
|
433
433
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
434
434
|
}] });
|
|
@@ -1855,10 +1855,10 @@ class ChildrenOutletContexts {
|
|
|
1855
1855
|
getContext(childName) {
|
|
1856
1856
|
return this.contexts.get(childName) || null;
|
|
1857
1857
|
}
|
|
1858
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
1859
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
1858
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1859
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' }); }
|
|
1860
1860
|
}
|
|
1861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
1861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
1862
1862
|
type: Injectable,
|
|
1863
1863
|
args: [{ providedIn: 'root' }]
|
|
1864
1864
|
}] });
|
|
@@ -2578,10 +2578,10 @@ class RouterOutlet {
|
|
|
2578
2578
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2579
2579
|
this.activateEvents.emit(this.activated.instance);
|
|
2580
2580
|
}
|
|
2581
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2582
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.
|
|
2581
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2582
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.4", type: RouterOutlet, isStandalone: true, selector: "router-outlet", inputs: { name: "name" }, outputs: { activateEvents: "activate", deactivateEvents: "deactivate", attachEvents: "attach", detachEvents: "detach" }, exportAs: ["outlet"], usesOnChanges: true, ngImport: i0 }); }
|
|
2583
2583
|
}
|
|
2584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2585
2585
|
type: Directive,
|
|
2586
2586
|
args: [{
|
|
2587
2587
|
selector: 'router-outlet',
|
|
@@ -2684,10 +2684,10 @@ class RoutedComponentInputBinder {
|
|
|
2684
2684
|
});
|
|
2685
2685
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
2686
2686
|
}
|
|
2687
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2688
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2687
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2688
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RoutedComponentInputBinder }); }
|
|
2689
2689
|
}
|
|
2690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
2691
2691
|
type: Injectable
|
|
2692
2692
|
}] });
|
|
2693
2693
|
|
|
@@ -2767,10 +2767,10 @@ function isNavigationCancelingError$1(error) {
|
|
|
2767
2767
|
* to this `EmptyOutletComponent`.
|
|
2768
2768
|
*/
|
|
2769
2769
|
class ɵEmptyOutletComponent {
|
|
2770
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2771
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0-next.
|
|
2770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2771
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0-next.4", type: ɵEmptyOutletComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<router-outlet></router-outlet>`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] }); }
|
|
2772
2772
|
}
|
|
2773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2774
2774
|
type: Component,
|
|
2775
2775
|
args: [{
|
|
2776
2776
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -3533,10 +3533,6 @@ class ApplyRedirects {
|
|
|
3533
3533
|
this.urlSerializer = urlSerializer;
|
|
3534
3534
|
this.urlTree = urlTree;
|
|
3535
3535
|
}
|
|
3536
|
-
noMatchError(e) {
|
|
3537
|
-
return new ɵRuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
3538
|
-
`Cannot match any routes. URL Segment: '${e.segmentGroup}'`);
|
|
3539
|
-
}
|
|
3540
3536
|
lineralizeSegments(route, urlTree) {
|
|
3541
3537
|
let res = [];
|
|
3542
3538
|
let c = urlTree.root;
|
|
@@ -3627,6 +3623,9 @@ function matchWithChecks(segmentGroup, route, segments, injector, urlSerializer)
|
|
|
3627
3623
|
.pipe(map((v) => v === true ? result : { ...noMatch }));
|
|
3628
3624
|
}
|
|
3629
3625
|
function match(segmentGroup, route, segments) {
|
|
3626
|
+
if (route.path === '**') {
|
|
3627
|
+
return createWildcardMatchResult(segments);
|
|
3628
|
+
}
|
|
3630
3629
|
if (route.path === '') {
|
|
3631
3630
|
if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {
|
|
3632
3631
|
return { ...noMatch };
|
|
@@ -3659,6 +3658,15 @@ function match(segmentGroup, route, segments) {
|
|
|
3659
3658
|
positionalParamSegments: res.posParams ?? {}
|
|
3660
3659
|
};
|
|
3661
3660
|
}
|
|
3661
|
+
function createWildcardMatchResult(segments) {
|
|
3662
|
+
return {
|
|
3663
|
+
matched: true,
|
|
3664
|
+
parameters: segments.length > 0 ? last(segments).parameters : {},
|
|
3665
|
+
consumedSegments: segments,
|
|
3666
|
+
remainingSegments: [],
|
|
3667
|
+
positionalParamSegments: {},
|
|
3668
|
+
};
|
|
3669
|
+
}
|
|
3662
3670
|
function split(segmentGroup, consumedSegments, slicedSegments, config) {
|
|
3663
3671
|
if (slicedSegments.length > 0 &&
|
|
3664
3672
|
containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {
|
|
@@ -3727,9 +3735,6 @@ function isImmediateMatch(route, rawSegment, segments, outlet) {
|
|
|
3727
3735
|
(outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {
|
|
3728
3736
|
return false;
|
|
3729
3737
|
}
|
|
3730
|
-
if (route.path === '**') {
|
|
3731
|
-
return true;
|
|
3732
|
-
}
|
|
3733
3738
|
return match(rawSegment, route, segments).matched;
|
|
3734
3739
|
}
|
|
3735
3740
|
function noLeftoversInUrl(segmentGroup, segments, outlet) {
|
|
@@ -3762,8 +3767,9 @@ class Recognizer {
|
|
|
3762
3767
|
this.allowRedirects = true;
|
|
3763
3768
|
}
|
|
3764
3769
|
noMatchError(e) {
|
|
3765
|
-
return new ɵRuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, (typeof ngDevMode === 'undefined' || ngDevMode)
|
|
3766
|
-
`Cannot match any routes. URL Segment: '${e.segmentGroup}'`
|
|
3770
|
+
return new ɵRuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, (typeof ngDevMode === 'undefined' || ngDevMode) ?
|
|
3771
|
+
`Cannot match any routes. URL Segment: '${e.segmentGroup}'` :
|
|
3772
|
+
`'${e.segmentGroup}'`);
|
|
3767
3773
|
}
|
|
3768
3774
|
recognize() {
|
|
3769
3775
|
const rootSegmentGroup = split(this.urlTree.root, [], [], this.config).segmentGroup;
|
|
@@ -3889,8 +3895,7 @@ class Recognizer {
|
|
|
3889
3895
|
return noMatch$1(rawSegment);
|
|
3890
3896
|
}
|
|
3891
3897
|
expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {
|
|
3892
|
-
const { matched, consumedSegments, positionalParamSegments, remainingSegments, } = route
|
|
3893
|
-
match(segmentGroup, route, segments);
|
|
3898
|
+
const { matched, consumedSegments, positionalParamSegments, remainingSegments, } = match(segmentGroup, route, segments);
|
|
3894
3899
|
if (!matched)
|
|
3895
3900
|
return noMatch$1(segmentGroup);
|
|
3896
3901
|
// TODO(atscott): Move all of this under an if(ngDevMode) as a breaking change and allow stack
|
|
@@ -3913,18 +3918,14 @@ class Recognizer {
|
|
|
3913
3918
|
}));
|
|
3914
3919
|
}
|
|
3915
3920
|
matchSegmentAgainstRoute(injector, rawSegment, route, segments, outlet) {
|
|
3916
|
-
|
|
3921
|
+
const matchResult = matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer);
|
|
3917
3922
|
if (route.path === '**') {
|
|
3918
|
-
matchResult = of(createWildcardMatchResult(segments));
|
|
3919
3923
|
// Prior versions of the route matching algorithm would stop matching at the wildcard route.
|
|
3920
3924
|
// We should investigate a better strategy for any existing children. Otherwise, these
|
|
3921
3925
|
// child segments are silently dropped from the navigation.
|
|
3922
3926
|
// https://github.com/angular/angular/issues/40089
|
|
3923
3927
|
rawSegment.children = {};
|
|
3924
3928
|
}
|
|
3925
|
-
else {
|
|
3926
|
-
matchResult = matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer);
|
|
3927
|
-
}
|
|
3928
3929
|
return matchResult.pipe(switchMap((result) => {
|
|
3929
3930
|
if (!result.matched) {
|
|
3930
3931
|
return noMatch$1(rawSegment);
|
|
@@ -4056,15 +4057,6 @@ function getData(route) {
|
|
|
4056
4057
|
function getResolve(route) {
|
|
4057
4058
|
return route.resolve || {};
|
|
4058
4059
|
}
|
|
4059
|
-
function createWildcardMatchResult(segments) {
|
|
4060
|
-
return {
|
|
4061
|
-
matched: true,
|
|
4062
|
-
parameters: segments.length > 0 ? last(segments).parameters : {},
|
|
4063
|
-
consumedSegments: segments,
|
|
4064
|
-
remainingSegments: [],
|
|
4065
|
-
positionalParamSegments: {},
|
|
4066
|
-
};
|
|
4067
|
-
}
|
|
4068
4060
|
|
|
4069
4061
|
function recognize(injector, configLoader, rootComponentType, config, serializer, paramsInheritanceStrategy) {
|
|
4070
4062
|
return mergeMap(t => recognize$1(injector, configLoader, rootComponentType, config, t.extractedUrl, serializer, paramsInheritanceStrategy)
|
|
@@ -4204,10 +4196,10 @@ class TitleStrategy {
|
|
|
4204
4196
|
getResolvedTitleForRoute(snapshot) {
|
|
4205
4197
|
return snapshot.data[RouteTitleKey];
|
|
4206
4198
|
}
|
|
4207
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4208
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4200
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }); }
|
|
4209
4201
|
}
|
|
4210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4211
4203
|
type: Injectable,
|
|
4212
4204
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4213
4205
|
}] });
|
|
@@ -4230,10 +4222,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4230
4222
|
this.title.setTitle(title);
|
|
4231
4223
|
}
|
|
4232
4224
|
}
|
|
4233
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4234
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4225
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4226
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' }); }
|
|
4235
4227
|
}
|
|
4236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4237
4229
|
type: Injectable,
|
|
4238
4230
|
args: [{ providedIn: 'root' }]
|
|
4239
4231
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4311,10 +4303,10 @@ class RouterConfigLoader {
|
|
|
4311
4303
|
this.childrenLoaders.set(route, loader);
|
|
4312
4304
|
return loader;
|
|
4313
4305
|
}
|
|
4314
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4315
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4307
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' }); }
|
|
4316
4308
|
}
|
|
4317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4318
4310
|
type: Injectable,
|
|
4319
4311
|
args: [{ providedIn: 'root' }]
|
|
4320
4312
|
}] });
|
|
@@ -4382,10 +4374,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4382
4374
|
* @publicApi
|
|
4383
4375
|
*/
|
|
4384
4376
|
class UrlHandlingStrategy {
|
|
4385
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4386
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4377
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4378
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }); }
|
|
4387
4379
|
}
|
|
4388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4389
4381
|
type: Injectable,
|
|
4390
4382
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4391
4383
|
}] });
|
|
@@ -4402,10 +4394,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4402
4394
|
merge(newUrlPart, wholeUrl) {
|
|
4403
4395
|
return newUrlPart;
|
|
4404
4396
|
}
|
|
4405
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4406
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4398
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' }); }
|
|
4407
4399
|
}
|
|
4408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4409
4401
|
type: Injectable,
|
|
4410
4402
|
args: [{ providedIn: 'root' }]
|
|
4411
4403
|
}] });
|
|
@@ -4774,7 +4766,21 @@ class NavigationTransitions {
|
|
|
4774
4766
|
overallTransitionState.resolve(router.errorHandler(e));
|
|
4775
4767
|
}
|
|
4776
4768
|
catch (ee) {
|
|
4777
|
-
|
|
4769
|
+
// TODO(atscott): consider flipping the default behavior of
|
|
4770
|
+
// resolveNavigationPromiseOnError to be `resolve(false)` when
|
|
4771
|
+
// undefined. This is the most sane thing to do given that
|
|
4772
|
+
// applications very rarely handle the promise rejection and, as a
|
|
4773
|
+
// result, would get "unhandled promise rejection" console logs.
|
|
4774
|
+
// The vast majority of applications would not be affected by this
|
|
4775
|
+
// change so omitting a migration seems reasonable. Instead,
|
|
4776
|
+
// applications that rely on rejection can specifically opt-in to the
|
|
4777
|
+
// old behavior.
|
|
4778
|
+
if (this.options.resolveNavigationPromiseOnError) {
|
|
4779
|
+
overallTransitionState.resolve(false);
|
|
4780
|
+
}
|
|
4781
|
+
else {
|
|
4782
|
+
overallTransitionState.reject(ee);
|
|
4783
|
+
}
|
|
4778
4784
|
}
|
|
4779
4785
|
}
|
|
4780
4786
|
return EMPTY;
|
|
@@ -4814,10 +4820,10 @@ class NavigationTransitions {
|
|
|
4814
4820
|
return extractedBrowserUrl.toString() !== this.currentTransition?.extractedUrl.toString() &&
|
|
4815
4821
|
!this.currentTransition?.extras.skipLocationChange;
|
|
4816
4822
|
}
|
|
4817
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4818
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4823
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4824
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: NavigationTransitions, providedIn: 'root' }); }
|
|
4819
4825
|
}
|
|
4820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4821
4827
|
type: Injectable,
|
|
4822
4828
|
args: [{ providedIn: 'root' }]
|
|
4823
4829
|
}], ctorParameters: () => [] });
|
|
@@ -4833,10 +4839,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
4833
4839
|
* @publicApi
|
|
4834
4840
|
*/
|
|
4835
4841
|
class RouteReuseStrategy {
|
|
4836
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4837
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4842
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4843
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }); }
|
|
4838
4844
|
}
|
|
4839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4840
4846
|
type: Injectable,
|
|
4841
4847
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4842
4848
|
}] });
|
|
@@ -4887,19 +4893,19 @@ class BaseRouteReuseStrategy {
|
|
|
4887
4893
|
}
|
|
4888
4894
|
}
|
|
4889
4895
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4890
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4891
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4896
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4897
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' }); }
|
|
4892
4898
|
}
|
|
4893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4894
4900
|
type: Injectable,
|
|
4895
4901
|
args: [{ providedIn: 'root' }]
|
|
4896
4902
|
}] });
|
|
4897
4903
|
|
|
4898
4904
|
class StateManager {
|
|
4899
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4900
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4905
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4906
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) }); }
|
|
4901
4907
|
}
|
|
4902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: StateManager, decorators: [{
|
|
4903
4909
|
type: Injectable,
|
|
4904
4910
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
4905
4911
|
}] });
|
|
@@ -5076,10 +5082,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5076
5082
|
}
|
|
5077
5083
|
return { navigationId };
|
|
5078
5084
|
}
|
|
5079
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5080
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5085
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5086
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: HistoryStateManager, providedIn: 'root' }); }
|
|
5081
5087
|
}
|
|
5082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5083
5089
|
type: Injectable,
|
|
5084
5090
|
args: [{ providedIn: 'root' }]
|
|
5085
5091
|
}] });
|
|
@@ -5262,6 +5268,8 @@ class Router {
|
|
|
5262
5268
|
else if (e instanceof RedirectRequest) {
|
|
5263
5269
|
const mergedTree = this.urlHandlingStrategy.merge(e.url, currentTransition.currentRawUrl);
|
|
5264
5270
|
const extras = {
|
|
5271
|
+
// Persist transient navigation info from the original navigation request.
|
|
5272
|
+
info: currentTransition.extras.info,
|
|
5265
5273
|
skipLocationChange: currentTransition.extras.skipLocationChange,
|
|
5266
5274
|
// The URL is already updated at this point if we have 'eager' URL
|
|
5267
5275
|
// updates or if the navigation was triggered by the browser (back
|
|
@@ -5547,9 +5555,9 @@ class Router {
|
|
|
5547
5555
|
* @param extras An options object that determines how the URL should be constructed or
|
|
5548
5556
|
* interpreted.
|
|
5549
5557
|
*
|
|
5550
|
-
* @returns A Promise that resolves to `true` when navigation succeeds,
|
|
5551
|
-
* fails
|
|
5552
|
-
*
|
|
5558
|
+
* @returns A Promise that resolves to `true` when navigation succeeds, or `false` when navigation
|
|
5559
|
+
* fails. The Promise is rejected when an error occurs if `resolveNavigationPromiseOnError` is
|
|
5560
|
+
* not `true`.
|
|
5553
5561
|
*
|
|
5554
5562
|
* @usageNotes
|
|
5555
5563
|
*
|
|
@@ -5652,10 +5660,10 @@ class Router {
|
|
|
5652
5660
|
return Promise.reject(e);
|
|
5653
5661
|
});
|
|
5654
5662
|
}
|
|
5655
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5656
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5663
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5664
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: Router, providedIn: 'root' }); }
|
|
5657
5665
|
}
|
|
5658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: Router, decorators: [{
|
|
5659
5667
|
type: Injectable,
|
|
5660
5668
|
args: [{ providedIn: 'root' }]
|
|
5661
5669
|
}], ctorParameters: () => [] });
|
|
@@ -5926,10 +5934,10 @@ class RouterLink {
|
|
|
5926
5934
|
preserveFragment: this.preserveFragment,
|
|
5927
5935
|
});
|
|
5928
5936
|
}
|
|
5929
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5930
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.
|
|
5937
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", 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 }); }
|
|
5938
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.4", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", 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 }); }
|
|
5931
5939
|
}
|
|
5932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterLink, decorators: [{
|
|
5933
5941
|
type: Directive,
|
|
5934
5942
|
args: [{
|
|
5935
5943
|
selector: '[routerLink]',
|
|
@@ -6152,10 +6160,10 @@ class RouterLinkActive {
|
|
|
6152
6160
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
6153
6161
|
return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);
|
|
6154
6162
|
}
|
|
6155
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6156
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.
|
|
6163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6164
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.4", 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 }); }
|
|
6157
6165
|
}
|
|
6158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6159
6167
|
type: Directive,
|
|
6160
6168
|
args: [{
|
|
6161
6169
|
selector: '[routerLinkActive]',
|
|
@@ -6207,10 +6215,10 @@ class PreloadAllModules {
|
|
|
6207
6215
|
preload(route, fn) {
|
|
6208
6216
|
return fn().pipe(catchError(() => of(null)));
|
|
6209
6217
|
}
|
|
6210
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6211
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6218
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6219
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: PreloadAllModules, providedIn: 'root' }); }
|
|
6212
6220
|
}
|
|
6213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6214
6222
|
type: Injectable,
|
|
6215
6223
|
args: [{ providedIn: 'root' }]
|
|
6216
6224
|
}] });
|
|
@@ -6227,10 +6235,10 @@ class NoPreloading {
|
|
|
6227
6235
|
preload(route, fn) {
|
|
6228
6236
|
return of(null);
|
|
6229
6237
|
}
|
|
6230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6231
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6239
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: NoPreloading, providedIn: 'root' }); }
|
|
6232
6240
|
}
|
|
6233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6234
6242
|
type: Injectable,
|
|
6235
6243
|
args: [{ providedIn: 'root' }]
|
|
6236
6244
|
}] });
|
|
@@ -6323,10 +6331,10 @@ class RouterPreloader {
|
|
|
6323
6331
|
}
|
|
6324
6332
|
});
|
|
6325
6333
|
}
|
|
6326
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6327
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6334
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6335
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterPreloader, providedIn: 'root' }); }
|
|
6328
6336
|
}
|
|
6329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6330
6338
|
type: Injectable,
|
|
6331
6339
|
args: [{ providedIn: 'root' }]
|
|
6332
6340
|
}], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
|
|
@@ -6419,10 +6427,10 @@ class RouterScroller {
|
|
|
6419
6427
|
this.routerEventsSubscription?.unsubscribe();
|
|
6420
6428
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6421
6429
|
}
|
|
6422
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6423
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6430
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6431
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterScroller }); }
|
|
6424
6432
|
}
|
|
6425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6426
6434
|
type: Injectable
|
|
6427
6435
|
}], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
|
|
6428
6436
|
|
|
@@ -7063,11 +7071,11 @@ class RouterModule {
|
|
|
7063
7071
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
7064
7072
|
};
|
|
7065
7073
|
}
|
|
7066
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
7067
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.
|
|
7068
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
7074
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7075
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] }); }
|
|
7076
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterModule }); }
|
|
7069
7077
|
}
|
|
7070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
7078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.4", ngImport: i0, type: RouterModule, decorators: [{
|
|
7071
7079
|
type: NgModule,
|
|
7072
7080
|
args: [{
|
|
7073
7081
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7212,7 +7220,7 @@ function mapToResolve(provider) {
|
|
|
7212
7220
|
/**
|
|
7213
7221
|
* @publicApi
|
|
7214
7222
|
*/
|
|
7215
|
-
const VERSION = new Version('17.1.0-next.
|
|
7223
|
+
const VERSION = new Version('17.1.0-next.4');
|
|
7216
7224
|
|
|
7217
7225
|
/**
|
|
7218
7226
|
* @module
|