@angular/router 17.0.5 → 17.0.6
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/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 +5 -20
- 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 +86 -91
- 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.6
|
|
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.6", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
429
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", 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.6", 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.6", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1789
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", 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.6", 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.6", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2512
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", 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.6", 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.6", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2618
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", 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.6", 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.6", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2701
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", 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.6", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2704
2704
|
type: Component,
|
|
2705
2705
|
args: [{
|
|
2706
2706
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -3557,6 +3557,9 @@ function matchWithChecks(segmentGroup, route, segments, injector, urlSerializer)
|
|
|
3557
3557
|
.pipe(map((v) => v === true ? result : { ...noMatch }));
|
|
3558
3558
|
}
|
|
3559
3559
|
function match(segmentGroup, route, segments) {
|
|
3560
|
+
if (route.path === '**') {
|
|
3561
|
+
return createWildcardMatchResult(segments);
|
|
3562
|
+
}
|
|
3560
3563
|
if (route.path === '') {
|
|
3561
3564
|
if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {
|
|
3562
3565
|
return { ...noMatch };
|
|
@@ -3589,6 +3592,15 @@ function match(segmentGroup, route, segments) {
|
|
|
3589
3592
|
positionalParamSegments: res.posParams ?? {}
|
|
3590
3593
|
};
|
|
3591
3594
|
}
|
|
3595
|
+
function createWildcardMatchResult(segments) {
|
|
3596
|
+
return {
|
|
3597
|
+
matched: true,
|
|
3598
|
+
parameters: segments.length > 0 ? last(segments).parameters : {},
|
|
3599
|
+
consumedSegments: segments,
|
|
3600
|
+
remainingSegments: [],
|
|
3601
|
+
positionalParamSegments: {},
|
|
3602
|
+
};
|
|
3603
|
+
}
|
|
3592
3604
|
function split(segmentGroup, consumedSegments, slicedSegments, config) {
|
|
3593
3605
|
if (slicedSegments.length > 0 &&
|
|
3594
3606
|
containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {
|
|
@@ -3657,9 +3669,6 @@ function isImmediateMatch(route, rawSegment, segments, outlet) {
|
|
|
3657
3669
|
(outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {
|
|
3658
3670
|
return false;
|
|
3659
3671
|
}
|
|
3660
|
-
if (route.path === '**') {
|
|
3661
|
-
return true;
|
|
3662
|
-
}
|
|
3663
3672
|
return match(rawSegment, route, segments).matched;
|
|
3664
3673
|
}
|
|
3665
3674
|
function noLeftoversInUrl(segmentGroup, segments, outlet) {
|
|
@@ -3819,8 +3828,7 @@ class Recognizer {
|
|
|
3819
3828
|
return noMatch$1(rawSegment);
|
|
3820
3829
|
}
|
|
3821
3830
|
expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {
|
|
3822
|
-
const { matched, consumedSegments, positionalParamSegments, remainingSegments, } = route
|
|
3823
|
-
match(segmentGroup, route, segments);
|
|
3831
|
+
const { matched, consumedSegments, positionalParamSegments, remainingSegments, } = match(segmentGroup, route, segments);
|
|
3824
3832
|
if (!matched)
|
|
3825
3833
|
return noMatch$1(segmentGroup);
|
|
3826
3834
|
// TODO(atscott): Move all of this under an if(ngDevMode) as a breaking change and allow stack
|
|
@@ -3843,18 +3851,14 @@ class Recognizer {
|
|
|
3843
3851
|
}));
|
|
3844
3852
|
}
|
|
3845
3853
|
matchSegmentAgainstRoute(injector, rawSegment, route, segments, outlet) {
|
|
3846
|
-
|
|
3854
|
+
const matchResult = matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer);
|
|
3847
3855
|
if (route.path === '**') {
|
|
3848
|
-
matchResult = of(createWildcardMatchResult(segments));
|
|
3849
3856
|
// Prior versions of the route matching algorithm would stop matching at the wildcard route.
|
|
3850
3857
|
// We should investigate a better strategy for any existing children. Otherwise, these
|
|
3851
3858
|
// child segments are silently dropped from the navigation.
|
|
3852
3859
|
// https://github.com/angular/angular/issues/40089
|
|
3853
3860
|
rawSegment.children = {};
|
|
3854
3861
|
}
|
|
3855
|
-
else {
|
|
3856
|
-
matchResult = matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer);
|
|
3857
|
-
}
|
|
3858
3862
|
return matchResult.pipe(switchMap((result) => {
|
|
3859
3863
|
if (!result.matched) {
|
|
3860
3864
|
return noMatch$1(rawSegment);
|
|
@@ -3986,15 +3990,6 @@ function getData(route) {
|
|
|
3986
3990
|
function getResolve(route) {
|
|
3987
3991
|
return route.resolve || {};
|
|
3988
3992
|
}
|
|
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
3993
|
|
|
3999
3994
|
function recognize(injector, configLoader, rootComponentType, config, serializer, paramsInheritanceStrategy) {
|
|
4000
3995
|
return mergeMap(t => recognize$1(injector, configLoader, rootComponentType, config, t.extractedUrl, serializer, paramsInheritanceStrategy)
|
|
@@ -4134,10 +4129,10 @@ class TitleStrategy {
|
|
|
4134
4129
|
getResolvedTitleForRoute(snapshot) {
|
|
4135
4130
|
return snapshot.data[RouteTitleKey];
|
|
4136
4131
|
}
|
|
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.
|
|
4132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4133
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }); }
|
|
4139
4134
|
}
|
|
4140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4141
4136
|
type: Injectable,
|
|
4142
4137
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4143
4138
|
}] });
|
|
@@ -4160,10 +4155,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4160
4155
|
this.title.setTitle(title);
|
|
4161
4156
|
}
|
|
4162
4157
|
}
|
|
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.
|
|
4158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4159
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' }); }
|
|
4165
4160
|
}
|
|
4166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4167
4162
|
type: Injectable,
|
|
4168
4163
|
args: [{ providedIn: 'root' }]
|
|
4169
4164
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4241,10 +4236,10 @@ class RouterConfigLoader {
|
|
|
4241
4236
|
this.childrenLoaders.set(route, loader);
|
|
4242
4237
|
return loader;
|
|
4243
4238
|
}
|
|
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.
|
|
4239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4240
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' }); }
|
|
4246
4241
|
}
|
|
4247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4248
4243
|
type: Injectable,
|
|
4249
4244
|
args: [{ providedIn: 'root' }]
|
|
4250
4245
|
}] });
|
|
@@ -4312,10 +4307,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4312
4307
|
* @publicApi
|
|
4313
4308
|
*/
|
|
4314
4309
|
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.
|
|
4310
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4311
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }); }
|
|
4317
4312
|
}
|
|
4318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4319
4314
|
type: Injectable,
|
|
4320
4315
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4321
4316
|
}] });
|
|
@@ -4332,10 +4327,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4332
4327
|
merge(newUrlPart, wholeUrl) {
|
|
4333
4328
|
return newUrlPart;
|
|
4334
4329
|
}
|
|
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.
|
|
4330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4331
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' }); }
|
|
4337
4332
|
}
|
|
4338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4339
4334
|
type: Injectable,
|
|
4340
4335
|
args: [{ providedIn: 'root' }]
|
|
4341
4336
|
}] });
|
|
@@ -4744,10 +4739,10 @@ class NavigationTransitions {
|
|
|
4744
4739
|
return extractedBrowserUrl.toString() !== this.currentTransition?.extractedUrl.toString() &&
|
|
4745
4740
|
!this.currentTransition?.extras.skipLocationChange;
|
|
4746
4741
|
}
|
|
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.
|
|
4742
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4743
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: NavigationTransitions, providedIn: 'root' }); }
|
|
4749
4744
|
}
|
|
4750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4751
4746
|
type: Injectable,
|
|
4752
4747
|
args: [{ providedIn: 'root' }]
|
|
4753
4748
|
}], ctorParameters: () => [] });
|
|
@@ -4763,10 +4758,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
4763
4758
|
* @publicApi
|
|
4764
4759
|
*/
|
|
4765
4760
|
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.
|
|
4761
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4762
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }); }
|
|
4768
4763
|
}
|
|
4769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4764
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4770
4765
|
type: Injectable,
|
|
4771
4766
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4772
4767
|
}] });
|
|
@@ -4817,19 +4812,19 @@ class BaseRouteReuseStrategy {
|
|
|
4817
4812
|
}
|
|
4818
4813
|
}
|
|
4819
4814
|
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.
|
|
4815
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4816
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' }); }
|
|
4822
4817
|
}
|
|
4823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4824
4819
|
type: Injectable,
|
|
4825
4820
|
args: [{ providedIn: 'root' }]
|
|
4826
4821
|
}] });
|
|
4827
4822
|
|
|
4828
4823
|
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.
|
|
4824
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4825
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) }); }
|
|
4831
4826
|
}
|
|
4832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: StateManager, decorators: [{
|
|
4833
4828
|
type: Injectable,
|
|
4834
4829
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
4835
4830
|
}] });
|
|
@@ -5006,10 +5001,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5006
5001
|
}
|
|
5007
5002
|
return { navigationId };
|
|
5008
5003
|
}
|
|
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.
|
|
5004
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5005
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: HistoryStateManager, providedIn: 'root' }); }
|
|
5011
5006
|
}
|
|
5012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
5007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5013
5008
|
type: Injectable,
|
|
5014
5009
|
args: [{ providedIn: 'root' }]
|
|
5015
5010
|
}] });
|
|
@@ -5582,10 +5577,10 @@ class Router {
|
|
|
5582
5577
|
return Promise.reject(e);
|
|
5583
5578
|
});
|
|
5584
5579
|
}
|
|
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.
|
|
5580
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5581
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: Router, providedIn: 'root' }); }
|
|
5587
5582
|
}
|
|
5588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
5583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: Router, decorators: [{
|
|
5589
5584
|
type: Injectable,
|
|
5590
5585
|
args: [{ providedIn: 'root' }]
|
|
5591
5586
|
}], ctorParameters: () => [] });
|
|
@@ -5856,10 +5851,10 @@ class RouterLink {
|
|
|
5856
5851
|
preserveFragment: this.preserveFragment,
|
|
5857
5852
|
});
|
|
5858
5853
|
}
|
|
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.
|
|
5854
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", 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 }); }
|
|
5855
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.0.6", 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
5856
|
}
|
|
5862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
5857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterLink, decorators: [{
|
|
5863
5858
|
type: Directive,
|
|
5864
5859
|
args: [{
|
|
5865
5860
|
selector: '[routerLink]',
|
|
@@ -6082,10 +6077,10 @@ class RouterLinkActive {
|
|
|
6082
6077
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
6083
6078
|
return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);
|
|
6084
6079
|
}
|
|
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.
|
|
6080
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6081
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", 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
6082
|
}
|
|
6088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6089
6084
|
type: Directive,
|
|
6090
6085
|
args: [{
|
|
6091
6086
|
selector: '[routerLinkActive]',
|
|
@@ -6137,10 +6132,10 @@ class PreloadAllModules {
|
|
|
6137
6132
|
preload(route, fn) {
|
|
6138
6133
|
return fn().pipe(catchError(() => of(null)));
|
|
6139
6134
|
}
|
|
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.
|
|
6135
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6136
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: PreloadAllModules, providedIn: 'root' }); }
|
|
6142
6137
|
}
|
|
6143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6144
6139
|
type: Injectable,
|
|
6145
6140
|
args: [{ providedIn: 'root' }]
|
|
6146
6141
|
}] });
|
|
@@ -6157,10 +6152,10 @@ class NoPreloading {
|
|
|
6157
6152
|
preload(route, fn) {
|
|
6158
6153
|
return of(null);
|
|
6159
6154
|
}
|
|
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.
|
|
6155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6156
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: NoPreloading, providedIn: 'root' }); }
|
|
6162
6157
|
}
|
|
6163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6164
6159
|
type: Injectable,
|
|
6165
6160
|
args: [{ providedIn: 'root' }]
|
|
6166
6161
|
}] });
|
|
@@ -6253,10 +6248,10 @@ class RouterPreloader {
|
|
|
6253
6248
|
}
|
|
6254
6249
|
});
|
|
6255
6250
|
}
|
|
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.
|
|
6251
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6252
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterPreloader, providedIn: 'root' }); }
|
|
6258
6253
|
}
|
|
6259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6260
6255
|
type: Injectable,
|
|
6261
6256
|
args: [{ providedIn: 'root' }]
|
|
6262
6257
|
}], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
|
|
@@ -6349,10 +6344,10 @@ class RouterScroller {
|
|
|
6349
6344
|
this.routerEventsSubscription?.unsubscribe();
|
|
6350
6345
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6351
6346
|
}
|
|
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.
|
|
6347
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6348
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterScroller }); }
|
|
6354
6349
|
}
|
|
6355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6356
6351
|
type: Injectable
|
|
6357
6352
|
}], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
|
|
6358
6353
|
|
|
@@ -6993,11 +6988,11 @@ class RouterModule {
|
|
|
6993
6988
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
6994
6989
|
};
|
|
6995
6990
|
}
|
|
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.
|
|
6991
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6992
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] }); }
|
|
6993
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterModule }); }
|
|
6999
6994
|
}
|
|
7000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
6995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RouterModule, decorators: [{
|
|
7001
6996
|
type: NgModule,
|
|
7002
6997
|
args: [{
|
|
7003
6998
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7142,7 +7137,7 @@ function mapToResolve(provider) {
|
|
|
7142
7137
|
/**
|
|
7143
7138
|
* @publicApi
|
|
7144
7139
|
*/
|
|
7145
|
-
const VERSION = new Version('17.0.
|
|
7140
|
+
const VERSION = new Version('17.0.6');
|
|
7146
7141
|
|
|
7147
7142
|
/**
|
|
7148
7143
|
* @module
|