@angular/router 13.2.4 → 13.2.5
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/esm2020/src/apply_redirects.mjs +10 -11
- package/esm2020/src/components/empty_outlet.mjs +3 -3
- package/esm2020/src/directives/router_link.mjs +6 -6
- package/esm2020/src/directives/router_link_active.mjs +3 -3
- package/esm2020/src/directives/router_outlet.mjs +3 -3
- package/esm2020/src/recognize.mjs +4 -4
- package/esm2020/src/router.mjs +3 -3
- package/esm2020/src/router_module.mjs +7 -7
- package/esm2020/src/router_preloader.mjs +3 -3
- package/esm2020/src/router_scroller.mjs +3 -3
- package/esm2020/src/utils/config_matching.mjs +4 -4
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/router_testing_module.mjs +4 -4
- package/fesm2015/router.mjs +48 -49
- package/fesm2015/router.mjs.map +1 -1
- package/fesm2015/testing.mjs +5 -5
- package/fesm2015/upgrade.mjs +1 -1
- package/fesm2020/router.mjs +48 -49
- package/fesm2020/router.mjs.map +1 -1
- package/fesm2020/testing.mjs +5 -5
- package/fesm2020/upgrade.mjs +1 -1
- package/package.json +4 -4
- package/router.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/upgrade/upgrade.d.ts +1 -1
package/fesm2015/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.2.
|
|
2
|
+
* @license Angular v13.2.5
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -93,9 +93,9 @@ class RouterTestingModule {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
RouterTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
97
|
-
RouterTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
98
|
-
RouterTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
96
|
+
RouterTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
97
|
+
RouterTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterTestingModule, exports: [RouterModule] });
|
|
98
|
+
RouterTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterTestingModule, providers: [
|
|
99
99
|
ɵROUTER_PROVIDERS,
|
|
100
100
|
EXTRA_ROUTER_TESTING_PROVIDERS,
|
|
101
101
|
{ provide: Location, useClass: SpyLocation },
|
|
@@ -112,7 +112,7 @@ RouterTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
112
112
|
{ provide: PreloadingStrategy, useExisting: NoPreloading },
|
|
113
113
|
provideRoutes([]),
|
|
114
114
|
], imports: [RouterModule] });
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterTestingModule, decorators: [{
|
|
116
116
|
type: NgModule,
|
|
117
117
|
args: [{
|
|
118
118
|
exports: [RouterModule],
|
package/fesm2015/upgrade.mjs
CHANGED
package/fesm2020/router.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.2.
|
|
2
|
+
* @license Angular v13.2.5
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@ import * as i3 from '@angular/common';
|
|
|
8
8
|
import { Location, LocationStrategy, PlatformLocation, APP_BASE_HREF, ViewportScroller, HashLocationStrategy, PathLocationStrategy, LOCATION_INITIALIZED } from '@angular/common';
|
|
9
9
|
import * as i0 from '@angular/core';
|
|
10
10
|
import { ɵisObservable, ɵisPromise, EventEmitter, Directive, Attribute, Output, Component, NgModuleRef, InjectionToken, InjectFlags, NgModuleFactory, ɵConsole, NgZone, Injectable, Input, HostListener, HostBinding, Optional, ContentChildren, Injector, Compiler, NgProbeToken, ANALYZE_FOR_ENTRY_COMPONENTS, SkipSelf, Inject, APP_INITIALIZER, APP_BOOTSTRAP_LISTENER, NgModule, ApplicationRef, Version } from '@angular/core';
|
|
11
|
-
import { from, of, BehaviorSubject, combineLatest,
|
|
11
|
+
import { from, of, BehaviorSubject, combineLatest, throwError, EmptyError, concat, defer, Observable, EMPTY, ConnectableObservable, Subject } from 'rxjs';
|
|
12
12
|
import { map, switchMap, take, startWith, scan, filter, catchError, concatMap, last as last$1, first, mergeMap, tap, takeLast, refCount, finalize, mergeAll } from 'rxjs/operators';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -2524,9 +2524,9 @@ class RouterOutlet {
|
|
|
2524
2524
|
this.activateEvents.emit(this.activated.instance);
|
|
2525
2525
|
}
|
|
2526
2526
|
}
|
|
2527
|
-
RouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2528
|
-
RouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
2529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2527
|
+
RouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterOutlet, deps: [{ token: ChildrenOutletContexts }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: 'name', attribute: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2528
|
+
RouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.5", type: RouterOutlet, selector: "router-outlet", outputs: { activateEvents: "activate", deactivateEvents: "deactivate", attachEvents: "attach", detachEvents: "detach" }, exportAs: ["outlet"], ngImport: i0 });
|
|
2529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2530
2530
|
type: Directive,
|
|
2531
2531
|
args: [{ selector: 'router-outlet', exportAs: 'outlet' }]
|
|
2532
2532
|
}], ctorParameters: function () { return [{ type: ChildrenOutletContexts }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: undefined, decorators: [{
|
|
@@ -2580,9 +2580,9 @@ class OutletInjector {
|
|
|
2580
2580
|
*/
|
|
2581
2581
|
class ɵEmptyOutletComponent {
|
|
2582
2582
|
}
|
|
2583
|
-
ɵEmptyOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
2584
|
-
ɵEmptyOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
2585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
2583
|
+
ɵEmptyOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2584
|
+
ɵEmptyOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: ɵEmptyOutletComponent, selector: "ng-component", ngImport: i0, template: `<router-outlet></router-outlet>`, isInline: true, directives: [{ type: RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
2585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2586
2586
|
type: Component,
|
|
2587
2587
|
args: [{ template: `<router-outlet></router-outlet>` }]
|
|
2588
2588
|
}] });
|
|
@@ -2716,7 +2716,7 @@ function sortByMatchingOutlets(routes, outletName) {
|
|
|
2716
2716
|
const noMatch$1 = {
|
|
2717
2717
|
matched: false,
|
|
2718
2718
|
consumedSegments: [],
|
|
2719
|
-
|
|
2719
|
+
remainingSegments: [],
|
|
2720
2720
|
parameters: {},
|
|
2721
2721
|
positionalParamSegments: {}
|
|
2722
2722
|
};
|
|
@@ -2728,7 +2728,7 @@ function match(segmentGroup, route, segments) {
|
|
|
2728
2728
|
return {
|
|
2729
2729
|
matched: true,
|
|
2730
2730
|
consumedSegments: [],
|
|
2731
|
-
|
|
2731
|
+
remainingSegments: segments,
|
|
2732
2732
|
parameters: {},
|
|
2733
2733
|
positionalParamSegments: {}
|
|
2734
2734
|
};
|
|
@@ -2747,7 +2747,7 @@ function match(segmentGroup, route, segments) {
|
|
|
2747
2747
|
return {
|
|
2748
2748
|
matched: true,
|
|
2749
2749
|
consumedSegments: res.consumed,
|
|
2750
|
-
|
|
2750
|
+
remainingSegments: segments.slice(res.consumed.length),
|
|
2751
2751
|
// TODO(atscott): investigate combining parameters and positionalParamSegments
|
|
2752
2752
|
parameters,
|
|
2753
2753
|
positionalParamSegments: res.posParams ?? {}
|
|
@@ -2865,16 +2865,16 @@ class AbsoluteRedirect {
|
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
2867
|
function noMatch(segmentGroup) {
|
|
2868
|
-
return
|
|
2868
|
+
return throwError(new NoMatch$1(segmentGroup));
|
|
2869
2869
|
}
|
|
2870
2870
|
function absoluteRedirect(newTree) {
|
|
2871
|
-
return
|
|
2871
|
+
return throwError(new AbsoluteRedirect(newTree));
|
|
2872
2872
|
}
|
|
2873
2873
|
function namedOutletsRedirect(redirectTo) {
|
|
2874
|
-
return
|
|
2874
|
+
return throwError(new Error(`Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`));
|
|
2875
2875
|
}
|
|
2876
2876
|
function canLoadFails(route) {
|
|
2877
|
-
return
|
|
2877
|
+
return throwError(navigationCancelingError(`Cannot load children because the guard of the route "path: '${route.path}'" returned false`));
|
|
2878
2878
|
}
|
|
2879
2879
|
/**
|
|
2880
2880
|
* Returns the `UrlTree` with the redirection applied.
|
|
@@ -3023,7 +3023,7 @@ class ApplyRedirects {
|
|
|
3023
3023
|
}));
|
|
3024
3024
|
}
|
|
3025
3025
|
expandRegularSegmentAgainstRouteUsingRedirect(ngModule, segmentGroup, routes, route, segments, outlet) {
|
|
3026
|
-
const { matched, consumedSegments,
|
|
3026
|
+
const { matched, consumedSegments, remainingSegments, positionalParamSegments } = match(segmentGroup, route, segments);
|
|
3027
3027
|
if (!matched)
|
|
3028
3028
|
return noMatch(segmentGroup);
|
|
3029
3029
|
const newTree = this.applyRedirectCommands(consumedSegments, route.redirectTo, positionalParamSegments);
|
|
@@ -3031,7 +3031,7 @@ class ApplyRedirects {
|
|
|
3031
3031
|
return absoluteRedirect(newTree);
|
|
3032
3032
|
}
|
|
3033
3033
|
return this.lineralizeSegments(route, newTree).pipe(mergeMap((newSegments) => {
|
|
3034
|
-
return this.expandSegment(ngModule, segmentGroup, routes, newSegments.concat(
|
|
3034
|
+
return this.expandSegment(ngModule, segmentGroup, routes, newSegments.concat(remainingSegments), outlet, false);
|
|
3035
3035
|
}));
|
|
3036
3036
|
}
|
|
3037
3037
|
matchSegmentAgainstRoute(ngModule, rawSegmentGroup, route, segments, outlet) {
|
|
@@ -3046,15 +3046,14 @@ class ApplyRedirects {
|
|
|
3046
3046
|
}
|
|
3047
3047
|
return of(new UrlSegmentGroup(segments, {}));
|
|
3048
3048
|
}
|
|
3049
|
-
const { matched, consumedSegments,
|
|
3049
|
+
const { matched, consumedSegments, remainingSegments } = match(rawSegmentGroup, route, segments);
|
|
3050
3050
|
if (!matched)
|
|
3051
3051
|
return noMatch(rawSegmentGroup);
|
|
3052
|
-
const rawSlicedSegments = segments.slice(lastChild);
|
|
3053
3052
|
const childConfig$ = this.getChildConfig(ngModule, route, segments);
|
|
3054
3053
|
return childConfig$.pipe(mergeMap((routerConfig) => {
|
|
3055
3054
|
const childModule = routerConfig.module;
|
|
3056
3055
|
const childConfig = routerConfig.routes;
|
|
3057
|
-
const { segmentGroup: splitSegmentGroup, slicedSegments } = split(rawSegmentGroup, consumedSegments,
|
|
3056
|
+
const { segmentGroup: splitSegmentGroup, slicedSegments } = split(rawSegmentGroup, consumedSegments, remainingSegments, childConfig);
|
|
3058
3057
|
// See comment on the other call to `split` about why this is necessary.
|
|
3059
3058
|
const segmentGroup = new UrlSegmentGroup(splitSegmentGroup.segments, splitSegmentGroup.children);
|
|
3060
3059
|
if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {
|
|
@@ -3631,7 +3630,7 @@ class Recognizer {
|
|
|
3631
3630
|
return null;
|
|
3632
3631
|
let snapshot;
|
|
3633
3632
|
let consumedSegments = [];
|
|
3634
|
-
let
|
|
3633
|
+
let remainingSegments = [];
|
|
3635
3634
|
if (route.path === '**') {
|
|
3636
3635
|
const params = segments.length > 0 ? last(segments).parameters : {};
|
|
3637
3636
|
snapshot = new ActivatedRouteSnapshot(segments, params, Object.freeze({ ...this.urlTree.queryParams }), this.urlTree.fragment, getData(route), getOutlet(route), route.component, route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + segments.length, getResolve(route));
|
|
@@ -3642,11 +3641,11 @@ class Recognizer {
|
|
|
3642
3641
|
return null;
|
|
3643
3642
|
}
|
|
3644
3643
|
consumedSegments = result.consumedSegments;
|
|
3645
|
-
|
|
3644
|
+
remainingSegments = result.remainingSegments;
|
|
3646
3645
|
snapshot = new ActivatedRouteSnapshot(consumedSegments, result.parameters, Object.freeze({ ...this.urlTree.queryParams }), this.urlTree.fragment, getData(route), getOutlet(route), route.component, route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + consumedSegments.length, getResolve(route));
|
|
3647
3646
|
}
|
|
3648
3647
|
const childConfig = getChildConfig(route);
|
|
3649
|
-
const { segmentGroup, slicedSegments } = split(rawSegment, consumedSegments,
|
|
3648
|
+
const { segmentGroup, slicedSegments } = split(rawSegment, consumedSegments, remainingSegments,
|
|
3650
3649
|
// Filter out routes with redirectTo because we are trying to create activated route
|
|
3651
3650
|
// snapshots and don't handle redirects here. That should have been done in
|
|
3652
3651
|
// `applyRedirects`.
|
|
@@ -4985,9 +4984,9 @@ class Router {
|
|
|
4985
4984
|
return { navigationId };
|
|
4986
4985
|
}
|
|
4987
4986
|
}
|
|
4988
|
-
Router.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
4989
|
-
Router.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
4990
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
4987
|
+
Router.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: Router, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
4988
|
+
Router.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: Router });
|
|
4989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: Router, decorators: [{
|
|
4991
4990
|
type: Injectable
|
|
4992
4991
|
}], ctorParameters: function () { return [{ type: i0.Type }, { type: UrlSerializer }, { type: ChildrenOutletContexts }, { type: i3.Location }, { type: i0.Injector }, { type: i0.Compiler }, { type: undefined }]; } });
|
|
4993
4992
|
function validateCommands(commands) {
|
|
@@ -5186,9 +5185,9 @@ class RouterLink {
|
|
|
5186
5185
|
});
|
|
5187
5186
|
}
|
|
5188
5187
|
}
|
|
5189
|
-
RouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5190
|
-
RouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5188
|
+
RouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterLink, deps: [{ token: Router }, { token: ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5189
|
+
RouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.5", type: RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: { queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", preserveFragment: "preserveFragment", skipLocationChange: "skipLocationChange", replaceUrl: "replaceUrl", state: "state", relativeTo: "relativeTo", routerLink: "routerLink" }, host: { listeners: { "click": "onClick()" } }, usesOnChanges: true, ngImport: i0 });
|
|
5190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterLink, decorators: [{
|
|
5192
5191
|
type: Directive,
|
|
5193
5192
|
args: [{ selector: ':not(a):not(area)[routerLink]' }]
|
|
5194
5193
|
}], ctorParameters: function () { return [{ type: Router }, { type: ActivatedRoute }, { type: undefined, decorators: [{
|
|
@@ -5305,9 +5304,9 @@ class RouterLinkWithHref {
|
|
|
5305
5304
|
});
|
|
5306
5305
|
}
|
|
5307
5306
|
}
|
|
5308
|
-
RouterLinkWithHref.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5309
|
-
RouterLinkWithHref.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5307
|
+
RouterLinkWithHref.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterLinkWithHref, deps: [{ token: Router }, { token: ActivatedRoute }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5308
|
+
RouterLinkWithHref.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.5", type: RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", preserveFragment: "preserveFragment", skipLocationChange: "skipLocationChange", replaceUrl: "replaceUrl", state: "state", relativeTo: "relativeTo", routerLink: "routerLink" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" }, properties: { "attr.target": "this.target", "attr.href": "this.href" } }, usesOnChanges: true, ngImport: i0 });
|
|
5309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterLinkWithHref, decorators: [{
|
|
5311
5310
|
type: Directive,
|
|
5312
5311
|
args: [{ selector: 'a[routerLink],area[routerLink]' }]
|
|
5313
5312
|
}], ctorParameters: function () { return [{ type: Router }, { type: ActivatedRoute }, { type: i3.LocationStrategy }]; }, propDecorators: { target: [{
|
|
@@ -5519,9 +5518,9 @@ class RouterLinkActive {
|
|
|
5519
5518
|
this.links.some(isActiveCheckFn) || this.linksWithHrefs.some(isActiveCheckFn);
|
|
5520
5519
|
}
|
|
5521
5520
|
}
|
|
5522
|
-
RouterLinkActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5523
|
-
RouterLinkActive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
5524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5521
|
+
RouterLinkActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }, { token: RouterLinkWithHref, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5522
|
+
RouterLinkActive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.5", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: { routerLinkActiveOptions: "routerLinkActiveOptions", routerLinkActive: "routerLinkActive" }, outputs: { isActiveChange: "isActiveChange" }, queries: [{ propertyName: "links", predicate: RouterLink, descendants: true }, { propertyName: "linksWithHrefs", predicate: RouterLinkWithHref, descendants: true }], exportAs: ["routerLinkActive"], usesOnChanges: true, ngImport: i0 });
|
|
5523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
5525
5524
|
type: Directive,
|
|
5526
5525
|
args: [{
|
|
5527
5526
|
selector: '[routerLinkActive]',
|
|
@@ -5664,9 +5663,9 @@ class RouterPreloader {
|
|
|
5664
5663
|
});
|
|
5665
5664
|
}
|
|
5666
5665
|
}
|
|
5667
|
-
RouterPreloader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5668
|
-
RouterPreloader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
5669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5666
|
+
RouterPreloader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.Injector }, { token: PreloadingStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5667
|
+
RouterPreloader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterPreloader });
|
|
5668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
5670
5669
|
type: Injectable
|
|
5671
5670
|
}], ctorParameters: function () { return [{ type: Router }, { type: i0.Compiler }, { type: i0.Injector }, { type: PreloadingStrategy }]; } });
|
|
5672
5671
|
|
|
@@ -5752,9 +5751,9 @@ class RouterScroller {
|
|
|
5752
5751
|
}
|
|
5753
5752
|
}
|
|
5754
5753
|
}
|
|
5755
|
-
RouterScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5756
|
-
RouterScroller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
5757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5754
|
+
RouterScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
5755
|
+
RouterScroller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterScroller });
|
|
5756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterScroller, decorators: [{
|
|
5758
5757
|
type: Injectable
|
|
5759
5758
|
}], ctorParameters: function () { return [{ type: Router }, { type: i3.ViewportScroller }, { type: undefined }]; } });
|
|
5760
5759
|
|
|
@@ -5895,10 +5894,10 @@ class RouterModule {
|
|
|
5895
5894
|
return { ngModule: RouterModule, providers: [provideRoutes(routes)] };
|
|
5896
5895
|
}
|
|
5897
5896
|
}
|
|
5898
|
-
RouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
5899
|
-
RouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
5900
|
-
RouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
5901
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
5897
|
+
RouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }, { token: Router, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5898
|
+
RouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterModule, declarations: [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent] });
|
|
5899
|
+
RouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterModule });
|
|
5900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterModule, decorators: [{
|
|
5902
5901
|
type: NgModule,
|
|
5903
5902
|
args: [{
|
|
5904
5903
|
declarations: ROUTER_DIRECTIVES,
|
|
@@ -6076,9 +6075,9 @@ class RouterInitializer {
|
|
|
6076
6075
|
this.destroyed = true;
|
|
6077
6076
|
}
|
|
6078
6077
|
}
|
|
6079
|
-
RouterInitializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
6080
|
-
RouterInitializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
|
6081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
6078
|
+
RouterInitializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterInitializer, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6079
|
+
RouterInitializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterInitializer });
|
|
6080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: RouterInitializer, decorators: [{
|
|
6082
6081
|
type: Injectable
|
|
6083
6082
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
6084
6083
|
function getAppInitializer(r) {
|
|
@@ -6118,7 +6117,7 @@ function provideRouterInitializer() {
|
|
|
6118
6117
|
/**
|
|
6119
6118
|
* @publicApi
|
|
6120
6119
|
*/
|
|
6121
|
-
const VERSION = new Version('13.2.
|
|
6120
|
+
const VERSION = new Version('13.2.5');
|
|
6122
6121
|
|
|
6123
6122
|
/**
|
|
6124
6123
|
* @license
|