@angular/router 18.2.1 → 18.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +16 -3
- 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 +2 -25
- 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 -96
- 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 v18.2.
|
|
2
|
+
* @license Angular v18.2.2
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -421,10 +421,10 @@ function mapChildrenIntoArray(segment, fn) {
|
|
|
421
421
|
* @publicApi
|
|
422
422
|
*/
|
|
423
423
|
class UrlSerializer {
|
|
424
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
425
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
425
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }); }
|
|
426
426
|
}
|
|
427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
428
428
|
type: Injectable,
|
|
429
429
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
430
430
|
}] });
|
|
@@ -2044,10 +2044,10 @@ class ChildrenOutletContexts {
|
|
|
2044
2044
|
getContext(childName) {
|
|
2045
2045
|
return this.contexts.get(childName) || null;
|
|
2046
2046
|
}
|
|
2047
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
2048
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
2047
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: ChildrenOutletContexts, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2048
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' }); }
|
|
2049
2049
|
}
|
|
2050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
2050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
2051
2051
|
type: Injectable,
|
|
2052
2052
|
args: [{ providedIn: 'root' }]
|
|
2053
2053
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
@@ -2755,10 +2755,10 @@ class RouterOutlet {
|
|
|
2755
2755
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2756
2756
|
this.activateEvents.emit(this.activated.instance);
|
|
2757
2757
|
}
|
|
2758
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
2759
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.
|
|
2758
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2759
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", 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 }); }
|
|
2760
2760
|
}
|
|
2761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
2761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2762
2762
|
type: Directive,
|
|
2763
2763
|
args: [{
|
|
2764
2764
|
selector: 'router-outlet',
|
|
@@ -2881,10 +2881,10 @@ class RoutedComponentInputBinder {
|
|
|
2881
2881
|
});
|
|
2882
2882
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
2883
2883
|
}
|
|
2884
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
2885
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
2884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2885
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RoutedComponentInputBinder }); }
|
|
2886
2886
|
}
|
|
2887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
2887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
2888
2888
|
type: Injectable
|
|
2889
2889
|
}] });
|
|
2890
2890
|
|
|
@@ -3740,29 +3740,6 @@ function emptyPathMatch(segmentGroup, slicedSegments, r) {
|
|
|
3740
3740
|
}
|
|
3741
3741
|
return r.path === '';
|
|
3742
3742
|
}
|
|
3743
|
-
/**
|
|
3744
|
-
* Determines if `route` is a path match for the `rawSegment`, `segments`, and `outlet` without
|
|
3745
|
-
* verifying that its children are a full match for the remainder of the `rawSegment` children as
|
|
3746
|
-
* well.
|
|
3747
|
-
*/
|
|
3748
|
-
function isImmediateMatch(route, rawSegment, segments, outlet) {
|
|
3749
|
-
// We allow matches to empty paths when the outlets differ so we can match a url like `/(b:b)` to
|
|
3750
|
-
// a config like
|
|
3751
|
-
// * `{path: '', children: [{path: 'b', outlet: 'b'}]}`
|
|
3752
|
-
// or even
|
|
3753
|
-
// * `{path: '', outlet: 'a', children: [{path: 'b', outlet: 'b'}]`
|
|
3754
|
-
//
|
|
3755
|
-
// The exception here is when the segment outlet is for the primary outlet. This would
|
|
3756
|
-
// result in a match inside the named outlet because all children there are written as primary
|
|
3757
|
-
// outlets. So we need to prevent child named outlet matches in a url like `/b` in a config like
|
|
3758
|
-
// * `{path: '', outlet: 'x' children: [{path: 'b'}]}`
|
|
3759
|
-
// This should only match if the url is `/(x:b)`.
|
|
3760
|
-
if (getOutlet(route) !== outlet &&
|
|
3761
|
-
(outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {
|
|
3762
|
-
return false;
|
|
3763
|
-
}
|
|
3764
|
-
return match(rawSegment, route, segments).matched;
|
|
3765
|
-
}
|
|
3766
3743
|
function noLeftoversInUrl(segmentGroup, segments, outlet) {
|
|
3767
3744
|
return segments.length === 0 && !segmentGroup.children[outlet];
|
|
3768
3745
|
}
|
|
@@ -3898,8 +3875,21 @@ class Recognizer {
|
|
|
3898
3875
|
}));
|
|
3899
3876
|
}
|
|
3900
3877
|
processSegmentAgainstRoute(injector, routes, route, rawSegment, segments, outlet, allowRedirects, parentRoute) {
|
|
3901
|
-
|
|
3878
|
+
// We allow matches to empty paths when the outlets differ so we can match a url like `/(b:b)` to
|
|
3879
|
+
// a config like
|
|
3880
|
+
// * `{path: '', children: [{path: 'b', outlet: 'b'}]}`
|
|
3881
|
+
// or even
|
|
3882
|
+
// * `{path: '', outlet: 'a', children: [{path: 'b', outlet: 'b'}]`
|
|
3883
|
+
//
|
|
3884
|
+
// The exception here is when the segment outlet is for the primary outlet. This would
|
|
3885
|
+
// result in a match inside the named outlet because all children there are written as primary
|
|
3886
|
+
// outlets. So we need to prevent child named outlet matches in a url like `/b` in a config like
|
|
3887
|
+
// * `{path: '', outlet: 'x' children: [{path: 'b'}]}`
|
|
3888
|
+
// This should only match if the url is `/(x:b)`.
|
|
3889
|
+
if (getOutlet(route) !== outlet &&
|
|
3890
|
+
(outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {
|
|
3902
3891
|
return noMatch$1(rawSegment);
|
|
3892
|
+
}
|
|
3903
3893
|
if (route.redirectTo === undefined) {
|
|
3904
3894
|
return this.matchSegmentAgainstRoute(injector, rawSegment, route, segments, outlet, parentRoute);
|
|
3905
3895
|
}
|
|
@@ -4207,10 +4197,10 @@ class TitleStrategy {
|
|
|
4207
4197
|
getResolvedTitleForRoute(snapshot) {
|
|
4208
4198
|
return snapshot.data[RouteTitleKey];
|
|
4209
4199
|
}
|
|
4210
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4211
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4201
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }); }
|
|
4212
4202
|
}
|
|
4213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4214
4204
|
type: Injectable,
|
|
4215
4205
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4216
4206
|
}] });
|
|
@@ -4233,10 +4223,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4233
4223
|
this.title.setTitle(title);
|
|
4234
4224
|
}
|
|
4235
4225
|
}
|
|
4236
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4237
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4227
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' }); }
|
|
4238
4228
|
}
|
|
4239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4240
4230
|
type: Injectable,
|
|
4241
4231
|
args: [{ providedIn: 'root' }]
|
|
4242
4232
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4261,10 +4251,10 @@ const ROUTER_CONFIGURATION = new InjectionToken(typeof ngDevMode === 'undefined'
|
|
|
4261
4251
|
* to this `EmptyOutletComponent`.
|
|
4262
4252
|
*/
|
|
4263
4253
|
class ɵEmptyOutletComponent {
|
|
4264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4265
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
4254
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4255
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", 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"] }] }); }
|
|
4266
4256
|
}
|
|
4267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
4268
4258
|
type: Component,
|
|
4269
4259
|
args: [{
|
|
4270
4260
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -4349,10 +4339,10 @@ class RouterConfigLoader {
|
|
|
4349
4339
|
this.childrenLoaders.set(route, loader);
|
|
4350
4340
|
return loader;
|
|
4351
4341
|
}
|
|
4352
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4353
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4343
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' }); }
|
|
4354
4344
|
}
|
|
4355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4356
4346
|
type: Injectable,
|
|
4357
4347
|
args: [{ providedIn: 'root' }]
|
|
4358
4348
|
}] });
|
|
@@ -4419,10 +4409,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4419
4409
|
* @publicApi
|
|
4420
4410
|
*/
|
|
4421
4411
|
class UrlHandlingStrategy {
|
|
4422
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4423
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4412
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4413
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }); }
|
|
4424
4414
|
}
|
|
4425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4426
4416
|
type: Injectable,
|
|
4427
4417
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4428
4418
|
}] });
|
|
@@ -4439,10 +4429,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4439
4429
|
merge(newUrlPart, wholeUrl) {
|
|
4440
4430
|
return newUrlPart;
|
|
4441
4431
|
}
|
|
4442
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4443
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4433
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' }); }
|
|
4444
4434
|
}
|
|
4445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4446
4436
|
type: Injectable,
|
|
4447
4437
|
args: [{ providedIn: 'root' }]
|
|
4448
4438
|
}] });
|
|
@@ -4897,10 +4887,10 @@ class NavigationTransitions {
|
|
|
4897
4887
|
return (currentBrowserUrl.toString() !== targetBrowserUrl?.toString() &&
|
|
4898
4888
|
!this.currentNavigation?.extras.skipLocationChange);
|
|
4899
4889
|
}
|
|
4900
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4901
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4891
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NavigationTransitions, providedIn: 'root' }); }
|
|
4902
4892
|
}
|
|
4903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4904
4894
|
type: Injectable,
|
|
4905
4895
|
args: [{ providedIn: 'root' }]
|
|
4906
4896
|
}], ctorParameters: () => [] });
|
|
@@ -4916,10 +4906,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
4916
4906
|
* @publicApi
|
|
4917
4907
|
*/
|
|
4918
4908
|
class RouteReuseStrategy {
|
|
4919
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4920
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4909
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4910
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }); }
|
|
4921
4911
|
}
|
|
4922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4923
4913
|
type: Injectable,
|
|
4924
4914
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4925
4915
|
}] });
|
|
@@ -4970,19 +4960,19 @@ class BaseRouteReuseStrategy {
|
|
|
4970
4960
|
}
|
|
4971
4961
|
}
|
|
4972
4962
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4973
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4974
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4964
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' }); }
|
|
4975
4965
|
}
|
|
4976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4977
4967
|
type: Injectable,
|
|
4978
4968
|
args: [{ providedIn: 'root' }]
|
|
4979
4969
|
}] });
|
|
4980
4970
|
|
|
4981
4971
|
class StateManager {
|
|
4982
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
4983
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
4972
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4973
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) }); }
|
|
4984
4974
|
}
|
|
4985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
4975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: StateManager, decorators: [{
|
|
4986
4976
|
type: Injectable,
|
|
4987
4977
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
4988
4978
|
}] });
|
|
@@ -5155,10 +5145,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5155
5145
|
}
|
|
5156
5146
|
return { navigationId };
|
|
5157
5147
|
}
|
|
5158
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
5159
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
5148
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5149
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: HistoryStateManager, providedIn: 'root' }); }
|
|
5160
5150
|
}
|
|
5161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
5151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5162
5152
|
type: Injectable,
|
|
5163
5153
|
args: [{ providedIn: 'root' }]
|
|
5164
5154
|
}] });
|
|
@@ -5733,10 +5723,10 @@ class Router {
|
|
|
5733
5723
|
return Promise.reject(e);
|
|
5734
5724
|
});
|
|
5735
5725
|
}
|
|
5736
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
5737
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
5726
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5727
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: Router, providedIn: 'root' }); }
|
|
5738
5728
|
}
|
|
5739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
5729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: Router, decorators: [{
|
|
5740
5730
|
type: Injectable,
|
|
5741
5731
|
args: [{ providedIn: 'root' }]
|
|
5742
5732
|
}], ctorParameters: () => [] });
|
|
@@ -6036,10 +6026,10 @@ class RouterLink {
|
|
|
6036
6026
|
preserveFragment: this.preserveFragment,
|
|
6037
6027
|
});
|
|
6038
6028
|
}
|
|
6039
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
6040
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.
|
|
6029
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterLink, deps: [{ token: Router }, { token: ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6030
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.2", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", info: "info", relativeTo: "relativeTo", preserveFragment: ["preserveFragment", "preserveFragment", booleanAttribute], skipLocationChange: ["skipLocationChange", "skipLocationChange", booleanAttribute], replaceUrl: ["replaceUrl", "replaceUrl", booleanAttribute], routerLink: "routerLink" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" }, properties: { "attr.target": "this.target" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
6041
6031
|
}
|
|
6042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
6032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterLink, decorators: [{
|
|
6043
6033
|
type: Directive,
|
|
6044
6034
|
args: [{
|
|
6045
6035
|
selector: '[routerLink]',
|
|
@@ -6277,10 +6267,10 @@ class RouterLinkActive {
|
|
|
6277
6267
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
6278
6268
|
return (this.link && isActiveCheckFn(this.link)) || this.links.some(isActiveCheckFn);
|
|
6279
6269
|
}
|
|
6280
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
6281
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.
|
|
6270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6271
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: RouterLinkActive, isStandalone: true, selector: "[routerLinkActive]", inputs: { routerLinkActiveOptions: "routerLinkActiveOptions", ariaCurrentWhenActive: "ariaCurrentWhenActive", routerLinkActive: "routerLinkActive" }, outputs: { isActiveChange: "isActiveChange" }, queries: [{ propertyName: "links", predicate: RouterLink, descendants: true }], exportAs: ["routerLinkActive"], usesOnChanges: true, ngImport: i0 }); }
|
|
6282
6272
|
}
|
|
6283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
6273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6284
6274
|
type: Directive,
|
|
6285
6275
|
args: [{
|
|
6286
6276
|
selector: '[routerLinkActive]',
|
|
@@ -6332,10 +6322,10 @@ class PreloadAllModules {
|
|
|
6332
6322
|
preload(route, fn) {
|
|
6333
6323
|
return fn().pipe(catchError(() => of(null)));
|
|
6334
6324
|
}
|
|
6335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
6336
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
6325
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6326
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: PreloadAllModules, providedIn: 'root' }); }
|
|
6337
6327
|
}
|
|
6338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
6328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6339
6329
|
type: Injectable,
|
|
6340
6330
|
args: [{ providedIn: 'root' }]
|
|
6341
6331
|
}] });
|
|
@@ -6352,10 +6342,10 @@ class NoPreloading {
|
|
|
6352
6342
|
preload(route, fn) {
|
|
6353
6343
|
return of(null);
|
|
6354
6344
|
}
|
|
6355
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
6356
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
6345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6346
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NoPreloading, providedIn: 'root' }); }
|
|
6357
6347
|
}
|
|
6358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
6348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6359
6349
|
type: Injectable,
|
|
6360
6350
|
args: [{ providedIn: 'root' }]
|
|
6361
6351
|
}] });
|
|
@@ -6446,10 +6436,10 @@ class RouterPreloader {
|
|
|
6446
6436
|
}
|
|
6447
6437
|
});
|
|
6448
6438
|
}
|
|
6449
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
6450
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
6439
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6440
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterPreloader, providedIn: 'root' }); }
|
|
6451
6441
|
}
|
|
6452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
6442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6453
6443
|
type: Injectable,
|
|
6454
6444
|
args: [{ providedIn: 'root' }]
|
|
6455
6445
|
}], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
|
|
@@ -6542,10 +6532,10 @@ class RouterScroller {
|
|
|
6542
6532
|
this.routerEventsSubscription?.unsubscribe();
|
|
6543
6533
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6544
6534
|
}
|
|
6545
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
6546
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
6535
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6536
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterScroller }); }
|
|
6547
6537
|
}
|
|
6548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
6538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6549
6539
|
type: Injectable
|
|
6550
6540
|
}], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
|
|
6551
6541
|
|
|
@@ -7193,11 +7183,11 @@ class RouterModule {
|
|
|
7193
7183
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
7194
7184
|
};
|
|
7195
7185
|
}
|
|
7196
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
7197
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.
|
|
7198
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.
|
|
7186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7187
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] }); }
|
|
7188
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterModule }); }
|
|
7199
7189
|
}
|
|
7200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
7190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: RouterModule, decorators: [{
|
|
7201
7191
|
type: NgModule,
|
|
7202
7192
|
args: [{
|
|
7203
7193
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7342,7 +7332,7 @@ function mapToResolve(provider) {
|
|
|
7342
7332
|
/**
|
|
7343
7333
|
* @publicApi
|
|
7344
7334
|
*/
|
|
7345
|
-
const VERSION = new Version('18.2.
|
|
7335
|
+
const VERSION = new Version('18.2.2');
|
|
7346
7336
|
|
|
7347
7337
|
/**
|
|
7348
7338
|
* @module
|