@angular/router 15.0.2 → 15.0.3
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/components/empty_outlet.mjs +3 -3
- package/esm2020/src/directives/router_link.mjs +3 -3
- package/esm2020/src/directives/router_link_active.mjs +3 -3
- package/esm2020/src/directives/router_outlet.mjs +3 -3
- package/esm2020/src/navigation_transition.mjs +3 -3
- package/esm2020/src/page_title_strategy.mjs +6 -6
- package/esm2020/src/private_export.mjs +1 -2
- package/esm2020/src/provide_router.mjs +1 -5
- package/esm2020/src/route_reuse_strategy.mjs +6 -6
- package/esm2020/src/router.mjs +24 -72
- package/esm2020/src/router_config_loader.mjs +3 -3
- package/esm2020/src/router_module.mjs +7 -7
- package/esm2020/src/router_outlet_context.mjs +3 -3
- package/esm2020/src/router_preloader.mjs +9 -9
- package/esm2020/src/router_scroller.mjs +3 -3
- package/esm2020/src/url_handling_strategy.mjs +6 -6
- package/esm2020/src/url_tree.mjs +3 -3
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/router_testing_module.mjs +47 -55
- package/fesm2015/router.mjs +86 -134
- package/fesm2015/router.mjs.map +1 -1
- package/fesm2015/testing.mjs +48 -56
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/upgrade.mjs +1 -1
- package/fesm2020/router.mjs +85 -133
- package/fesm2020/router.mjs.map +1 -1
- package/fesm2020/testing.mjs +48 -56
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/upgrade.mjs +1 -1
- package/index.d.ts +6 -14
- package/package.json +4 -4
- package/testing/index.d.ts +1 -7
- package/upgrade/index.d.ts +1 -1
package/fesm2020/router.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.0.
|
|
2
|
+
* @license Angular v15.0.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
|
-
import { ɵisObservable, ɵisPromise, ɵRuntimeError, Injectable, EventEmitter, inject, ViewContainerRef, ChangeDetectorRef, EnvironmentInjector, Directive, Input, Output, Component, createEnvironmentInjector, ɵisStandalone, ComponentFactoryResolver, ɵisInjectable, InjectionToken, InjectFlags, NgModuleFactory,
|
|
8
|
+
import { ɵisObservable, ɵisPromise, ɵRuntimeError, Injectable, EventEmitter, inject, ViewContainerRef, ChangeDetectorRef, EnvironmentInjector, Directive, Input, Output, Component, createEnvironmentInjector, ɵisStandalone, ComponentFactoryResolver, ɵisInjectable, InjectionToken, InjectFlags, NgModuleFactory, ɵConsole, NgZone, ɵcoerceToBoolean, ɵɵsanitizeUrlOrResourceUrl, Attribute, HostBinding, HostListener, Optional, ContentChildren, makeEnvironmentProviders, APP_BOOTSTRAP_LISTENER, ENVIRONMENT_INITIALIZER, Injector, ApplicationRef, APP_INITIALIZER, NgProbeToken, SkipSelf, NgModule, Inject, Version } from '@angular/core';
|
|
9
9
|
import { from, of, BehaviorSubject, EmptyError, combineLatest, concat, defer, pipe, throwError, Observable, EMPTY, ConnectableObservable, Subject } from 'rxjs';
|
|
10
10
|
import * as i3 from '@angular/common';
|
|
11
11
|
import { Location, ViewportScroller, LOCATION_INITIALIZED, LocationStrategy, HashLocationStrategy, PathLocationStrategy } from '@angular/common';
|
|
@@ -461,9 +461,9 @@ function mapChildrenIntoArray(segment, fn) {
|
|
|
461
461
|
*/
|
|
462
462
|
class UrlSerializer {
|
|
463
463
|
}
|
|
464
|
-
UrlSerializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
465
|
-
UrlSerializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
464
|
+
UrlSerializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
465
|
+
UrlSerializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });
|
|
466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
467
467
|
type: Injectable,
|
|
468
468
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
469
469
|
}] });
|
|
@@ -2380,9 +2380,9 @@ class ChildrenOutletContexts {
|
|
|
2380
2380
|
return this.contexts.get(childName) || null;
|
|
2381
2381
|
}
|
|
2382
2382
|
}
|
|
2383
|
-
ChildrenOutletContexts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2384
|
-
ChildrenOutletContexts.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
2385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2383
|
+
ChildrenOutletContexts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2384
|
+
ChildrenOutletContexts.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
|
|
2385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
2386
2386
|
type: Injectable,
|
|
2387
2387
|
args: [{ providedIn: 'root' }]
|
|
2388
2388
|
}] });
|
|
@@ -2602,9 +2602,9 @@ class RouterOutlet {
|
|
|
2602
2602
|
this.activateEvents.emit(this.activated.instance);
|
|
2603
2603
|
}
|
|
2604
2604
|
}
|
|
2605
|
-
RouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2606
|
-
RouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
2607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2605
|
+
RouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2606
|
+
RouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", 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 });
|
|
2607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2608
2608
|
type: Directive,
|
|
2609
2609
|
args: [{
|
|
2610
2610
|
selector: 'router-outlet',
|
|
@@ -2664,9 +2664,9 @@ function isComponentFactoryResolver(item) {
|
|
|
2664
2664
|
*/
|
|
2665
2665
|
class ɵEmptyOutletComponent {
|
|
2666
2666
|
}
|
|
2667
|
-
ɵEmptyOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2668
|
-
ɵEmptyOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
2669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2667
|
+
ɵEmptyOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2668
|
+
ɵEmptyOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", 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"] }] });
|
|
2669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2670
2670
|
type: Component,
|
|
2671
2671
|
args: [{
|
|
2672
2672
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -4409,9 +4409,9 @@ class RouterConfigLoader {
|
|
|
4409
4409
|
}));
|
|
4410
4410
|
}
|
|
4411
4411
|
}
|
|
4412
|
-
RouterConfigLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4413
|
-
RouterConfigLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4412
|
+
RouterConfigLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterConfigLoader, deps: [{ token: i0.Injector }, { token: i0.Compiler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4413
|
+
RouterConfigLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
|
|
4414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4415
4415
|
type: Injectable,
|
|
4416
4416
|
args: [{ providedIn: 'root' }]
|
|
4417
4417
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.Compiler }]; } });
|
|
@@ -4779,9 +4779,9 @@ class NavigationTransitions {
|
|
|
4779
4779
|
t.resolve(false);
|
|
4780
4780
|
}
|
|
4781
4781
|
}
|
|
4782
|
-
NavigationTransitions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4783
|
-
NavigationTransitions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4782
|
+
NavigationTransitions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4783
|
+
NavigationTransitions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
|
|
4784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4785
4785
|
type: Injectable,
|
|
4786
4786
|
args: [{ providedIn: 'root' }]
|
|
4787
4787
|
}], ctorParameters: function () { return []; } });
|
|
@@ -4840,9 +4840,9 @@ class TitleStrategy {
|
|
|
4840
4840
|
return snapshot.data[RouteTitleKey];
|
|
4841
4841
|
}
|
|
4842
4842
|
}
|
|
4843
|
-
TitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4844
|
-
TitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4843
|
+
TitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4844
|
+
TitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
|
|
4845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4846
4846
|
type: Injectable,
|
|
4847
4847
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4848
4848
|
}] });
|
|
@@ -4866,9 +4866,9 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4866
4866
|
}
|
|
4867
4867
|
}
|
|
4868
4868
|
}
|
|
4869
|
-
DefaultTitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4870
|
-
DefaultTitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4869
|
+
DefaultTitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4870
|
+
DefaultTitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
|
|
4871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4872
4872
|
type: Injectable,
|
|
4873
4873
|
args: [{ providedIn: 'root' }]
|
|
4874
4874
|
}], ctorParameters: function () { return [{ type: i1.Title }]; } });
|
|
@@ -4889,9 +4889,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
4889
4889
|
*/
|
|
4890
4890
|
class RouteReuseStrategy {
|
|
4891
4891
|
}
|
|
4892
|
-
RouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4893
|
-
RouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4892
|
+
RouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4893
|
+
RouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
|
|
4894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4895
4895
|
type: Injectable,
|
|
4896
4896
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4897
4897
|
}] });
|
|
@@ -4943,9 +4943,9 @@ class BaseRouteReuseStrategy {
|
|
|
4943
4943
|
}
|
|
4944
4944
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4945
4945
|
}
|
|
4946
|
-
DefaultRouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4947
|
-
DefaultRouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4946
|
+
DefaultRouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4947
|
+
DefaultRouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
|
|
4948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4949
4949
|
type: Injectable,
|
|
4950
4950
|
args: [{ providedIn: 'root' }]
|
|
4951
4951
|
}] });
|
|
@@ -4984,9 +4984,9 @@ const ROUTER_CONFIGURATION = new InjectionToken(NG_DEV_MODE$3 ? 'router config'
|
|
|
4984
4984
|
*/
|
|
4985
4985
|
class UrlHandlingStrategy {
|
|
4986
4986
|
}
|
|
4987
|
-
UrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4988
|
-
UrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4987
|
+
UrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4988
|
+
UrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
|
|
4989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4990
4990
|
type: Injectable,
|
|
4991
4991
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4992
4992
|
}] });
|
|
@@ -5004,9 +5004,9 @@ class DefaultUrlHandlingStrategy {
|
|
|
5004
5004
|
return newUrlPart;
|
|
5005
5005
|
}
|
|
5006
5006
|
}
|
|
5007
|
-
DefaultUrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5008
|
-
DefaultUrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
5009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5007
|
+
DefaultUrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5008
|
+
DefaultUrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
|
|
5009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
5010
5010
|
type: Injectable,
|
|
5011
5011
|
args: [{ providedIn: 'root' }]
|
|
5012
5012
|
}] });
|
|
@@ -5045,38 +5045,6 @@ const subsetMatchOptions = {
|
|
|
5045
5045
|
matrixParams: 'ignored',
|
|
5046
5046
|
queryParams: 'subset'
|
|
5047
5047
|
};
|
|
5048
|
-
function assignExtraOptionsToRouter(opts, router) {
|
|
5049
|
-
if (opts.errorHandler) {
|
|
5050
|
-
router.errorHandler = opts.errorHandler;
|
|
5051
|
-
}
|
|
5052
|
-
if (opts.malformedUriErrorHandler) {
|
|
5053
|
-
router.malformedUriErrorHandler = opts.malformedUriErrorHandler;
|
|
5054
|
-
}
|
|
5055
|
-
if (opts.onSameUrlNavigation) {
|
|
5056
|
-
router.onSameUrlNavigation = opts.onSameUrlNavigation;
|
|
5057
|
-
}
|
|
5058
|
-
if (opts.paramsInheritanceStrategy) {
|
|
5059
|
-
router.paramsInheritanceStrategy = opts.paramsInheritanceStrategy;
|
|
5060
|
-
}
|
|
5061
|
-
if (opts.urlUpdateStrategy) {
|
|
5062
|
-
router.urlUpdateStrategy = opts.urlUpdateStrategy;
|
|
5063
|
-
}
|
|
5064
|
-
if (opts.canceledNavigationResolution) {
|
|
5065
|
-
router.canceledNavigationResolution = opts.canceledNavigationResolution;
|
|
5066
|
-
}
|
|
5067
|
-
}
|
|
5068
|
-
function setupRouter() {
|
|
5069
|
-
const urlSerializer = inject(UrlSerializer);
|
|
5070
|
-
const contexts = inject(ChildrenOutletContexts);
|
|
5071
|
-
const location = inject(Location);
|
|
5072
|
-
const injector = inject(Injector);
|
|
5073
|
-
const compiler = inject(Compiler);
|
|
5074
|
-
const config = inject(ROUTES, { optional: true }) ?? [];
|
|
5075
|
-
const opts = inject(ROUTER_CONFIGURATION, { optional: true }) ?? {};
|
|
5076
|
-
const router = new Router(null, urlSerializer, contexts, location, injector, compiler, flatten(config));
|
|
5077
|
-
assignExtraOptionsToRouter(opts, router);
|
|
5078
|
-
return router;
|
|
5079
|
-
}
|
|
5080
5048
|
/**
|
|
5081
5049
|
* @description
|
|
5082
5050
|
*
|
|
@@ -5090,18 +5058,7 @@ function setupRouter() {
|
|
|
5090
5058
|
* @publicApi
|
|
5091
5059
|
*/
|
|
5092
5060
|
class Router {
|
|
5093
|
-
|
|
5094
|
-
* Creates the router service.
|
|
5095
|
-
*/
|
|
5096
|
-
// TODO: vsavkin make internal after the final is out.
|
|
5097
|
-
constructor(
|
|
5098
|
-
/** @internal */
|
|
5099
|
-
rootComponentType, urlSerializer, rootContexts, location, injector, compiler, config) {
|
|
5100
|
-
this.rootComponentType = rootComponentType;
|
|
5101
|
-
this.urlSerializer = urlSerializer;
|
|
5102
|
-
this.rootContexts = rootContexts;
|
|
5103
|
-
this.location = location;
|
|
5104
|
-
this.config = config;
|
|
5061
|
+
constructor() {
|
|
5105
5062
|
this.disposed = false;
|
|
5106
5063
|
/**
|
|
5107
5064
|
* The id of the currently active page in the router.
|
|
@@ -5112,18 +5069,20 @@ class Router {
|
|
|
5112
5069
|
* page.
|
|
5113
5070
|
*/
|
|
5114
5071
|
this.currentPageId = 0;
|
|
5072
|
+
this.console = inject(ɵConsole);
|
|
5115
5073
|
this.isNgZoneEnabled = false;
|
|
5074
|
+
this.options = inject(ROUTER_CONFIGURATION, { optional: true }) || {};
|
|
5116
5075
|
/**
|
|
5117
5076
|
* A handler for navigation errors in this NgModule.
|
|
5118
5077
|
*/
|
|
5119
|
-
this.errorHandler = defaultErrorHandler;
|
|
5078
|
+
this.errorHandler = this.options.errorHandler || defaultErrorHandler;
|
|
5120
5079
|
/**
|
|
5121
5080
|
* A handler for errors thrown by `Router.parseUrl(url)`
|
|
5122
5081
|
* when `url` contains an invalid character.
|
|
5123
5082
|
* The most common case is a `%` sign
|
|
5124
5083
|
* that's not encoded and is not part of a percent encoded sequence.
|
|
5125
5084
|
*/
|
|
5126
|
-
this.malformedUriErrorHandler = defaultMalformedUriErrorHandler;
|
|
5085
|
+
this.malformedUriErrorHandler = this.options.malformedUriErrorHandler || defaultMalformedUriErrorHandler;
|
|
5127
5086
|
/**
|
|
5128
5087
|
* True if at least one navigation event has occurred,
|
|
5129
5088
|
* false otherwise.
|
|
@@ -5163,7 +5122,7 @@ class Router {
|
|
|
5163
5122
|
* routed components on same url navigation, you need to set `onSameUrlNavigation` to `'reload'`
|
|
5164
5123
|
* _and_ provide a `RouteReuseStrategy` which returns `false` for `shouldReuseRoute`.
|
|
5165
5124
|
*/
|
|
5166
|
-
this.onSameUrlNavigation = 'ignore';
|
|
5125
|
+
this.onSameUrlNavigation = this.options.onSameUrlNavigation || 'ignore';
|
|
5167
5126
|
/**
|
|
5168
5127
|
* How to merge parameters, data, resolved data, and title from parent to child
|
|
5169
5128
|
* routes. One of:
|
|
@@ -5173,7 +5132,7 @@ class Router {
|
|
|
5173
5132
|
* - `'always'` : Inherit parent parameters, data, and resolved data
|
|
5174
5133
|
* for all child routes.
|
|
5175
5134
|
*/
|
|
5176
|
-
this.paramsInheritanceStrategy = 'emptyOnly';
|
|
5135
|
+
this.paramsInheritanceStrategy = this.options.paramsInheritanceStrategy || 'emptyOnly';
|
|
5177
5136
|
/**
|
|
5178
5137
|
* Determines when the router updates the browser URL.
|
|
5179
5138
|
* By default (`"deferred"`), updates the browser URL after navigation has finished.
|
|
@@ -5181,7 +5140,7 @@ class Router {
|
|
|
5181
5140
|
* You can choose to update early so that, if navigation fails,
|
|
5182
5141
|
* you can show an error message with the URL that failed.
|
|
5183
5142
|
*/
|
|
5184
|
-
this.urlUpdateStrategy = 'deferred';
|
|
5143
|
+
this.urlUpdateStrategy = this.options.urlUpdateStrategy || 'deferred';
|
|
5185
5144
|
/**
|
|
5186
5145
|
* Configures how the Router attempts to restore state when a navigation is cancelled.
|
|
5187
5146
|
*
|
|
@@ -5204,12 +5163,15 @@ class Router {
|
|
|
5204
5163
|
* The default value is `replace`.
|
|
5205
5164
|
*
|
|
5206
5165
|
*/
|
|
5207
|
-
this.canceledNavigationResolution = 'replace';
|
|
5166
|
+
this.canceledNavigationResolution = this.options.canceledNavigationResolution || 'replace';
|
|
5167
|
+
this.config = flatten(inject(ROUTES, { optional: true }) ?? []);
|
|
5208
5168
|
this.navigationTransitions = inject(NavigationTransitions);
|
|
5209
|
-
this.
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
this.
|
|
5169
|
+
this.urlSerializer = inject(UrlSerializer);
|
|
5170
|
+
this.location = inject(Location);
|
|
5171
|
+
/** @internal */
|
|
5172
|
+
this.rootComponentType = null;
|
|
5173
|
+
this.isNgZoneEnabled = inject(NgZone) instanceof NgZone && NgZone.isInAngularZone();
|
|
5174
|
+
this.resetConfig(this.config);
|
|
5213
5175
|
this.currentUrlTree = new UrlTree();
|
|
5214
5176
|
this.rawUrlTree = this.currentUrlTree;
|
|
5215
5177
|
this.browserUrlTree = this.currentUrlTree;
|
|
@@ -5244,10 +5206,7 @@ class Router {
|
|
|
5244
5206
|
// the change.
|
|
5245
5207
|
return this.navigationTransitions.events;
|
|
5246
5208
|
}
|
|
5247
|
-
/**
|
|
5248
|
-
* @internal
|
|
5249
|
-
* TODO: this should be removed once the constructor of the router made internal
|
|
5250
|
-
*/
|
|
5209
|
+
/** @internal */
|
|
5251
5210
|
resetRootComponentType(rootComponentType) {
|
|
5252
5211
|
this.rootComponentType = rootComponentType;
|
|
5253
5212
|
// TODO: vsavkin router 4.0 should make the root component set to null
|
|
@@ -5674,15 +5633,12 @@ class Router {
|
|
|
5674
5633
|
return { navigationId };
|
|
5675
5634
|
}
|
|
5676
5635
|
}
|
|
5677
|
-
Router.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5678
|
-
Router.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
5679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5636
|
+
Router.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5637
|
+
Router.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: Router, providedIn: 'root' });
|
|
5638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: Router, decorators: [{
|
|
5680
5639
|
type: Injectable,
|
|
5681
|
-
args: [{
|
|
5682
|
-
|
|
5683
|
-
useFactory: setupRouter,
|
|
5684
|
-
}]
|
|
5685
|
-
}], ctorParameters: function () { return [{ type: i0.Type }, { type: UrlSerializer }, { type: ChildrenOutletContexts }, { type: i3.Location }, { type: i0.Injector }, { type: i0.Compiler }, { type: undefined }]; } });
|
|
5640
|
+
args: [{ providedIn: 'root' }]
|
|
5641
|
+
}], ctorParameters: function () { return []; } });
|
|
5686
5642
|
function validateCommands(commands) {
|
|
5687
5643
|
for (let i = 0; i < commands.length; i++) {
|
|
5688
5644
|
const cmd = commands[i];
|
|
@@ -5972,9 +5928,9 @@ class RouterLink {
|
|
|
5972
5928
|
});
|
|
5973
5929
|
}
|
|
5974
5930
|
}
|
|
5975
|
-
RouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5976
|
-
RouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
5977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5931
|
+
RouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", 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 });
|
|
5932
|
+
RouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", relativeTo: "relativeTo", preserveFragment: "preserveFragment", skipLocationChange: "skipLocationChange", replaceUrl: "replaceUrl", 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 });
|
|
5933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterLink, decorators: [{
|
|
5978
5934
|
type: Directive,
|
|
5979
5935
|
args: [{
|
|
5980
5936
|
selector: '[routerLink]',
|
|
@@ -6199,9 +6155,9 @@ class RouterLinkActive {
|
|
|
6199
6155
|
return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);
|
|
6200
6156
|
}
|
|
6201
6157
|
}
|
|
6202
|
-
RouterLinkActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6203
|
-
RouterLinkActive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
6204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6158
|
+
RouterLinkActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6159
|
+
RouterLinkActive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", 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 });
|
|
6160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6205
6161
|
type: Directive,
|
|
6206
6162
|
args: [{
|
|
6207
6163
|
selector: '[routerLinkActive]',
|
|
@@ -6261,9 +6217,9 @@ class PreloadAllModules {
|
|
|
6261
6217
|
return fn().pipe(catchError(() => of(null)));
|
|
6262
6218
|
}
|
|
6263
6219
|
}
|
|
6264
|
-
PreloadAllModules.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6265
|
-
PreloadAllModules.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6220
|
+
PreloadAllModules.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6221
|
+
PreloadAllModules.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });
|
|
6222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6267
6223
|
type: Injectable,
|
|
6268
6224
|
args: [{ providedIn: 'root' }]
|
|
6269
6225
|
}] });
|
|
@@ -6281,9 +6237,9 @@ class NoPreloading {
|
|
|
6281
6237
|
return of(null);
|
|
6282
6238
|
}
|
|
6283
6239
|
}
|
|
6284
|
-
NoPreloading.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6285
|
-
NoPreloading.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6240
|
+
NoPreloading.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6241
|
+
NoPreloading.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NoPreloading, providedIn: 'root' });
|
|
6242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6287
6243
|
type: Injectable,
|
|
6288
6244
|
args: [{ providedIn: 'root' }]
|
|
6289
6245
|
}] });
|
|
@@ -6377,9 +6333,9 @@ class RouterPreloader {
|
|
|
6377
6333
|
});
|
|
6378
6334
|
}
|
|
6379
6335
|
}
|
|
6380
|
-
RouterPreloader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6381
|
-
RouterPreloader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6336
|
+
RouterPreloader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6337
|
+
RouterPreloader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterPreloader, providedIn: 'root' });
|
|
6338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6383
6339
|
type: Injectable,
|
|
6384
6340
|
args: [{ providedIn: 'root' }]
|
|
6385
6341
|
}], ctorParameters: function () { return [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }]; } });
|
|
@@ -6474,9 +6430,9 @@ class RouterScroller {
|
|
|
6474
6430
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6475
6431
|
}
|
|
6476
6432
|
}
|
|
6477
|
-
RouterScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6478
|
-
RouterScroller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6433
|
+
RouterScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
6434
|
+
RouterScroller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterScroller });
|
|
6435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6480
6436
|
type: Injectable
|
|
6481
6437
|
}], ctorParameters: function () { return [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }]; } });
|
|
6482
6438
|
|
|
@@ -6531,10 +6487,6 @@ function provideRouter(routes, ...features) {
|
|
|
6531
6487
|
{ provide: ActivatedRoute, useFactory: rootRoute, deps: [Router] },
|
|
6532
6488
|
{ provide: APP_BOOTSTRAP_LISTENER, multi: true, useFactory: getBootstrapListener },
|
|
6533
6489
|
features.map(feature => feature.ɵproviders),
|
|
6534
|
-
// TODO: All options used by the `assignExtraOptionsToRouter` factory need to be reviewed for
|
|
6535
|
-
// how we want them to be configured. This API doesn't currently have a way to configure them
|
|
6536
|
-
// and we should decide what the _best_ way to do that is rather than just sticking with the
|
|
6537
|
-
// status quo of how it's done today.
|
|
6538
6490
|
]);
|
|
6539
6491
|
}
|
|
6540
6492
|
function rootRoute(router) {
|
|
@@ -6922,7 +6874,7 @@ const ROUTER_FORROOT_GUARD = new InjectionToken(NG_DEV_MODE ? 'router duplicate
|
|
|
6922
6874
|
const ROUTER_PROVIDERS = [
|
|
6923
6875
|
Location,
|
|
6924
6876
|
{ provide: UrlSerializer, useClass: DefaultUrlSerializer },
|
|
6925
|
-
|
|
6877
|
+
Router,
|
|
6926
6878
|
ChildrenOutletContexts,
|
|
6927
6879
|
{ provide: ActivatedRoute, useFactory: rootRoute, deps: [Router] },
|
|
6928
6880
|
RouterConfigLoader,
|
|
@@ -7019,10 +6971,10 @@ class RouterModule {
|
|
|
7019
6971
|
};
|
|
7020
6972
|
}
|
|
7021
6973
|
}
|
|
7022
|
-
RouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
7023
|
-
RouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.
|
|
7024
|
-
RouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.
|
|
7025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6974
|
+
RouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6975
|
+
RouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] });
|
|
6976
|
+
RouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterModule, imports: [ɵEmptyOutletComponent] });
|
|
6977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterModule, decorators: [{
|
|
7026
6978
|
type: NgModule,
|
|
7027
6979
|
args: [{
|
|
7028
6980
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7108,7 +7060,7 @@ function provideRouterInitializer() {
|
|
|
7108
7060
|
/**
|
|
7109
7061
|
* @publicApi
|
|
7110
7062
|
*/
|
|
7111
|
-
const VERSION = new Version('15.0.
|
|
7063
|
+
const VERSION = new Version('15.0.3');
|
|
7112
7064
|
|
|
7113
7065
|
/**
|
|
7114
7066
|
* @license
|
|
@@ -7147,5 +7099,5 @@ const VERSION = new Version('15.0.2');
|
|
|
7147
7099
|
* Generated bundle index. Do not edit.
|
|
7148
7100
|
*/
|
|
7149
7101
|
|
|
7150
|
-
export { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTES, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, provideRouter, provideRoutes, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withInMemoryScrolling, withPreloading, withRouterConfig, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS,
|
|
7102
|
+
export { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTES, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, provideRouter, provideRoutes, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withInMemoryScrolling, withPreloading, withRouterConfig, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, flatten as ɵflatten, withPreloading as ɵwithPreloading };
|
|
7151
7103
|
//# sourceMappingURL=router.mjs.map
|