@angular/router 17.0.5 → 17.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/navigation_transition.mjs +3 -3
- 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 +3 -3
- 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 +89 -97
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +11 -11
- package/fesm2022/upgrade.mjs +1 -1
- package/index.d.ts +1 -1
- 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.0.
|
|
2
|
+
* @license Angular v17.0.7
|
|
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.0.
|
|
429
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
429
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }); }
|
|
430
430
|
}
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
432
432
|
type: Injectable,
|
|
433
433
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
434
434
|
}] });
|
|
@@ -1785,10 +1785,10 @@ class ChildrenOutletContexts {
|
|
|
1785
1785
|
getContext(childName) {
|
|
1786
1786
|
return this.contexts.get(childName) || null;
|
|
1787
1787
|
}
|
|
1788
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1789
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1788
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1789
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' }); }
|
|
1790
1790
|
}
|
|
1791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
1792
1792
|
type: Injectable,
|
|
1793
1793
|
args: [{ providedIn: 'root' }]
|
|
1794
1794
|
}] });
|
|
@@ -2508,10 +2508,10 @@ class RouterOutlet {
|
|
|
2508
2508
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2509
2509
|
this.activateEvents.emit(this.activated.instance);
|
|
2510
2510
|
}
|
|
2511
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2512
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
2511
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2512
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", 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 }); }
|
|
2513
2513
|
}
|
|
2514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2515
2515
|
type: Directive,
|
|
2516
2516
|
args: [{
|
|
2517
2517
|
selector: 'router-outlet',
|
|
@@ -2614,10 +2614,10 @@ class RoutedComponentInputBinder {
|
|
|
2614
2614
|
});
|
|
2615
2615
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
2616
2616
|
}
|
|
2617
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2618
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
2617
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2618
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutedComponentInputBinder }); }
|
|
2619
2619
|
}
|
|
2620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
2621
2621
|
type: Injectable
|
|
2622
2622
|
}] });
|
|
2623
2623
|
|
|
@@ -2697,10 +2697,10 @@ function isNavigationCancelingError$1(error) {
|
|
|
2697
2697
|
* to this `EmptyOutletComponent`.
|
|
2698
2698
|
*/
|
|
2699
2699
|
class ɵEmptyOutletComponent {
|
|
2700
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2701
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
2700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2701
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", 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"] }] }); }
|
|
2702
2702
|
}
|
|
2703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2704
2704
|
type: Component,
|
|
2705
2705
|
args: [{
|
|
2706
2706
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -3463,10 +3463,6 @@ class ApplyRedirects {
|
|
|
3463
3463
|
this.urlSerializer = urlSerializer;
|
|
3464
3464
|
this.urlTree = urlTree;
|
|
3465
3465
|
}
|
|
3466
|
-
noMatchError(e) {
|
|
3467
|
-
return new ɵRuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
3468
|
-
`Cannot match any routes. URL Segment: '${e.segmentGroup}'`);
|
|
3469
|
-
}
|
|
3470
3466
|
lineralizeSegments(route, urlTree) {
|
|
3471
3467
|
let res = [];
|
|
3472
3468
|
let c = urlTree.root;
|
|
@@ -3557,6 +3553,9 @@ function matchWithChecks(segmentGroup, route, segments, injector, urlSerializer)
|
|
|
3557
3553
|
.pipe(map((v) => v === true ? result : { ...noMatch }));
|
|
3558
3554
|
}
|
|
3559
3555
|
function match(segmentGroup, route, segments) {
|
|
3556
|
+
if (route.path === '**') {
|
|
3557
|
+
return createWildcardMatchResult(segments);
|
|
3558
|
+
}
|
|
3560
3559
|
if (route.path === '') {
|
|
3561
3560
|
if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {
|
|
3562
3561
|
return { ...noMatch };
|
|
@@ -3589,6 +3588,15 @@ function match(segmentGroup, route, segments) {
|
|
|
3589
3588
|
positionalParamSegments: res.posParams ?? {}
|
|
3590
3589
|
};
|
|
3591
3590
|
}
|
|
3591
|
+
function createWildcardMatchResult(segments) {
|
|
3592
|
+
return {
|
|
3593
|
+
matched: true,
|
|
3594
|
+
parameters: segments.length > 0 ? last(segments).parameters : {},
|
|
3595
|
+
consumedSegments: segments,
|
|
3596
|
+
remainingSegments: [],
|
|
3597
|
+
positionalParamSegments: {},
|
|
3598
|
+
};
|
|
3599
|
+
}
|
|
3592
3600
|
function split(segmentGroup, consumedSegments, slicedSegments, config) {
|
|
3593
3601
|
if (slicedSegments.length > 0 &&
|
|
3594
3602
|
containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {
|
|
@@ -3657,9 +3665,6 @@ function isImmediateMatch(route, rawSegment, segments, outlet) {
|
|
|
3657
3665
|
(outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {
|
|
3658
3666
|
return false;
|
|
3659
3667
|
}
|
|
3660
|
-
if (route.path === '**') {
|
|
3661
|
-
return true;
|
|
3662
|
-
}
|
|
3663
3668
|
return match(rawSegment, route, segments).matched;
|
|
3664
3669
|
}
|
|
3665
3670
|
function noLeftoversInUrl(segmentGroup, segments, outlet) {
|
|
@@ -3692,8 +3697,9 @@ class Recognizer {
|
|
|
3692
3697
|
this.allowRedirects = true;
|
|
3693
3698
|
}
|
|
3694
3699
|
noMatchError(e) {
|
|
3695
|
-
return new ɵRuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, (typeof ngDevMode === 'undefined' || ngDevMode)
|
|
3696
|
-
`Cannot match any routes. URL Segment: '${e.segmentGroup}'`
|
|
3700
|
+
return new ɵRuntimeError(4002 /* RuntimeErrorCode.NO_MATCH */, (typeof ngDevMode === 'undefined' || ngDevMode) ?
|
|
3701
|
+
`Cannot match any routes. URL Segment: '${e.segmentGroup}'` :
|
|
3702
|
+
`'${e.segmentGroup}'`);
|
|
3697
3703
|
}
|
|
3698
3704
|
recognize() {
|
|
3699
3705
|
const rootSegmentGroup = split(this.urlTree.root, [], [], this.config).segmentGroup;
|
|
@@ -3819,8 +3825,7 @@ class Recognizer {
|
|
|
3819
3825
|
return noMatch$1(rawSegment);
|
|
3820
3826
|
}
|
|
3821
3827
|
expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {
|
|
3822
|
-
const { matched, consumedSegments, positionalParamSegments, remainingSegments, } = route
|
|
3823
|
-
match(segmentGroup, route, segments);
|
|
3828
|
+
const { matched, consumedSegments, positionalParamSegments, remainingSegments, } = match(segmentGroup, route, segments);
|
|
3824
3829
|
if (!matched)
|
|
3825
3830
|
return noMatch$1(segmentGroup);
|
|
3826
3831
|
// TODO(atscott): Move all of this under an if(ngDevMode) as a breaking change and allow stack
|
|
@@ -3843,18 +3848,14 @@ class Recognizer {
|
|
|
3843
3848
|
}));
|
|
3844
3849
|
}
|
|
3845
3850
|
matchSegmentAgainstRoute(injector, rawSegment, route, segments, outlet) {
|
|
3846
|
-
|
|
3851
|
+
const matchResult = matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer);
|
|
3847
3852
|
if (route.path === '**') {
|
|
3848
|
-
matchResult = of(createWildcardMatchResult(segments));
|
|
3849
3853
|
// Prior versions of the route matching algorithm would stop matching at the wildcard route.
|
|
3850
3854
|
// We should investigate a better strategy for any existing children. Otherwise, these
|
|
3851
3855
|
// child segments are silently dropped from the navigation.
|
|
3852
3856
|
// https://github.com/angular/angular/issues/40089
|
|
3853
3857
|
rawSegment.children = {};
|
|
3854
3858
|
}
|
|
3855
|
-
else {
|
|
3856
|
-
matchResult = matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer);
|
|
3857
|
-
}
|
|
3858
3859
|
return matchResult.pipe(switchMap((result) => {
|
|
3859
3860
|
if (!result.matched) {
|
|
3860
3861
|
return noMatch$1(rawSegment);
|
|
@@ -3986,15 +3987,6 @@ function getData(route) {
|
|
|
3986
3987
|
function getResolve(route) {
|
|
3987
3988
|
return route.resolve || {};
|
|
3988
3989
|
}
|
|
3989
|
-
function createWildcardMatchResult(segments) {
|
|
3990
|
-
return {
|
|
3991
|
-
matched: true,
|
|
3992
|
-
parameters: segments.length > 0 ? last(segments).parameters : {},
|
|
3993
|
-
consumedSegments: segments,
|
|
3994
|
-
remainingSegments: [],
|
|
3995
|
-
positionalParamSegments: {},
|
|
3996
|
-
};
|
|
3997
|
-
}
|
|
3998
3990
|
|
|
3999
3991
|
function recognize(injector, configLoader, rootComponentType, config, serializer, paramsInheritanceStrategy) {
|
|
4000
3992
|
return mergeMap(t => recognize$1(injector, configLoader, rootComponentType, config, t.extractedUrl, serializer, paramsInheritanceStrategy)
|
|
@@ -4134,10 +4126,10 @@ class TitleStrategy {
|
|
|
4134
4126
|
getResolvedTitleForRoute(snapshot) {
|
|
4135
4127
|
return snapshot.data[RouteTitleKey];
|
|
4136
4128
|
}
|
|
4137
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4138
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4130
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }); }
|
|
4139
4131
|
}
|
|
4140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4141
4133
|
type: Injectable,
|
|
4142
4134
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4143
4135
|
}] });
|
|
@@ -4160,10 +4152,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4160
4152
|
this.title.setTitle(title);
|
|
4161
4153
|
}
|
|
4162
4154
|
}
|
|
4163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4164
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4156
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' }); }
|
|
4165
4157
|
}
|
|
4166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4167
4159
|
type: Injectable,
|
|
4168
4160
|
args: [{ providedIn: 'root' }]
|
|
4169
4161
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4241,10 +4233,10 @@ class RouterConfigLoader {
|
|
|
4241
4233
|
this.childrenLoaders.set(route, loader);
|
|
4242
4234
|
return loader;
|
|
4243
4235
|
}
|
|
4244
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4245
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' }); }
|
|
4246
4238
|
}
|
|
4247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4248
4240
|
type: Injectable,
|
|
4249
4241
|
args: [{ providedIn: 'root' }]
|
|
4250
4242
|
}] });
|
|
@@ -4312,10 +4304,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4312
4304
|
* @publicApi
|
|
4313
4305
|
*/
|
|
4314
4306
|
class UrlHandlingStrategy {
|
|
4315
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4316
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4307
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4308
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }); }
|
|
4317
4309
|
}
|
|
4318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4319
4311
|
type: Injectable,
|
|
4320
4312
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4321
4313
|
}] });
|
|
@@ -4332,10 +4324,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4332
4324
|
merge(newUrlPart, wholeUrl) {
|
|
4333
4325
|
return newUrlPart;
|
|
4334
4326
|
}
|
|
4335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4336
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4328
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' }); }
|
|
4337
4329
|
}
|
|
4338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4339
4331
|
type: Injectable,
|
|
4340
4332
|
args: [{ providedIn: 'root' }]
|
|
4341
4333
|
}] });
|
|
@@ -4744,10 +4736,10 @@ class NavigationTransitions {
|
|
|
4744
4736
|
return extractedBrowserUrl.toString() !== this.currentTransition?.extractedUrl.toString() &&
|
|
4745
4737
|
!this.currentTransition?.extras.skipLocationChange;
|
|
4746
4738
|
}
|
|
4747
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4748
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4739
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4740
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NavigationTransitions, providedIn: 'root' }); }
|
|
4749
4741
|
}
|
|
4750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4751
4743
|
type: Injectable,
|
|
4752
4744
|
args: [{ providedIn: 'root' }]
|
|
4753
4745
|
}], ctorParameters: () => [] });
|
|
@@ -4763,10 +4755,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
4763
4755
|
* @publicApi
|
|
4764
4756
|
*/
|
|
4765
4757
|
class RouteReuseStrategy {
|
|
4766
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4767
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4758
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4759
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }); }
|
|
4768
4760
|
}
|
|
4769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4770
4762
|
type: Injectable,
|
|
4771
4763
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4772
4764
|
}] });
|
|
@@ -4817,19 +4809,19 @@ class BaseRouteReuseStrategy {
|
|
|
4817
4809
|
}
|
|
4818
4810
|
}
|
|
4819
4811
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4820
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4821
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4812
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4813
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' }); }
|
|
4822
4814
|
}
|
|
4823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4824
4816
|
type: Injectable,
|
|
4825
4817
|
args: [{ providedIn: 'root' }]
|
|
4826
4818
|
}] });
|
|
4827
4819
|
|
|
4828
4820
|
class StateManager {
|
|
4829
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4830
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4821
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4822
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) }); }
|
|
4831
4823
|
}
|
|
4832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: StateManager, decorators: [{
|
|
4833
4825
|
type: Injectable,
|
|
4834
4826
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
4835
4827
|
}] });
|
|
@@ -5006,10 +4998,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5006
4998
|
}
|
|
5007
4999
|
return { navigationId };
|
|
5008
5000
|
}
|
|
5009
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
5010
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
5001
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5002
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: HistoryStateManager, providedIn: 'root' }); }
|
|
5011
5003
|
}
|
|
5012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
5004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5013
5005
|
type: Injectable,
|
|
5014
5006
|
args: [{ providedIn: 'root' }]
|
|
5015
5007
|
}] });
|
|
@@ -5582,10 +5574,10 @@ class Router {
|
|
|
5582
5574
|
return Promise.reject(e);
|
|
5583
5575
|
});
|
|
5584
5576
|
}
|
|
5585
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
5586
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
5577
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5578
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: Router, providedIn: 'root' }); }
|
|
5587
5579
|
}
|
|
5588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
5580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: Router, decorators: [{
|
|
5589
5581
|
type: Injectable,
|
|
5590
5582
|
args: [{ providedIn: 'root' }]
|
|
5591
5583
|
}], ctorParameters: () => [] });
|
|
@@ -5856,10 +5848,10 @@ class RouterLink {
|
|
|
5856
5848
|
preserveFragment: this.preserveFragment,
|
|
5857
5849
|
});
|
|
5858
5850
|
}
|
|
5859
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
5860
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.0.
|
|
5851
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", 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 }); }
|
|
5852
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.0.7", 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 }); }
|
|
5861
5853
|
}
|
|
5862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
5854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterLink, decorators: [{
|
|
5863
5855
|
type: Directive,
|
|
5864
5856
|
args: [{
|
|
5865
5857
|
selector: '[routerLink]',
|
|
@@ -6082,10 +6074,10 @@ class RouterLinkActive {
|
|
|
6082
6074
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
6083
6075
|
return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);
|
|
6084
6076
|
}
|
|
6085
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
6086
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
6077
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6078
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", 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 }); }
|
|
6087
6079
|
}
|
|
6088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6089
6081
|
type: Directive,
|
|
6090
6082
|
args: [{
|
|
6091
6083
|
selector: '[routerLinkActive]',
|
|
@@ -6137,10 +6129,10 @@ class PreloadAllModules {
|
|
|
6137
6129
|
preload(route, fn) {
|
|
6138
6130
|
return fn().pipe(catchError(() => of(null)));
|
|
6139
6131
|
}
|
|
6140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
6141
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
6132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6133
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PreloadAllModules, providedIn: 'root' }); }
|
|
6142
6134
|
}
|
|
6143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6144
6136
|
type: Injectable,
|
|
6145
6137
|
args: [{ providedIn: 'root' }]
|
|
6146
6138
|
}] });
|
|
@@ -6157,10 +6149,10 @@ class NoPreloading {
|
|
|
6157
6149
|
preload(route, fn) {
|
|
6158
6150
|
return of(null);
|
|
6159
6151
|
}
|
|
6160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
6161
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
6152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6153
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NoPreloading, providedIn: 'root' }); }
|
|
6162
6154
|
}
|
|
6163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6164
6156
|
type: Injectable,
|
|
6165
6157
|
args: [{ providedIn: 'root' }]
|
|
6166
6158
|
}] });
|
|
@@ -6253,10 +6245,10 @@ class RouterPreloader {
|
|
|
6253
6245
|
}
|
|
6254
6246
|
});
|
|
6255
6247
|
}
|
|
6256
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
6257
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
6248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6249
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterPreloader, providedIn: 'root' }); }
|
|
6258
6250
|
}
|
|
6259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6260
6252
|
type: Injectable,
|
|
6261
6253
|
args: [{ providedIn: 'root' }]
|
|
6262
6254
|
}], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
|
|
@@ -6349,10 +6341,10 @@ class RouterScroller {
|
|
|
6349
6341
|
this.routerEventsSubscription?.unsubscribe();
|
|
6350
6342
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6351
6343
|
}
|
|
6352
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
6353
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
6344
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6345
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterScroller }); }
|
|
6354
6346
|
}
|
|
6355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6356
6348
|
type: Injectable
|
|
6357
6349
|
}], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
|
|
6358
6350
|
|
|
@@ -6993,11 +6985,11 @@ class RouterModule {
|
|
|
6993
6985
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
6994
6986
|
};
|
|
6995
6987
|
}
|
|
6996
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
6997
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
6998
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
6988
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6989
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] }); }
|
|
6990
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterModule }); }
|
|
6999
6991
|
}
|
|
7000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterModule, decorators: [{
|
|
7001
6993
|
type: NgModule,
|
|
7002
6994
|
args: [{
|
|
7003
6995
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7142,7 +7134,7 @@ function mapToResolve(provider) {
|
|
|
7142
7134
|
/**
|
|
7143
7135
|
* @publicApi
|
|
7144
7136
|
*/
|
|
7145
|
-
const VERSION = new Version('17.0.
|
|
7137
|
+
const VERSION = new Version('17.0.7');
|
|
7146
7138
|
|
|
7147
7139
|
/**
|
|
7148
7140
|
* @module
|