Upgrading @angular/router 13 to 14
Breaking13.4.0 → 14.3.0Breaking33Security1Platform8Deprecated90New108Changed37Fixed168Other10
BreakingUpgrade verdict
25 breaking changes and 8 platform requirement changes and a security fix.
In plain terms
- The aotSummaries fields in TestBed were deprecated and unused; they are now removed, so drop them from your code.
- An object with a length property of 0 is no longer treated as empty by validators.
- Custom LocationStrategy implementations must add a new required member. Location no longer relies on PlatformLocation.
- The deprecated initialNavigation value 'enabled' is gone; use 'enabledBlocking' instead.
Must act Top 5 of 121 that need code or config changes
Node.js requirement changed in 14.0.0-next.6: ^12.20.0 || ^14.15.0 || >=16.10.0 → ^14.15.0 || >=16.10.0.
What you must change
Breaking25
Removes the unused aotSummaries fields from TestBed APIs.
TestBedaotSummariesObjects with a length key set to zero no longer validate as empty.
Adds a new required class member for LocationStrategy implementors; Location no longer depends on PlatformLocation.
LocationStrategyLocationPlatformLocationinitialNavigation: 'enabled' is removed in favor of initialNavigation: 'enabledBlocking'.
initialNavigationRemoves the unused string type for ActivatedRoute.component.
ActivatedRoute.componentThe component type on ActivatedRoute and ActivatedRouteSnapshot no longer includes string.
ActivatedRouteActivatedRouteSnapshotcomponentRemoves the deprecated initialNavigation option.
initialNavigationHardens attribute and property binding rules for iframe elements, which may require updates to existing iframe usages.
iframeMakes the parent injector argument required in
createEnvironmentInjector.createEnvironmentInjectorForms [email] input value is now considered true if defined with any value rather than false and 'false'.
The AnimationDriver.getParentElement method is now required for implementors of the interface.
AnimationDriver.getParentElementAnimationDriverTaskTrackingZoneSpec now tracks periodic macrotasks until explicitly cancelled, changing behavior of the task-tracking plugin.
TaskTrackingZoneSpecTaskTrackingZone.getTasksFor()setIntervalclearIntervalzone.js/plugins/task-trackingKeyframes names are now prefixed with the component's scope name, breaking code that relied on the old names.
Tightens parameter types of TransferState usage, which may reveal existing problematic calls.
TransferStateForms model classes now accept a generic type parameter; untyped versions remain available to opt out.
Queries including + now query for + instead of space.
JSONP now throws an error when headers are set on a request.
The type of Route.pathMatch is now more strict, requiring explicit Route/Routes typing.
Route.pathMatchRouteRoutesLoadChildrenCallback Promise return type is restricted to Type<any>|NgModuleFactory<any> instead of any.
LoadChildrenCallbackTypeNgModuleFactoryLazy loaded route configs are now validated once loaded in dev mode, so invalid configs error.
Removes the setTimeout around redirect navigations scheduled when a guard returns a UrlTree, which can break incorrectly written tests.
UrlTreeRouter now takes only the first value emitted by resolvers instead of waiting for completion and using the last value.
Makes AnimationDriver.getParentElement required.
AnimationDriver.getParentElementChange detection behavior change may break unit tests that depend on a specific number and sequence of change detections.
initialUrl is now typed string|UrlTree and documented to always be the Router's internal UrlTree; Router.url is the likely replacement.
initialUrlRouter.urlRouterUrlTreefinalUrlSecurity1
Hardens attribute and property binding rules for iframe elements.
iframePlatform8
Adds support for TypeScript 4.8.
Adds support for TypeScript 4.8.
Removes support for Node.js v12; Node.js v14.15 or later is required.
TypeScript versions older than 4.6 are no longer supported.
Drops support for Node.js 12.
Drops support for TypeScript 4.4 and 4.5.
Supports TypeScript 4.6.
Supports TypeScript 4.7.
Deprecations to plan for
Deprecated87
Deprecates
createNgModuleRef in favor of the newly added createNgModule.createNgModuleRefcreateNgModuleDeprecates the bit field signature of
inject() in favor of a new options object, and deprecates InjectFlags.inject()InjectFlagsAdds migration to add explicit
Route/Routes type.RouteRoutesExcludes abstract classes from the strictInjectionParameters requirement.
strictInjectionParametersSupports resolving animation names from the DTS.
Makes Value and RawValue part of the public API.
ValueRawValueUpdates the unknown tag error for AOT standalone components.
Supports template binding to protected component members.
Fixes detection of Angular for v14+ projects.
Allows standalone types to be imported into NgModule scopes.
Allows an injector to be specified when creating an embedded view.
Handles forwardRef in imports of standalone components.
forwardRefImproves error messages for NgModule structural issues.
Reports invalid imports in standalone components during the resolve phase.
Ensures full side-effectful registration of NgModules with ids.
NgModuleHandles inline type-check blocks in nullish coalescing extended check.
Ignores the module.id anti-pattern for NgModule ids.
module.idNgModuleAdds untyped versions of the model classes for use in migration.
Warns on FormControls that are constructed with both options and asyncValidators.
FormControlasyncValidatorsEncodes + signs in query params as %2B.
Deprecates no longer needed resolver fields.
resolverDeprecates the ngModuleFactory input of NgComponentOutlet in favor of a new ngModule input.
NgComponentOutletngModuleFactoryngModuleDeprecates the initialValueIsDefault option in favor of the otherwise-identical nonNullable option.
initialValueIsDefaultnonNullableDeprecates passing both AbstractControlOptions and an async validators argument to a FormControl constructor.
AbstractControlOptionsFormControlDeprecates the resolver argument of RouterOutletContract.activateWith and the resolver field of OutletContext.
RouterOutletContract.activateWithOutletContextComponentFactoryResolverProvides the initial implementation of standalone components.
Propagates the standalone flag to the runtime.
standaloneFixes an issue with incremental tracking of APIs for pipes.
Handles standalone components with cycles.
Preserves forwardRef for component scopes.
forwardRefUses existing imports for standalone dependencies.
Adds the ApplicationRef.destroy method.
ApplicationRef.destroyAdds the bootstrapApplication function.
bootstrapApplicationAllows tests to throw on unknown elements.
Allows tests to throw on unknown properties.
Implements the importProvidersFrom function.
importProvidersFromImplements EnvironmentInjector with an adapter to NgModuleRef.
EnvironmentInjectorNgModuleRefImplements standalone directives, components, and pipes.
Moves the ANIMATION_MODULE_TYPE injection token into core.
ANIMATION_MODULE_TYPEtriggerEventHandler accepts an optional eventObj.
triggerEventHandlerUpdates TestBed to recognize standalone components.
TestBedAdds
FormBuilder.nonNullable.FormBuilder.nonNullableAdds a FormRecord type.
FormRecordImplements strict types for the Angular Forms package.
Supports negative indices in FormArray methods.
FormArrayAdds a
nonNullable option to FormControl for consistency.FormControlAdds UntypedFormBuilder.
UntypedFormBuilderAllows NonNullableFormBuilder to be injected.
NonNullableFormBuilderCorrects empty validator to handle objects with a property
length: 0.Fixes a typing bug in FormBuilder.
FormBuilderMakes UntypedFormBuilder assignable to FormBuilder, and vice versa.
UntypedFormBuilderFormBuilderFixes not picking up disabled state if group is swapped out and disabled.
Prevents FormBuilder from distributing unions to control types.
FormBuilderMakes property renaming safe code.
Updates the typed forms migration to use FormArray<T> instead of FormArray<T[]>.
FormArrayUpdates the typed forms migration.
Throws error when headers are supplied in JSONP request.
Provides plugin to delegate rename requests to Angular.
Ensures transitively loaded compiler code is tree-shakable.
Copes with packages following APF v14+.
Keeps a unique index for all components and directives.
Makes devtools fail elegantly for view engine apps.
Makes tab menu action button icons smaller.
Makes small frames clickable.
Merges frames in the range.
Migrates devtools and demo app to scss for styling.
Moves highlighter placement so there is no more overlap.
Adds a new icon and active status.
Shows the console reference only for the currently selected element to reduce noise.
Opens expansion panels by default and applies styling to the expansion header.
Optionally shows change detection duration only when run.
Passes each datasource through to its own material tree component.
Passes input/output data through from the application to the devtools UI.
Patches life cycle hooks.
Removes the timeout and adds a new loading/error state message.
Renames the app component to app todo component.
Renames timeline graph options.
Reorients the split pane when screen width goes under 500 px.
Rerenders the tree on resize to keep the tree within view.
Scrolls the profiler frame info tab independently of the active visualizer.
Selects the DOM element on double click of a node.
Sets the showNode option to show most nodes in the treegraph.
showNodeSets the bar graph as the default option.
Shows frame drops in the timeline.
Shows the console reference key on each selected element.
Shows timeline bars with color dependent on the framerate.
Simplifies component styling for the tabs component.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- added:
abstract class BaseRouteReuseStrategy implements RouteReuseStrategy - added:
abstract class PreloadingStrategy - added:
abstract class RouteReuseStrategy - added:
abstract class TitleStrategy - added:
abstract class UrlHandlingStrategy - added:
abstract class UrlSerializer - added:
abstract method PreloadingStrategy.preload(route: Route, fn: () => Observable<any>): Observable<any> - added:
abstract method RouteReuseStrategy.retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null - added:
abstract method RouteReuseStrategy.shouldAttach(route: ActivatedRouteSnapshot): boolean - added:
abstract method RouteReuseStrategy.shouldDetach(route: ActivatedRouteSnapshot): boolean - added:
abstract method RouteReuseStrategy.shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean - added:
abstract method RouteReuseStrategy.store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle | null): void - added:
abstract method TitleStrategy.updateTitle(snapshot: RouterStateSnapshot): void - added:
abstract method UrlHandlingStrategy.extract(url: UrlTree): UrlTree - added:
abstract method UrlHandlingStrategy.merge(newUrlPart: UrlTree, rawUrl: UrlTree): UrlTree - added:
abstract method UrlHandlingStrategy.shouldProcessUrl(url: UrlTree): boolean - added:
abstract method UrlSerializer.parse(url: string): UrlTree - added:
abstract method UrlSerializer.serialize(tree: UrlTree): string - added:
class ActivatedRoute - added:
class ActivatedRouteSnapshot - added:
class ActivationEnd - added:
class ActivationStart - added:
class ChildActivationEnd - added:
class ChildActivationStart - added:
class ChildrenOutletContexts - added:
class DefaultTitleStrategy extends TitleStrategy - added:
class DefaultUrlSerializer implements UrlSerializer - added:
class GuardsCheckEnd extends RouterEvent - added:
class GuardsCheckStart extends RouterEvent - added:
class NavigationCancel extends RouterEvent - added:
class NavigationEnd extends RouterEvent - added:
class NavigationError extends RouterEvent - added:
class NavigationStart extends RouterEvent - added:
class NoPreloading implements PreloadingStrategy - added:
class OutletContext - added:
class PreloadAllModules implements PreloadingStrategy - added:
class ResolveEnd extends RouterEvent - added:
class ResolveStart extends RouterEvent - added:
class RouteConfigLoadEnd - added:
class RouteConfigLoadStart - added:
class Router - added:
class RouterEvent - added:
class RouterLink implements OnChanges - added:
class RouterLinkActive implements OnChanges, OnDestroy, AfterContentInit - added:
class RouterLinkWithHref implements OnChanges, OnDestroy - added:
class RouterModule - added:
class RouterOutlet implements OnDestroy, OnInit, RouterOutletContract - added:
class RouterPreloader implements OnDestroy - added:
class RouterState extends Tree<ActivatedRoute> - added:
class RouterStateSnapshot extends Tree<ActivatedRouteSnapshot> - added:
class RoutesRecognized extends RouterEvent - added:
class Scroll - added:
class UrlSegment - added:
class UrlSegmentGroup - added:
class UrlTree - added:
class ɵEmptyOutletComponent - added:
const PRIMARY_OUTLET = 'primary' - added:
const ROUTER_CONFIGURATION: InjectionToken<ExtraOptions> - added:
const ROUTER_INITIALIZER: InjectionToken<(compRef: ComponentRef<any>) => void> - added:
const ROUTES: InjectionToken<Route[][]> - added:
const VERSION: Version - added:
const enum EventType - added:
const enum NavigationCancellationCode - added:
const ɵROUTER_PROVIDERS: Provider[] - added:
constructor ActivationEnd(snapshot: ActivatedRouteSnapshot) - added:
constructor ActivationStart(snapshot: ActivatedRouteSnapshot) - added:
constructor ChildActivationEnd(snapshot: ActivatedRouteSnapshot) - added:
constructor ChildActivationStart(snapshot: ActivatedRouteSnapshot) - added:
constructor DefaultTitleStrategy(title: Title) - added:
constructor GuardsCheckEnd(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot, shouldActivate: boolean) - added:
constructor GuardsCheckStart(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot) - added:
constructor NavigationCancel(id: number, url: string, reason: string, code?: NavigationCancellationCode | undefined) - added:
constructor NavigationEnd(id: number, url: string, urlAfterRedirects: string) - added:
constructor NavigationError(id: number, url: string, error: any, target?: RouterStateSnapshot | undefined) - added:
constructor NavigationStart(id: number, url: string, navigationTrigger?: NavigationTrigger, restoredState?: { [k: string]: any; navigationId: number } | null) - added:
constructor ResolveEnd(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot) - added:
constructor ResolveStart(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot) - added:
constructor RouteConfigLoadEnd(route: Route) - added:
constructor RouteConfigLoadStart(route: Route) - added:
constructor Router(rootComponentType: Type<any> | null, urlSerializer: UrlSerializer, rootContexts: ChildrenOutletContexts, location: Location_2, injector: Injector, compiler: Compiler, config: Routes) - added:
constructor RouterEvent(id: number, url: string) - added:
constructor RouterLink(router: Router, route: ActivatedRoute, tabIndexAttribute: string | null | undefined, renderer: Renderer2, el: ElementRef) - added:
constructor RouterLinkActive(router: Router, element: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, link?: RouterLink | undefined, linkWithHref?: RouterLinkWithHref | undefined) - added:
constructor RouterLinkWithHref(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy) - added:
constructor RouterModule(guard: any) - added:
constructor RouterOutlet(parentContexts: ChildrenOutletContexts, location: ViewContainerRef, name: string, changeDetector: ChangeDetectorRef, environmentInjector: EnvironmentInjector) - added:
constructor RouterPreloader(router: Router, compiler: Compiler, injector: EnvironmentInjector, preloadingStrategy: PreloadingStrategy, loader: RouterConfigLoader) - added:
constructor RoutesRecognized(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot) - added:
constructor Scroll(routerEvent: NavigationEnd, position: [number, number] | null, anchor: string | null) - added:
constructor UrlSegment(path: string, parameters: { [name: string]: string }) - added:
constructor UrlSegmentGroup(segments: UrlSegment[], children: { [key: string]: UrlSegmentGroup }) - added:
function convertToParamMap(params: Params): ParamMap - added:
function createUrlTreeFromSnapshot(relativeTo: ActivatedRouteSnapshot, commands: any[], queryParams?: Params | null, fragment?: string | null): UrlTree - added:
function defaultUrlMatcher(segments: UrlSegment[], segmentGroup: UrlSegmentGroup, route: Route): UrlMatchResult | null - added:
function provideRouter(routes: Routes, ...features: RouterFeatures[]): Provider[] - added:
function provideRoutes(routes: Routes): Provider[] - added:
function withDebugTracing(): DebugTracingFeature - added:
function withDisabledInitialNavigation(): DisabledInitialNavigationFeature - added:
function withEnabledBlockingInitialNavigation(): EnabledBlockingInitialNavigationFeature - added:
function withInMemoryScrolling(options?: InMemoryScrollingOptions): InMemoryScrollingFeature - added:
function withPreloading(preloadingStrategy: Type<PreloadingStrategy>): PreloadingFeature - added:
function withRouterConfig(options: RouterConfigOptions): RouterConfigurationFeature - added:
function ɵassignExtraOptionsToRouter(opts: ExtraOptions, router: Router): void - added:
function ɵflatten<T>(arr: T[][]): T[] - added:
function ɵwithPreloading(preloadingStrategy: Type<PreloadingStrategy>): PreloadingFeature - added:
get ActivatedRoute.children(): ActivatedRoute[] - added:
get ActivatedRoute.firstChild(): ActivatedRoute | null - added:
get ActivatedRoute.paramMap(): Observable<ParamMap> - added:
get ActivatedRoute.parent(): ActivatedRoute | null - added:
get ActivatedRoute.pathFromRoot(): ActivatedRoute[] - added:
get ActivatedRoute.queryParamMap(): Observable<ParamMap> - added:
get ActivatedRoute.root(): ActivatedRoute - added:
get ActivatedRoute.routeConfig(): Route | null - added:
get ActivatedRouteSnapshot.children(): ActivatedRouteSnapshot[] - added:
get ActivatedRouteSnapshot.firstChild(): ActivatedRouteSnapshot | null - added:
get ActivatedRouteSnapshot.paramMap(): ParamMap - added:
get ActivatedRouteSnapshot.parent(): ActivatedRouteSnapshot | null - added:
get ActivatedRouteSnapshot.pathFromRoot(): ActivatedRouteSnapshot[] - added:
get ActivatedRouteSnapshot.queryParamMap(): ParamMap - added:
get ActivatedRouteSnapshot.root(): ActivatedRouteSnapshot - added:
get Router.url(): string - added:
get RouterLink.preserveFragment(): boolean - added:
get RouterLink.replaceUrl(): boolean - added:
get RouterLink.skipLocationChange(): boolean - added:
get RouterLink.urlTree(): UrlTree | null - added:
get RouterLinkWithHref.preserveFragment(): boolean - added:
get RouterLinkWithHref.replaceUrl(): boolean - added:
get RouterLinkWithHref.skipLocationChange(): boolean - added:
get RouterLinkWithHref.urlTree(): UrlTree | null - added:
get RouterOutlet.activatedRoute(): ActivatedRoute - added:
get RouterOutlet.activatedRouteData(): Data - added:
get RouterOutlet.component(): Object - added:
get RouterOutlet.isActivated(): boolean - added:
get UrlSegment.parameterMap(): ParamMap - added:
get UrlSegmentGroup.numberOfChildren(): number - added:
get UrlTree.queryParamMap(): ParamMap - added:
interface CanActivate - added:
interface CanActivateChild - added:
interface CanDeactivate<T> - added:
interface CanLoad - added:
interface CanMatch - added:
interface ExtraOptions extends InMemoryScrollingOptions, RouterConfigOptions - added:
interface InMemoryScrollingOptions - added:
interface IsActiveMatchOptions - added:
interface Navigation - added:
interface NavigationBehaviorOptions - added:
interface NavigationExtras extends UrlCreationOptions, NavigationBehaviorOptions - added:
interface ParamMap - added:
interface Resolve<T> - added:
interface Route - added:
interface RouterConfigOptions - added:
interface RouterFeature<FeatureKind extends RouterFeatureKind> - added:
interface RouterOutletContract - added:
interface UrlCreationOptions - added:
member EventType.ActivationEnd = 14 - added:
member EventType.ActivationStart = 13 - added:
member EventType.ChildActivationEnd = 12 - added:
member EventType.ChildActivationStart = 11 - added:
member EventType.GuardsCheckEnd = 8 - added:
member EventType.GuardsCheckStart = 7 - added:
member EventType.NavigationCancel = 2 - added:
member EventType.NavigationEnd = 1 - added:
member EventType.NavigationError = 3 - added:
member EventType.NavigationStart = 0 - added:
member EventType.ResolveEnd = 6 - added:
member EventType.ResolveStart = 5 - added:
member EventType.RouteConfigLoadEnd = 10 - added:
member EventType.RouteConfigLoadStart = 9 - added:
member EventType.RoutesRecognized = 4 - added:
member EventType.Scroll = 15 - added:
member NavigationCancellationCode.GuardRejected = 3 - added:
member NavigationCancellationCode.NoDataFromResolver = 2 - added:
member NavigationCancellationCode.Redirect = 0 - added:
member NavigationCancellationCode.SupersededByNewNavigation = 1 - added:
method ActivatedRoute.toString(): string - added:
method ActivatedRouteSnapshot.toString(): string - added:
method ActivationEnd.toString(): string - added:
method ActivationStart.toString(): string - added:
method BaseRouteReuseStrategy.retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null - added:
method BaseRouteReuseStrategy.shouldAttach(route: ActivatedRouteSnapshot): boolean - added:
method BaseRouteReuseStrategy.shouldDetach(route: ActivatedRouteSnapshot): boolean - added:
method BaseRouteReuseStrategy.shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean - added:
method BaseRouteReuseStrategy.store(route: ActivatedRouteSnapshot, detachedTree: DetachedRouteHandle): void - added:
method CanActivate.canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - added:
method CanActivateChild.canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - added:
method CanDeactivate.canDeactivate(component: T, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - added:
method CanLoad.canLoad(route: Route, segments: UrlSegment[]): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - added:
method CanMatch.canMatch(route: Route, segments: UrlSegment[]): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - added:
method ChildActivationEnd.toString(): string - added:
method ChildActivationStart.toString(): string - added:
method ChildrenOutletContexts.getContext(childName: string): OutletContext | null - added:
method ChildrenOutletContexts.getOrCreateContext(childName: string): OutletContext - added:
method ChildrenOutletContexts.onChildOutletCreated(childName: string, outlet: RouterOutletContract): void - added:
method ChildrenOutletContexts.onChildOutletDestroyed(childName: string): void - added:
method ChildrenOutletContexts.onOutletDeactivated(): Map<string, OutletContext> - added:
method ChildrenOutletContexts.onOutletReAttached(contexts: Map<string, OutletContext>): void - added:
method DefaultTitleStrategy.updateTitle(snapshot: RouterStateSnapshot): void - added:
method DefaultUrlSerializer.parse(url: string): UrlTree - added:
method DefaultUrlSerializer.serialize(tree: UrlTree): string - added:
method GuardsCheckEnd.toString(): string - added:
method GuardsCheckStart.toString(): string - added:
method NavigationCancel.toString(): string - added:
method NavigationEnd.toString(): string - added:
method NavigationError.toString(): string - added:
method NavigationStart.toString(): string - added:
method NoPreloading.preload(route: Route, fn: () => Observable<any>): Observable<any> - added:
method ParamMap.get(name: string): string | null - added:
method ParamMap.getAll(name: string): string[] - added:
method ParamMap.has(name: string): boolean - added:
method PreloadAllModules.preload(route: Route, fn: () => Observable<any>): Observable<any> - added:
method Resolve.resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<T> | Promise<T> | T - added:
method ResolveEnd.toString(): string - added:
method ResolveStart.toString(): string - added:
method RouteConfigLoadEnd.toString(): string - added:
method RouteConfigLoadStart.toString(): string - added:
method Router.createUrlTree(commands: any[], navigationExtras?: UrlCreationOptions): UrlTree - added:
method Router.dispose(): void - added:
method Router.getCurrentNavigation(): Navigation | null - added:
method Router.initialNavigation(): void - added:
method Router.isActive(url: string | UrlTree, exact: boolean): boolean - added:
method Router.isActive(url: string | UrlTree, matchOptions: IsActiveMatchOptions): boolean - added:
method Router.navigate(commands: any[], extras?: NavigationExtras): Promise<boolean> - added:
method Router.navigateByUrl(url: string | UrlTree, extras?: NavigationBehaviorOptions): Promise<boolean> - added:
method Router.ngOnDestroy(): void - added:
method Router.parseUrl(url: string): UrlTree - added:
method Router.resetConfig(config: Routes): void - added:
method Router.serializeUrl(url: UrlTree): string - added:
method Router.setUpLocationChangeListener(): void - added:
method RouterLink.ngOnChanges(changes: SimpleChanges): void - added:
method RouterLink.onClick(): boolean - added:
method RouterLinkActive.ngAfterContentInit(): void - added:
method RouterLinkActive.ngOnChanges(changes: SimpleChanges): void - added:
method RouterLinkActive.ngOnDestroy(): void - added:
method RouterLinkWithHref.ngOnChanges(changes: SimpleChanges): any - added:
method RouterLinkWithHref.ngOnDestroy(): any - added:
method RouterLinkWithHref.onClick(button: number, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean - added:
method RouterOutlet.activateWith(activatedRoute: ActivatedRoute, resolverOrInjector?: ComponentFactoryResolver | EnvironmentInjector | null): void - added:
method RouterOutlet.attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void - added:
method RouterOutlet.deactivate(): void - added:
method RouterOutlet.detach(): ComponentRef<any> - added:
method RouterOutlet.ngOnDestroy(): void - added:
method RouterOutlet.ngOnInit(): void - added:
method RouterOutletContract.activateWith(activatedRoute: ActivatedRoute, environmentInjector: EnvironmentInjector | null): void - added:
method RouterOutletContract.activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void - added:
method RouterOutletContract.attach(ref: ComponentRef<unknown>, activatedRoute: ActivatedRoute): void - added:
method RouterOutletContract.deactivate(): void - added:
method RouterOutletContract.detach(): ComponentRef<unknown> - added:
method RouterPreloader.ngOnDestroy(): void - added:
method RouterPreloader.preload(): Observable<any> - added:
method RouterPreloader.setUpPreloading(): void - added:
method RouterState.toString(): string - added:
method RouterStateSnapshot.toString(): string - added:
method RoutesRecognized.toString(): string - added:
method Scroll.toString(): string - added:
method TitleStrategy.buildTitle(snapshot: RouterStateSnapshot): string | undefined - added:
method TitleStrategy.getResolvedTitleForRoute(snapshot: ActivatedRouteSnapshot): any - added:
method UrlSegment.toString(): string - added:
method UrlSegmentGroup.hasChildren(): boolean - added:
method UrlSegmentGroup.toString(): string - added:
method UrlTree.toString(): string - added:
property ActivatedRoute.component: Type<any> | null - added:
property ActivatedRoute.data: Observable<Data> - added:
property ActivatedRoute.fragment: Observable<string | null> - added:
property ActivatedRoute.outlet: string - added:
property ActivatedRoute.params: Observable<Params> - added:
property ActivatedRoute.queryParams: Observable<Params> - added:
property ActivatedRoute.snapshot: ActivatedRouteSnapshot - added:
property ActivatedRoute.url: Observable<UrlSegment[]> - added:
property ActivatedRouteSnapshot.component: Type<any> | null - added:
property ActivatedRouteSnapshot.data: Data - added:
property ActivatedRouteSnapshot.fragment: string | null - added:
property ActivatedRouteSnapshot.outlet: string - added:
property ActivatedRouteSnapshot.params: Params - added:
property ActivatedRouteSnapshot.queryParams: Params - added:
property ActivatedRouteSnapshot.url: UrlSegment[] - added:
property ActivationEnd.snapshot: ActivatedRouteSnapshot - added:
property ActivationStart.snapshot: ActivatedRouteSnapshot - added:
property ChildActivationEnd.snapshot: ActivatedRouteSnapshot - added:
property ChildActivationStart.snapshot: ActivatedRouteSnapshot - added:
property ExtraOptions.enableTracing?: boolean - added:
property ExtraOptions.errorHandler?: ErrorHandler - added:
property ExtraOptions.initialNavigation?: InitialNavigation - added:
property ExtraOptions.malformedUriErrorHandler?: (error: URIError, urlSerializer: UrlSerializer, url: string) => UrlTree - added:
property ExtraOptions.preloadingStrategy?: any - added:
property ExtraOptions.relativeLinkResolution?: 'legacy' | 'corrected' - added:
property ExtraOptions.scrollOffset?: [number, number] | (() => [number, number]) - added:
property ExtraOptions.useHash?: boolean - added:
property GuardsCheckEnd.shouldActivate: boolean - added:
property GuardsCheckEnd.state: RouterStateSnapshot - added:
property GuardsCheckEnd.urlAfterRedirects: string - added:
property GuardsCheckStart.state: RouterStateSnapshot - added:
property GuardsCheckStart.urlAfterRedirects: string - added:
property InMemoryScrollingOptions.anchorScrolling?: 'disabled' | 'enabled' - added:
property InMemoryScrollingOptions.scrollPositionRestoration?: 'disabled' | 'enabled' | 'top' - added:
property IsActiveMatchOptions.fragment: 'exact' | 'ignored' - added:
property IsActiveMatchOptions.matrixParams: 'exact' | 'subset' | 'ignored' - added:
property IsActiveMatchOptions.paths: 'exact' | 'subset' - added:
property IsActiveMatchOptions.queryParams: 'exact' | 'subset' | 'ignored' - added:
property Navigation.extractedUrl: UrlTree - added:
property Navigation.extras: NavigationExtras - added:
property Navigation.finalUrl?: UrlTree - added:
property Navigation.id: number - added:
property Navigation.initialUrl: UrlTree - added:
property Navigation.previousNavigation: Navigation | null - added:
property Navigation.trigger: 'imperative' | 'popstate' | 'hashchange' - added:
property NavigationBehaviorOptions.replaceUrl?: boolean - added:
property NavigationBehaviorOptions.skipLocationChange?: boolean - added:
property NavigationBehaviorOptions.state?: { [k: string]: any } - added:
property NavigationCancel.reason: string - added:
property NavigationEnd.urlAfterRedirects: string - added:
property NavigationError.error: any - added:
property NavigationStart.navigationTrigger?: NavigationTrigger - added:
property NavigationStart.restoredState?: { [k: string]: any; navigationId: number } | null - added:
property OutletContext.attachRef: ComponentRef<any> | null - added:
property OutletContext.children: ChildrenOutletContexts - added:
property OutletContext.injector: EnvironmentInjector | null - added:
property OutletContext.outlet: RouterOutletContract | null - added:
property OutletContext.resolver: ComponentFactoryResolver | null - added:
property OutletContext.route: ActivatedRoute | null - added:
property ResolveEnd.state: RouterStateSnapshot - added:
property ResolveEnd.urlAfterRedirects: string - added:
property ResolveStart.state: RouterStateSnapshot - added:
property ResolveStart.urlAfterRedirects: string - added:
property Route.canActivate?: Array<CanActivateFn | any> - added:
property Route.canActivateChild?: Array<CanActivateChildFn | any> - added:
property Route.canDeactivate?: Array<CanDeactivateFn<any> | any> - added:
property Route.canLoad?: Array<CanLoadFn | any> - added:
property Route.canMatch?: Array<Type<CanMatch> | InjectionToken<CanMatchFn> | CanMatchFn> - added:
property Route.children?: Routes - added:
property Route.component?: Type<any> - added:
property Route.data?: Data - added:
property Route.loadChildren?: LoadChildren - added:
property Route.loadComponent?: () => Type<unknown> | Observable<Type<unknown>> | Promise<Type<unknown>> - added:
property Route.matcher?: UrlMatcher - added:
property Route.outlet?: string - added:
property Route.path?: string - added:
property Route.pathMatch?: 'prefix' | 'full' - added:
property Route.providers?: Array<Provider | ImportedNgModuleProviders> - added:
property Route.redirectTo?: string - added:
property Route.resolve?: ResolveData - added:
property Route.runGuardsAndResolvers?: RunGuardsAndResolvers - added:
property Route.title?: string | Type<Resolve<string>> | ResolveFn<string> - added:
property RouteConfigLoadEnd.route: Route - added:
property RouteConfigLoadStart.route: Route - added:
property Router.canceledNavigationResolution: 'replace' | 'computed' - added:
property Router.config: Routes - added:
property Router.errorHandler: ErrorHandler - added:
property Router.malformedUriErrorHandler: (error: URIError, urlSerializer: UrlSerializer, url: string) => UrlTree - added:
property Router.navigated: boolean - added:
property Router.onSameUrlNavigation: 'reload' | 'ignore' - added:
property Router.paramsInheritanceStrategy: 'emptyOnly' | 'always' - added:
property Router.relativeLinkResolution: 'legacy' | 'corrected' - added:
property Router.routeReuseStrategy: RouteReuseStrategy - added:
property Router.titleStrategy?: TitleStrategy - added:
property Router.urlHandlingStrategy: UrlHandlingStrategy - added:
property Router.urlUpdateStrategy: 'deferred' | 'eager' - added:
property RouterConfigOptions.canceledNavigationResolution?: 'replace' | 'computed' - added:
property RouterConfigOptions.onSameUrlNavigation?: 'reload' | 'ignore' - added:
property RouterConfigOptions.paramsInheritanceStrategy?: 'emptyOnly' | 'always' - added:
property RouterConfigOptions.urlUpdateStrategy?: 'deferred' | 'eager' - added:
property RouterEvent.id: number - added:
property RouterEvent.url: string - added:
property RouterFeature.ɵkind: FeatureKind - added:
property RouterFeature.ɵproviders: Provider[] - added:
property RouterLink.fragment?: string - added:
property RouterLink.queryParams?: Params | null - added:
property RouterLink.queryParamsHandling?: QueryParamsHandling | null - added:
property RouterLink.relativeTo?: ActivatedRoute | null - added:
property RouterLink.state?: { [k: string]: any } - added:
property RouterLinkActive.ariaCurrentWhenActive?: 'page' | 'step' | 'location' | 'date' | 'time' | true | false - added:
property RouterLinkActive.links: QueryList<RouterLink> - added:
property RouterLinkActive.linksWithHrefs: QueryList<RouterLinkWithHref> - added:
property RouterLinkActive.routerLinkActiveOptions: { exact: boolean } | IsActiveMatchOptions - added:
property RouterLinkWithHref.fragment?: string - added:
property RouterLinkWithHref.href: string | null - added:
property RouterLinkWithHref.queryParams?: Params | null - added:
property RouterLinkWithHref.queryParamsHandling?: QueryParamsHandling | null - added:
property RouterLinkWithHref.relativeTo?: ActivatedRoute | null - added:
property RouterLinkWithHref.state?: { [k: string]: any } - added:
property RouterLinkWithHref.target: string - added:
property RouterOutlet.activateEvents: EventEmitter<any> - added:
property RouterOutlet.attachEvents: EventEmitter<unknown> - added:
property RouterOutlet.deactivateEvents: EventEmitter<any> - added:
property RouterOutlet.detachEvents: EventEmitter<unknown> - added:
property RouterOutletContract.activateEvents?: EventEmitter<unknown> - added:
property RouterOutletContract.activatedRoute: ActivatedRoute | null - added:
property RouterOutletContract.activatedRouteData: Data - added:
property RouterOutletContract.attachEvents?: EventEmitter<unknown> - added:
property RouterOutletContract.component: Object | null - added:
property RouterOutletContract.deactivateEvents?: EventEmitter<unknown> - added:
property RouterOutletContract.detachEvents?: EventEmitter<unknown> - added:
property RouterOutletContract.isActivated: boolean - added:
property RouterState.snapshot: RouterStateSnapshot - added:
property RouterStateSnapshot.url: string - added:
property RoutesRecognized.state: RouterStateSnapshot - added:
property RoutesRecognized.urlAfterRedirects: string - added:
property UrlCreationOptions.fragment?: string - added:
property UrlCreationOptions.preserveFragment?: boolean - added:
property UrlCreationOptions.queryParams?: Params | null - added:
property UrlCreationOptions.queryParamsHandling?: QueryParamsHandling | null - added:
property UrlCreationOptions.relativeTo?: ActivatedRoute | null - added:
property UrlSegment.parameters: { [name: string]: string } - added:
property UrlSegment.path: string - added:
property UrlSegmentGroup.children: { [key: string]: UrlSegmentGroup } - added:
property UrlSegmentGroup.parent: UrlSegmentGroup | null - added:
property UrlSegmentGroup.segments: UrlSegment[] - added:
property UrlTree.fragment: string | null - added:
property UrlTree.queryParams: Params - added:
property UrlTree.root: UrlSegmentGroup - added:
readonly property ActivatedRoute.title: Observable<string | undefined> - added:
readonly property ActivatedRouteSnapshot.routeConfig: Route | null - added:
readonly property ActivatedRouteSnapshot.title?: string - added:
readonly property ActivationEnd.type = EventType.ActivationEnd - added:
readonly property ActivationStart.type = EventType.ActivationStart - added:
readonly property ChildActivationEnd.type = EventType.ChildActivationEnd - added:
readonly property ChildActivationStart.type = EventType.ChildActivationStart - added:
readonly property DefaultTitleStrategy.title: Title - added:
readonly property GuardsCheckEnd.type = EventType.GuardsCheckEnd - added:
readonly property GuardsCheckStart.type = EventType.GuardsCheckStart - added:
readonly property NavigationCancel.code?: NavigationCancellationCode | undefined - added:
readonly property NavigationCancel.type = EventType.NavigationCancel - added:
readonly property NavigationEnd.type = EventType.NavigationEnd - added:
readonly property NavigationError.target?: RouterStateSnapshot | undefined - added:
readonly property NavigationError.type = EventType.NavigationError - added:
readonly property NavigationStart.type = EventType.NavigationStart - added:
readonly property ParamMap.keys: string[] - added:
readonly property ResolveEnd.type = EventType.ResolveEnd - added:
readonly property ResolveStart.type = EventType.ResolveStart - added:
readonly property RouteConfigLoadEnd.type = EventType.RouteConfigLoadEnd - added:
readonly property RouteConfigLoadStart.type = EventType.RouteConfigLoadStart - added:
readonly property Router.events: Observable<Event_2> - added:
readonly property Router.routerState: RouterState - added:
readonly property RouterLinkActive.isActive: boolean - added:
readonly property RouterLinkActive.isActiveChange: EventEmitter<boolean> - added:
readonly property RoutesRecognized.type = EventType.RoutesRecognized - added:
readonly property Scroll.anchor: string | null - added:
readonly property Scroll.position: [number, number] | null - added:
readonly property Scroll.routerEvent: NavigationEnd - added:
readonly property Scroll.type = EventType.Scroll - added:
set RouterLink.preserveFragment(preserveFragment: boolean | string | null | undefined) - added:
set RouterLink.replaceUrl(replaceUrl: boolean | string | null | undefined) - added:
set RouterLink.routerLink(commands: any[] | string | null | undefined) - added:
set RouterLink.skipLocationChange(skipLocationChange: boolean | string | null | undefined) - added:
set RouterLinkActive.routerLinkActive(data: string[] | string) - added:
set RouterLinkWithHref.preserveFragment(preserveFragment: boolean | string | null | undefined) - added:
set RouterLinkWithHref.replaceUrl(replaceUrl: boolean | string | null | undefined) - added:
set RouterLinkWithHref.routerLink(commands: any[] | string | null | undefined) - added:
set RouterLinkWithHref.skipLocationChange(skipLocationChange: boolean | string | null | undefined) - added:
static method RouterModule.forChild(routes: Routes): ModuleWithProviders<RouterModule> - added:
static method RouterModule.forRoot(routes: Routes, config?: ExtraOptions): ModuleWithProviders<RouterModule> - added:
static property ChildrenOutletContexts.ɵfac: i0.ɵɵFactoryDeclaration<ChildrenOutletContexts, never> - added:
static property ChildrenOutletContexts.ɵprov: i0.ɵɵInjectableDeclaration<ChildrenOutletContexts> - added:
static property DefaultTitleStrategy.ɵfac: i0.ɵɵFactoryDeclaration<DefaultTitleStrategy, never> - added:
static property DefaultTitleStrategy.ɵprov: i0.ɵɵInjectableDeclaration<DefaultTitleStrategy> - added:
static property NoPreloading.ɵfac: i0.ɵɵFactoryDeclaration<NoPreloading, never> - added:
static property NoPreloading.ɵprov: i0.ɵɵInjectableDeclaration<NoPreloading> - added:
static property PreloadAllModules.ɵfac: i0.ɵɵFactoryDeclaration<PreloadAllModules, never> - added:
static property PreloadAllModules.ɵprov: i0.ɵɵInjectableDeclaration<PreloadAllModules> - added:
static property Router.ɵfac: i0.ɵɵFactoryDeclaration<Router, never> - added:
static property Router.ɵprov: i0.ɵɵInjectableDeclaration<Router> - added:
static property RouterLink.ɵdir: i0.ɵɵDirectiveDeclaration<RouterLink, ':not(a):not(area)[routerLink]', never, { 'queryParams': 'queryParams'; 'fragment': 'fragment'; 'queryParamsHandling': 'queryParamsHandling'; 'state': 'state'; 'relativeTo': 'relativeTo'; 'preserveFragment': 'preserveFragment'; 'skipLocationChange': 'skipLocationChange'; 'replaceUrl': 'replaceUrl'; 'routerLink': 'routerLink' }… - added:
static property RouterLink.ɵfac: i0.ɵɵFactoryDeclaration<RouterLink, [null, null, { attribute: 'tabindex' }, null, null]> - added:
static property RouterLinkActive.ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkActive, '[routerLinkActive]', ['routerLinkActive'], { 'routerLinkActiveOptions': 'routerLinkActiveOptions'; 'ariaCurrentWhenActive': 'ariaCurrentWhenActive'; 'routerLinkActive': 'routerLinkActive' }, { 'isActiveChange': 'isActiveChange' }, ['links', 'linksWithHrefs'], never, true> - added:
static property RouterLinkActive.ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkActive, [null, null, null, null, { optional: true }, { optional: true }]> - added:
static property RouterLinkWithHref.ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkWithHref, 'a[routerLink],area[routerLink]', never, { 'target': 'target'; 'queryParams': 'queryParams'; 'fragment': 'fragment'; 'queryParamsHandling': 'queryParamsHandling'; 'state': 'state'; 'relativeTo': 'relativeTo'; 'preserveFragment': 'preserveFragment'; 'skipLocationChange': 'skipLocationChange'; 'replaceUrl': 'repl… - added:
static property RouterLinkWithHref.ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkWithHref, never> - added:
static property RouterModule.ɵfac: i0.ɵɵFactoryDeclaration<RouterModule, [{ optional: true }]> - added:
static property RouterModule.ɵinj: i0.ɵɵInjectorDeclaration<RouterModule> - added:
static property RouterModule.ɵmod: i0.ɵɵNgModuleDeclaration<RouterModule, never, [typeof i1.RouterOutlet, typeof i2.RouterLink, typeof i2.RouterLinkWithHref, typeof i3.RouterLinkActive, typeof i4.ɵEmptyOutletComponent], [typeof i1.RouterOutlet, typeof i2.RouterLink, typeof i2.RouterLinkWithHref, typeof i3.RouterLinkActive, typeof i4.ɵEmptyOutletComponent]> - added:
static property RouterOutlet.ɵdir: i0.ɵɵDirectiveDeclaration<RouterOutlet, 'router-outlet', ['outlet'], {}, { 'activateEvents': 'activate'; 'deactivateEvents': 'deactivate'; 'attachEvents': 'attach'; 'detachEvents': 'detach' }, never, never, true> - added:
static property RouterOutlet.ɵfac: i0.ɵɵFactoryDeclaration<RouterOutlet, [null, null, { attribute: 'name' }, null, null]> - added:
static property RouterPreloader.ɵfac: i0.ɵɵFactoryDeclaration<RouterPreloader, never> - added:
static property RouterPreloader.ɵprov: i0.ɵɵInjectableDeclaration<RouterPreloader> - added:
static property TitleStrategy.ɵfac: i0.ɵɵFactoryDeclaration<TitleStrategy, never> - added:
static property TitleStrategy.ɵprov: i0.ɵɵInjectableDeclaration<TitleStrategy> - added:
static property UrlSerializer.ɵfac: i0.ɵɵFactoryDeclaration<UrlSerializer, never> - added:
static property UrlSerializer.ɵprov: i0.ɵɵInjectableDeclaration<UrlSerializer> - added:
static property ɵEmptyOutletComponent.ɵcmp: i0.ɵɵComponentDeclaration<ɵEmptyOutletComponent, 'ng-component', never, {}, {}, never, never, true> - added:
static property ɵEmptyOutletComponent.ɵfac: i0.ɵɵFactoryDeclaration<ɵEmptyOutletComponent, never> - added:
type CanActivateChildFn = (childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot) => Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - added:
type CanActivateFn = (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - added:
type CanDeactivateFn<T> = (component: T, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot) => Observable<boolean | UrlTree> | Pro… - added:
type CanLoadFn = (route: Route, segments: UrlSegment[]) => Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - added:
type CanMatchFn = (route: Route, segments: UrlSegment[]) => Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - added:
type Data = { [key: string | symbol]: any } - added:
type DebugTracingFeature = RouterFeature<RouterFeatureKind.DebugTracingFeature> - added:
type DetachedRouteHandle = {} - added:
type DisabledInitialNavigationFeature = RouterFeature<RouterFeatureKind.DisabledInitialNavigationFeature> - added:
type EnabledBlockingInitialNavigationFeature = RouterFeature<RouterFeatureKind.EnabledBlockingInitialNavigationFeature> - added:
type Event = RouterEvent | NavigationStart | NavigationEnd | NavigationCancel | NavigationError | RoutesRecognized | GuardsCheckStart | GuardsCheckEnd | RouteConfigLoadStar… - added:
type InMemoryScrollingFeature = RouterFeature<RouterFeatureKind.InMemoryScrollingFeature> - added:
type InitialNavigation = 'disabled' | 'enabledBlocking' | 'enabledNonBlocking' - added:
type InitialNavigationFeature = EnabledBlockingInitialNavigationFeature | DisabledInitialNavigationFeature - added:
type LoadChildren = LoadChildrenCallback - added:
type LoadChildrenCallback = () => Type<any> | NgModuleFactory<any> | Routes | Observable<Type<any> | Routes> | Promise<NgModuleFactory<any> | Type<any> | Routes> - added:
type Params = { [key: string]: any } - added:
type PreloadingFeature = RouterFeature<RouterFeatureKind.PreloadingFeature> - added:
type QueryParamsHandling = 'merge' | 'preserve' | '' - added:
type ResolveData = { [key: string | symbol]: any | ResolveFn<unknown> } - added:
type ResolveFn<T> = (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => Observable<T> | Promise<T> | T - added:
type RouterConfigurationFeature = RouterFeature<RouterFeatureKind.RouterConfigurationFeature> - added:
type RouterFeatures = PreloadingFeature | DebugTracingFeature | InitialNavigationFeature | InMemoryScrollingFeature | RouterConfigurationFeature - added:
type Routes = Route[] - added:
type RunGuardsAndResolvers = 'pathParamsChange' | 'pathParamsOrQueryParamsChange' | 'paramsChange' | 'paramsOrQueryParamsChange' | 'always' | ((from: ActivatedRouteSnapshot, to: ActivatedR… - added:
type UrlMatchResult = { consumed: UrlSegment[]; posParams?: { [name: string]: UrlSegment } } - added:
type UrlMatcher = (segments: UrlSegment[], group: UrlSegmentGroup, route: Route) => UrlMatchResult | null - added:
type ɵRestoredState = { [k: string]: any; navigationId: number; ɵrouterPageId?: number }
- removed:
abstract class BaseRouteReuseStrategy implements RouteReuseStrategy - removed:
abstract class PreloadingStrategy - removed:
abstract class RouteReuseStrategy - removed:
abstract class UrlHandlingStrategy - removed:
abstract class UrlSerializer - removed:
abstract method PreloadingStrategy.preload(route: Route, fn: () => Observable<any>): Observable<any> - removed:
abstract method RouteReuseStrategy.retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null - removed:
abstract method RouteReuseStrategy.shouldAttach(route: ActivatedRouteSnapshot): boolean - removed:
abstract method RouteReuseStrategy.shouldDetach(route: ActivatedRouteSnapshot): boolean - removed:
abstract method RouteReuseStrategy.shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean - removed:
abstract method RouteReuseStrategy.store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle | null): void - removed:
abstract method UrlHandlingStrategy.extract(url: UrlTree): UrlTree - removed:
abstract method UrlHandlingStrategy.merge(newUrlPart: UrlTree, rawUrl: UrlTree): UrlTree - removed:
abstract method UrlHandlingStrategy.shouldProcessUrl(url: UrlTree): boolean - removed:
abstract method UrlSerializer.parse(url: string): UrlTree - removed:
abstract method UrlSerializer.serialize(tree: UrlTree): string - removed:
class ActivatedRoute - removed:
class ActivatedRouteSnapshot - removed:
class ActivationEnd - removed:
class ActivationStart - removed:
class ChildActivationEnd - removed:
class ChildActivationStart - removed:
class ChildrenOutletContexts - removed:
class DefaultUrlSerializer implements UrlSerializer - removed:
class GuardsCheckEnd extends RouterEvent - removed:
class GuardsCheckStart extends RouterEvent - removed:
class NavigationCancel extends RouterEvent - removed:
class NavigationEnd extends RouterEvent - removed:
class NavigationError extends RouterEvent - removed:
class NavigationStart extends RouterEvent - removed:
class NoPreloading implements PreloadingStrategy - removed:
class OutletContext - removed:
class PreloadAllModules implements PreloadingStrategy - removed:
class ResolveEnd extends RouterEvent - removed:
class ResolveStart extends RouterEvent - removed:
class RouteConfigLoadEnd - removed:
class RouteConfigLoadStart - removed:
class Router - removed:
class RouterEvent - removed:
class RouterLink implements OnChanges - removed:
class RouterLinkActive implements OnChanges, OnDestroy, AfterContentInit - removed:
class RouterLinkWithHref implements OnChanges, OnDestroy - removed:
class RouterModule - removed:
class RouterOutlet implements OnDestroy, OnInit, RouterOutletContract - removed:
class RouterPreloader implements OnDestroy - removed:
class RouterState extends Tree<ActivatedRoute> - removed:
class RouterStateSnapshot extends Tree<ActivatedRouteSnapshot> - removed:
class RoutesRecognized extends RouterEvent - removed:
class Scroll - removed:
class UrlSegment - removed:
class UrlSegmentGroup - removed:
class UrlTree - removed:
class ɵEmptyOutletComponent - removed:
const PRIMARY_OUTLET = 'primary' - removed:
const ROUTER_CONFIGURATION: InjectionToken<ExtraOptions> - removed:
const ROUTER_INITIALIZER: InjectionToken<(compRef: ComponentRef<any>) => void> - removed:
const ROUTES: InjectionToken<Route[][]> - removed:
const VERSION: Version - removed:
const ɵROUTER_PROVIDERS: Provider[] - removed:
constructor ActivationEnd(snapshot: ActivatedRouteSnapshot) - removed:
constructor ActivationStart(snapshot: ActivatedRouteSnapshot) - removed:
constructor ChildActivationEnd(snapshot: ActivatedRouteSnapshot) - removed:
constructor ChildActivationStart(snapshot: ActivatedRouteSnapshot) - removed:
constructor GuardsCheckEnd(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot, shouldActivate: boolean) - removed:
constructor GuardsCheckStart(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot) - removed:
constructor NavigationCancel(id: number, url: string, reason: string) - removed:
constructor NavigationEnd(id: number, url: string, urlAfterRedirects: string) - removed:
constructor NavigationError(id: number, url: string, error: any) - removed:
constructor NavigationStart(id: number, url: string, navigationTrigger?: 'imperative' | 'popstate' | 'hashchange', restoredState?: { [k: string]: any; navigationId: number } | null) - removed:
constructor ResolveEnd(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot) - removed:
constructor ResolveStart(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot) - removed:
constructor RouteConfigLoadEnd(route: Route) - removed:
constructor RouteConfigLoadStart(route: Route) - removed:
constructor Router(rootComponentType: Type<any> | null, urlSerializer: UrlSerializer, rootContexts: ChildrenOutletContexts, location: Location_2, injector: Injector, compiler: Compiler, config: Routes) - removed:
constructor RouterEvent(id: number, url: string) - removed:
constructor RouterLink(router: Router, route: ActivatedRoute, tabIndexAttribute: string | null | undefined, renderer: Renderer2, el: ElementRef) - removed:
constructor RouterLinkActive(router: Router, element: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, link?: RouterLink | undefined, linkWithHref?: RouterLinkWithHref | undefined) - removed:
constructor RouterLinkWithHref(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy) - removed:
constructor RouterModule(guard: any, router: Router) - removed:
constructor RouterOutlet(parentContexts: ChildrenOutletContexts, location: ViewContainerRef, resolver: ComponentFactoryResolver, name: string, changeDetector: ChangeDetectorRef) - removed:
constructor RouterPreloader(router: Router, compiler: Compiler, injector: Injector, preloadingStrategy: PreloadingStrategy) - removed:
constructor RoutesRecognized(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot) - removed:
constructor Scroll(routerEvent: NavigationEnd, position: [number, number] | null, anchor: string | null) - removed:
constructor UrlSegment(path: string, parameters: { [name: string]: string }) - removed:
constructor UrlSegmentGroup(segments: UrlSegment[], children: { [key: string]: UrlSegmentGroup }) - removed:
function convertToParamMap(params: Params): ParamMap - removed:
function provideRoutes(routes: Routes): any - removed:
function ɵassignExtraOptionsToRouter(opts: ExtraOptions, router: Router): void - removed:
function ɵflatten<T>(arr: T[][]): T[] - removed:
get ActivatedRoute.children(): ActivatedRoute[] - removed:
get ActivatedRoute.firstChild(): ActivatedRoute | null - removed:
get ActivatedRoute.paramMap(): Observable<ParamMap> - removed:
get ActivatedRoute.parent(): ActivatedRoute | null - removed:
get ActivatedRoute.pathFromRoot(): ActivatedRoute[] - removed:
get ActivatedRoute.queryParamMap(): Observable<ParamMap> - removed:
get ActivatedRoute.root(): ActivatedRoute - removed:
get ActivatedRoute.routeConfig(): Route | null - removed:
get ActivatedRouteSnapshot.children(): ActivatedRouteSnapshot[] - removed:
get ActivatedRouteSnapshot.firstChild(): ActivatedRouteSnapshot | null - removed:
get ActivatedRouteSnapshot.paramMap(): ParamMap - removed:
get ActivatedRouteSnapshot.parent(): ActivatedRouteSnapshot | null - removed:
get ActivatedRouteSnapshot.pathFromRoot(): ActivatedRouteSnapshot[] - removed:
get ActivatedRouteSnapshot.queryParamMap(): ParamMap - removed:
get ActivatedRouteSnapshot.root(): ActivatedRouteSnapshot - removed:
get Router.url(): string - removed:
get RouterLink.urlTree(): UrlTree | null - removed:
get RouterLinkWithHref.urlTree(): UrlTree | null - removed:
get RouterOutlet.activatedRoute(): ActivatedRoute - removed:
get RouterOutlet.activatedRouteData(): Data - removed:
get RouterOutlet.component(): Object - removed:
get RouterOutlet.isActivated(): boolean - removed:
get UrlSegment.parameterMap(): ParamMap - removed:
get UrlSegmentGroup.numberOfChildren(): number - removed:
get UrlTree.queryParamMap(): ParamMap - removed:
interface CanActivate - removed:
interface CanActivateChild - removed:
interface CanDeactivate<T> - removed:
interface CanLoad - removed:
interface ExtraOptions - removed:
interface IsActiveMatchOptions - removed:
interface Navigation - removed:
interface NavigationBehaviorOptions - removed:
interface NavigationExtras extends UrlCreationOptions, NavigationBehaviorOptions - removed:
interface ParamMap - removed:
interface Resolve<T> - removed:
interface Route - removed:
interface RouterOutletContract - removed:
interface UrlCreationOptions - removed:
method ActivatedRoute.toString(): string - removed:
method ActivatedRouteSnapshot.toString(): string - removed:
method ActivationEnd.toString(): string - removed:
method ActivationStart.toString(): string - removed:
method BaseRouteReuseStrategy.retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null - removed:
method BaseRouteReuseStrategy.shouldAttach(route: ActivatedRouteSnapshot): boolean - removed:
method BaseRouteReuseStrategy.shouldDetach(route: ActivatedRouteSnapshot): boolean - removed:
method BaseRouteReuseStrategy.shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean - removed:
method BaseRouteReuseStrategy.store(route: ActivatedRouteSnapshot, detachedTree: DetachedRouteHandle): void - removed:
method CanActivate.canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - removed:
method CanActivateChild.canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - removed:
method CanDeactivate.canDeactivate(component: T, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - removed:
method CanLoad.canLoad(route: Route, segments: UrlSegment[]): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - removed:
method ChildActivationEnd.toString(): string - removed:
method ChildActivationStart.toString(): string - removed:
method ChildrenOutletContexts.getContext(childName: string): OutletContext | null - removed:
method ChildrenOutletContexts.getOrCreateContext(childName: string): OutletContext - removed:
method ChildrenOutletContexts.onChildOutletCreated(childName: string, outlet: RouterOutletContract): void - removed:
method ChildrenOutletContexts.onChildOutletDestroyed(childName: string): void - removed:
method ChildrenOutletContexts.onOutletDeactivated(): Map<string, OutletContext> - removed:
method ChildrenOutletContexts.onOutletReAttached(contexts: Map<string, OutletContext>): void - removed:
method DefaultUrlSerializer.parse(url: string): UrlTree - removed:
method DefaultUrlSerializer.serialize(tree: UrlTree): string - removed:
method GuardsCheckEnd.toString(): string - removed:
method GuardsCheckStart.toString(): string - removed:
method NavigationCancel.toString(): string - removed:
method NavigationEnd.toString(): string - removed:
method NavigationError.toString(): string - removed:
method NavigationStart.toString(): string - removed:
method NoPreloading.preload(route: Route, fn: () => Observable<any>): Observable<any> - removed:
method ParamMap.get(name: string): string | null - removed:
method ParamMap.getAll(name: string): string[] - removed:
method ParamMap.has(name: string): boolean - removed:
method PreloadAllModules.preload(route: Route, fn: () => Observable<any>): Observable<any> - removed:
method Resolve.resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<T> | Promise<T> | T - removed:
method ResolveEnd.toString(): string - removed:
method ResolveStart.toString(): string - removed:
method RouteConfigLoadEnd.toString(): string - removed:
method RouteConfigLoadStart.toString(): string - removed:
method Router.createUrlTree(commands: any[], navigationExtras?: UrlCreationOptions): UrlTree - removed:
method Router.dispose(): void - removed:
method Router.getCurrentNavigation(): Navigation | null - removed:
method Router.initialNavigation(): void - removed:
method Router.isActive(url: string | UrlTree, exact: boolean): boolean - removed:
method Router.isActive(url: string | UrlTree, matchOptions: IsActiveMatchOptions): boolean - removed:
method Router.navigate(commands: any[], extras?: NavigationExtras): Promise<boolean> - removed:
method Router.navigateByUrl(url: string | UrlTree, extras?: NavigationBehaviorOptions): Promise<boolean> - removed:
method Router.ngOnDestroy(): void - removed:
method Router.parseUrl(url: string): UrlTree - removed:
method Router.resetConfig(config: Routes): void - removed:
method Router.serializeUrl(url: UrlTree): string - removed:
method Router.setUpLocationChangeListener(): void - removed:
method RouterLink.ngOnChanges(changes: SimpleChanges): void - removed:
method RouterLink.onClick(): boolean - removed:
method RouterLinkActive.ngAfterContentInit(): void - removed:
method RouterLinkActive.ngOnChanges(changes: SimpleChanges): void - removed:
method RouterLinkActive.ngOnDestroy(): void - removed:
method RouterLinkWithHref.ngOnChanges(changes: SimpleChanges): any - removed:
method RouterLinkWithHref.ngOnDestroy(): any - removed:
method RouterLinkWithHref.onClick(button: number, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean - removed:
method RouterOutlet.activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void - removed:
method RouterOutlet.attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void - removed:
method RouterOutlet.deactivate(): void - removed:
method RouterOutlet.detach(): ComponentRef<any> - removed:
method RouterOutlet.ngOnDestroy(): void - removed:
method RouterOutlet.ngOnInit(): void - removed:
method RouterOutletContract.activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void - removed:
method RouterOutletContract.attach(ref: ComponentRef<unknown>, activatedRoute: ActivatedRoute): void - removed:
method RouterOutletContract.deactivate(): void - removed:
method RouterOutletContract.detach(): ComponentRef<unknown> - removed:
method RouterPreloader.ngOnDestroy(): void - removed:
method RouterPreloader.preload(): Observable<any> - removed:
method RouterPreloader.setUpPreloading(): void - removed:
method RouterState.toString(): string - removed:
method RouterStateSnapshot.toString(): string - removed:
method RoutesRecognized.toString(): string - removed:
method Scroll.toString(): string - removed:
method UrlSegment.toString(): string - removed:
method UrlSegmentGroup.hasChildren(): boolean - removed:
method UrlSegmentGroup.toString(): string - removed:
method UrlTree.toString(): string - removed:
property ActivatedRoute.component: Type<any> | string | null - removed:
property ActivatedRoute.data: Observable<Data> - removed:
property ActivatedRoute.fragment: Observable<string | null> - removed:
property ActivatedRoute.outlet: string - removed:
property ActivatedRoute.params: Observable<Params> - removed:
property ActivatedRoute.queryParams: Observable<Params> - removed:
property ActivatedRoute.snapshot: ActivatedRouteSnapshot - removed:
property ActivatedRoute.url: Observable<UrlSegment[]> - removed:
property ActivatedRouteSnapshot.component: Type<any> | string | null - removed:
property ActivatedRouteSnapshot.data: Data - removed:
property ActivatedRouteSnapshot.fragment: string | null - removed:
property ActivatedRouteSnapshot.outlet: string - removed:
property ActivatedRouteSnapshot.params: Params - removed:
property ActivatedRouteSnapshot.queryParams: Params - removed:
property ActivatedRouteSnapshot.url: UrlSegment[] - removed:
property ActivationEnd.snapshot: ActivatedRouteSnapshot - removed:
property ActivationStart.snapshot: ActivatedRouteSnapshot - removed:
property ChildActivationEnd.snapshot: ActivatedRouteSnapshot - removed:
property ChildActivationStart.snapshot: ActivatedRouteSnapshot - removed:
property ExtraOptions.anchorScrolling?: 'disabled' | 'enabled' - removed:
property ExtraOptions.canceledNavigationResolution?: 'replace' | 'computed' - removed:
property ExtraOptions.enableTracing?: boolean - removed:
property ExtraOptions.errorHandler?: ErrorHandler - removed:
property ExtraOptions.initialNavigation?: InitialNavigation - removed:
property ExtraOptions.malformedUriErrorHandler?: (error: URIError, urlSerializer: UrlSerializer, url: string) => UrlTree - removed:
property ExtraOptions.onSameUrlNavigation?: 'reload' | 'ignore' - removed:
property ExtraOptions.paramsInheritanceStrategy?: 'emptyOnly' | 'always' - removed:
property ExtraOptions.preloadingStrategy?: any - removed:
property ExtraOptions.relativeLinkResolution?: 'legacy' | 'corrected' - removed:
property ExtraOptions.scrollOffset?: [number, number] | (() => [number, number]) - removed:
property ExtraOptions.scrollPositionRestoration?: 'disabled' | 'enabled' | 'top' - removed:
property ExtraOptions.urlUpdateStrategy?: 'deferred' | 'eager' - removed:
property ExtraOptions.useHash?: boolean - removed:
property GuardsCheckEnd.shouldActivate: boolean - removed:
property GuardsCheckEnd.state: RouterStateSnapshot - removed:
property GuardsCheckEnd.urlAfterRedirects: string - removed:
property GuardsCheckStart.state: RouterStateSnapshot - removed:
property GuardsCheckStart.urlAfterRedirects: string - removed:
property IsActiveMatchOptions.fragment: 'exact' | 'ignored' - removed:
property IsActiveMatchOptions.matrixParams: 'exact' | 'subset' | 'ignored' - removed:
property IsActiveMatchOptions.paths: 'exact' | 'subset' - removed:
property IsActiveMatchOptions.queryParams: 'exact' | 'subset' | 'ignored' - removed:
property Navigation.extractedUrl: UrlTree - removed:
property Navigation.extras: NavigationExtras - removed:
property Navigation.finalUrl?: UrlTree - removed:
property Navigation.id: number - removed:
property Navigation.initialUrl: string | UrlTree - removed:
property Navigation.previousNavigation: Navigation | null - removed:
property Navigation.trigger: 'imperative' | 'popstate' | 'hashchange' - removed:
property NavigationBehaviorOptions.replaceUrl?: boolean - removed:
property NavigationBehaviorOptions.skipLocationChange?: boolean - removed:
property NavigationBehaviorOptions.state?: { [k: string]: any } - removed:
property NavigationCancel.reason: string - removed:
property NavigationEnd.urlAfterRedirects: string - removed:
property NavigationError.error: any - removed:
property NavigationStart.navigationTrigger?: 'imperative' | 'popstate' | 'hashchange' - removed:
property NavigationStart.restoredState?: { [k: string]: any; navigationId: number } | null - removed:
property OutletContext.attachRef: ComponentRef<any> | null - removed:
property OutletContext.children: ChildrenOutletContexts - removed:
property OutletContext.outlet: RouterOutletContract | null - removed:
property OutletContext.resolver: ComponentFactoryResolver | null - removed:
property OutletContext.route: ActivatedRoute | null - removed:
property ResolveEnd.state: RouterStateSnapshot - removed:
property ResolveEnd.urlAfterRedirects: string - removed:
property ResolveStart.state: RouterStateSnapshot - removed:
property ResolveStart.urlAfterRedirects: string - removed:
property Route.canActivate?: any[] - removed:
property Route.canActivateChild?: any[] - removed:
property Route.canDeactivate?: any[] - removed:
property Route.canLoad?: any[] - removed:
property Route.children?: Routes - removed:
property Route.component?: Type<any> - removed:
property Route.data?: Data - removed:
property Route.loadChildren?: LoadChildren - removed:
property Route.matcher?: UrlMatcher - removed:
property Route.outlet?: string - removed:
property Route.path?: string - removed:
property Route.pathMatch?: string - removed:
property Route.redirectTo?: string - removed:
property Route.resolve?: ResolveData - removed:
property Route.runGuardsAndResolvers?: RunGuardsAndResolvers - removed:
property RouteConfigLoadEnd.route: Route - removed:
property RouteConfigLoadStart.route: Route - removed:
property Router.canceledNavigationResolution: 'replace' | 'computed' - removed:
property Router.config: Routes - removed:
property Router.errorHandler: ErrorHandler - removed:
property Router.malformedUriErrorHandler: (error: URIError, urlSerializer: UrlSerializer, url: string) => UrlTree - removed:
property Router.navigated: boolean - removed:
property Router.onSameUrlNavigation: 'reload' | 'ignore' - removed:
property Router.paramsInheritanceStrategy: 'emptyOnly' | 'always' - removed:
property Router.relativeLinkResolution: 'legacy' | 'corrected' - removed:
property Router.routeReuseStrategy: RouteReuseStrategy - removed:
property Router.urlHandlingStrategy: UrlHandlingStrategy - removed:
property Router.urlUpdateStrategy: 'deferred' | 'eager' - removed:
property RouterEvent.id: number - removed:
property RouterEvent.url: string - removed:
property RouterLink.fragment?: string - removed:
property RouterLink.preserveFragment: boolean - removed:
property RouterLink.queryParams?: Params | null - removed:
property RouterLink.queryParamsHandling?: QueryParamsHandling | null - removed:
property RouterLink.relativeTo?: ActivatedRoute | null - removed:
property RouterLink.replaceUrl: boolean - removed:
property RouterLink.skipLocationChange: boolean - removed:
property RouterLink.state?: { [k: string]: any } - removed:
property RouterLinkActive.links: QueryList<RouterLink> - removed:
property RouterLinkActive.linksWithHrefs: QueryList<RouterLinkWithHref> - removed:
property RouterLinkActive.routerLinkActiveOptions: { exact: boolean } | IsActiveMatchOptions - removed:
property RouterLinkWithHref.fragment?: string - removed:
property RouterLinkWithHref.href: string | null - removed:
property RouterLinkWithHref.preserveFragment: boolean - removed:
property RouterLinkWithHref.queryParams?: Params | null - removed:
property RouterLinkWithHref.queryParamsHandling?: QueryParamsHandling | null - removed:
property RouterLinkWithHref.relativeTo?: ActivatedRoute | null - removed:
property RouterLinkWithHref.replaceUrl: boolean - removed:
property RouterLinkWithHref.skipLocationChange: boolean - removed:
property RouterLinkWithHref.state?: { [k: string]: any } - removed:
property RouterLinkWithHref.target: string - removed:
property RouterOutlet.activateEvents: EventEmitter<any> - removed:
property RouterOutlet.attachEvents: EventEmitter<unknown> - removed:
property RouterOutlet.deactivateEvents: EventEmitter<any> - removed:
property RouterOutlet.detachEvents: EventEmitter<unknown> - removed:
property RouterOutletContract.activateEvents?: EventEmitter<unknown> - removed:
property RouterOutletContract.activatedRoute: ActivatedRoute | null - removed:
property RouterOutletContract.activatedRouteData: Data - removed:
property RouterOutletContract.attachEvents?: EventEmitter<unknown> - removed:
property RouterOutletContract.component: Object | null - removed:
property RouterOutletContract.deactivateEvents?: EventEmitter<unknown> - removed:
property RouterOutletContract.detachEvents?: EventEmitter<unknown> - removed:
property RouterOutletContract.isActivated: boolean - removed:
property RouterState.snapshot: RouterStateSnapshot - removed:
property RouterStateSnapshot.url: string - removed:
property RoutesRecognized.state: RouterStateSnapshot - removed:
property RoutesRecognized.urlAfterRedirects: string - removed:
property UrlCreationOptions.fragment?: string - removed:
property UrlCreationOptions.preserveFragment?: boolean - removed:
property UrlCreationOptions.queryParams?: Params | null - removed:
property UrlCreationOptions.queryParamsHandling?: QueryParamsHandling | null - removed:
property UrlCreationOptions.relativeTo?: ActivatedRoute | null - removed:
property UrlSegment.parameters: { [name: string]: string } - removed:
property UrlSegment.path: string - removed:
property UrlSegmentGroup.children: { [key: string]: UrlSegmentGroup } - removed:
property UrlSegmentGroup.parent: UrlSegmentGroup | null - removed:
property UrlSegmentGroup.segments: UrlSegment[] - removed:
property UrlTree.fragment: string | null - removed:
property UrlTree.queryParams: Params - removed:
property UrlTree.root: UrlSegmentGroup - removed:
readonly property ActivatedRouteSnapshot.routeConfig: Route | null - removed:
readonly property ParamMap.keys: string[] - removed:
readonly property Router.events: Observable<Event_2> - removed:
readonly property Router.routerState: RouterState - removed:
readonly property RouterLinkActive.isActive: boolean - removed:
readonly property RouterLinkActive.isActiveChange: EventEmitter<boolean> - removed:
readonly property Scroll.anchor: string | null - removed:
readonly property Scroll.position: [number, number] | null - removed:
readonly property Scroll.routerEvent: NavigationEnd - removed:
set RouterLink.routerLink(commands: any[] | string | null | undefined) - removed:
set RouterLinkActive.routerLinkActive(data: string[] | string) - removed:
set RouterLinkWithHref.routerLink(commands: any[] | string | null | undefined) - removed:
static method RouterModule.forChild(routes: Routes): ModuleWithProviders<RouterModule> - removed:
static method RouterModule.forRoot(routes: Routes, config?: ExtraOptions): ModuleWithProviders<RouterModule> - removed:
static property Router.ɵfac: i0.ɵɵFactoryDeclaration<Router, never> - removed:
static property Router.ɵprov: i0.ɵɵInjectableDeclaration<Router> - removed:
static property RouterLink.ɵdir: i0.ɵɵDirectiveDeclaration<RouterLink, ':not(a):not(area)[routerLink]', never, { 'queryParams': 'queryParams'; 'fragment': 'fragment'; 'queryParamsHandling': 'queryParamsHandling'; 'preserveFragment': 'preserveFragment'; 'skipLocationChange': 'skipLocationChange'; 'replaceUrl': 'replaceUrl'; 'state': 'state'; 'relativeTo': 'relativeTo'; 'routerLink': 'routerLink' }… - removed:
static property RouterLink.ɵfac: i0.ɵɵFactoryDeclaration<RouterLink, [null, null, { attribute: 'tabindex' }, null, null]> - removed:
static property RouterLinkActive.ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkActive, '[routerLinkActive]', ['routerLinkActive'], { 'routerLinkActiveOptions': 'routerLinkActiveOptions'; 'routerLinkActive': 'routerLinkActive' }, { 'isActiveChange': 'isActiveChange' }, ['links', 'linksWithHrefs']> - removed:
static property RouterLinkActive.ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkActive, [null, null, null, null, { optional: true }, { optional: true }]> - removed:
static property RouterLinkWithHref.ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkWithHref, 'a[routerLink],area[routerLink]', never, { 'target': 'target'; 'queryParams': 'queryParams'; 'fragment': 'fragment'; 'queryParamsHandling': 'queryParamsHandling'; 'preserveFragment': 'preserveFragment'; 'skipLocationChange': 'skipLocationChange'; 'replaceUrl': 'replaceUrl'; 'state': 'state'; 'relativeTo': 'rela… - removed:
static property RouterLinkWithHref.ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkWithHref, never> - removed:
static property RouterModule.ɵfac: i0.ɵɵFactoryDeclaration<RouterModule, [{ optional: true }, { optional: true }]> - removed:
static property RouterModule.ɵinj: i0.ɵɵInjectorDeclaration<RouterModule> - removed:
static property RouterModule.ɵmod: i0.ɵɵNgModuleDeclaration<RouterModule, [typeof i1.RouterOutlet, typeof i2.RouterLink, typeof i2.RouterLinkWithHref, typeof i3.RouterLinkActive, typeof i4.ɵEmptyOutletComponent], never, [typeof i1.RouterOutlet, typeof i2.RouterLink, typeof i2.RouterLinkWithHref, typeof i3.RouterLinkActive, typeof i4.ɵEmptyOutletComponent]> - removed:
static property RouterOutlet.ɵdir: i0.ɵɵDirectiveDeclaration<RouterOutlet, 'router-outlet', ['outlet'], {}, { 'activateEvents': 'activate'; 'deactivateEvents': 'deactivate'; 'attachEvents': 'attach'; 'detachEvents': 'detach' }, never> - removed:
static property RouterOutlet.ɵfac: i0.ɵɵFactoryDeclaration<RouterOutlet, [null, null, null, { attribute: 'name' }, null]> - removed:
static property RouterPreloader.ɵfac: i0.ɵɵFactoryDeclaration<RouterPreloader, never> - removed:
static property RouterPreloader.ɵprov: i0.ɵɵInjectableDeclaration<RouterPreloader> - removed:
static property ɵEmptyOutletComponent.ɵcmp: i0.ɵɵComponentDeclaration<ɵEmptyOutletComponent, 'ng-component', never, {}, {}, never, never> - removed:
static property ɵEmptyOutletComponent.ɵfac: i0.ɵɵFactoryDeclaration<ɵEmptyOutletComponent, never> - removed:
type Data = { [key: string | symbol]: any } - removed:
type DetachedRouteHandle = {} - removed:
type Event = RouterEvent | RouteConfigLoadStart | RouteConfigLoadEnd | ChildActivationStart | ChildActivationEnd | ActivationStart | ActivationEnd | Scroll - removed:
type InitialNavigation = 'disabled' | 'enabled' | 'enabledBlocking' | 'enabledNonBlocking' - removed:
type LoadChildren = LoadChildrenCallback - removed:
type LoadChildrenCallback = () => Type<any> | NgModuleFactory<any> | Observable<Type<any>> | Promise<NgModuleFactory<any> | Type<any> | any> - removed:
type Params = { [key: string]: any } - removed:
type QueryParamsHandling = 'merge' | 'preserve' | '' - removed:
type ResolveData = { [key: string | symbol]: any } - removed:
type Routes = Route[] - removed:
type RunGuardsAndResolvers = 'pathParamsChange' | 'pathParamsOrQueryParamsChange' | 'paramsChange' | 'paramsOrQueryParamsChange' | 'always' | ((from: ActivatedRouteSnapshot, to: ActivatedR… - removed:
type UrlMatchResult = { consumed: UrlSegment[]; posParams?: { [name: string]: UrlSegment } } - removed:
type UrlMatcher = (segments: UrlSegment[], group: UrlSegmentGroup, route: Route) => UrlMatchResult | null - removed:
type ɵRestoredState = { [k: string]: any; navigationId: number; ɵrouterPageId?: number }
- added:
class RouterTestingModule - added:
function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location_2, compiler: Compiler, injector: Injector, routes: Route[][], opts?: ExtraOptions | UrlHandlingStrategy | null, urlHandlingStrategy?: UrlHandlingStrategy, routeReuseStrategy?: RouteReuseStrategy, titleStrategy?: TitleStrategy): Router - added:
function setupTestingRouterInternal(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location_2, compiler: Compiler, injector: Injector, routes: Route[][], titleStrategy: TitleStrategy, opts?: ExtraOptions | UrlHandlingStrategy, urlHandlingStrategy?: UrlHandlingStrategy, routeReuseStrategy?: RouteReuseStrategy): Router - added:
static method RouterTestingModule.withRoutes(routes: Routes, config?: ExtraOptions): ModuleWithProviders<RouterTestingModule> - added:
static property RouterTestingModule.ɵfac: i0.ɵɵFactoryDeclaration<RouterTestingModule, never> - added:
static property RouterTestingModule.ɵinj: i0.ɵɵInjectorDeclaration<RouterTestingModule> - added:
static property RouterTestingModule.ɵmod: i0.ɵɵNgModuleDeclaration<RouterTestingModule, never, never, [typeof i1.RouterModule]>
- removed:
class RouterTestingModule - removed:
function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location_2, compiler: Compiler, injector: Injector, routes: Route[][], opts?: ExtraOptions | UrlHandlingStrategy, urlHandlingStrategy?: UrlHandlingStrategy, routeReuseStrategy?: RouteReuseStrategy): Router - removed:
static method RouterTestingModule.withRoutes(routes: Routes, config?: ExtraOptions): ModuleWithProviders<RouterTestingModule> - removed:
static property RouterTestingModule.ɵfac: i0.ɵɵFactoryDeclaration<RouterTestingModule, never> - removed:
static property RouterTestingModule.ɵinj: i0.ɵɵInjectorDeclaration<RouterTestingModule> - removed:
static property RouterTestingModule.ɵmod: i0.ɵɵNgModuleDeclaration<RouterTestingModule, never, never, [typeof i1.RouterModule]>
- added:
const RouterUpgradeInitializer: { provide: InjectionToken<((compRef: ComponentRef<any>) => void)[]>; multi: boolean; useFactory: (ngUpgrade: UpgradeModule) => () => void; deps: (typeof Upgrad… - added:
function setUpLocationSync(ngUpgrade: UpgradeModule, urlType?: 'path' | 'hash'): void
- removed:
const RouterUpgradeInitializer: { provide: InjectionToken<((compRef: ComponentRef<any>) => void)[]>; multi: boolean; useFactory: (ngUpgrade: UpgradeModule) => () => void; deps: (typeof Upgrad… - removed:
function setUpLocationSync(ngUpgrade: UpgradeModule, urlType?: 'path' | 'hash'): void