@angular/router 19.2.10 → 19.2.11
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/fesm2022/{router-B-Y85L0c.mjs → router-Dwfin5Au.mjs} +92 -92
- package/fesm2022/router-Dwfin5Au.mjs.map +1 -0
- package/fesm2022/router.mjs +4 -4
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/{router_module-RgZPgAJ4.mjs → router_module-DTJgGWLd.mjs} +34 -34
- package/fesm2022/router_module-DTJgGWLd.mjs.map +1 -0
- package/fesm2022/testing.mjs +15 -15
- package/fesm2022/upgrade.mjs +2 -2
- package/index.d.ts +5 -5
- package/package.json +4 -4
- package/{router_module.d-BivBj8FC.d.ts → router_module.d-DIceKvcB.d.ts} +12 -12
- package/testing/index.d.ts +3 -3
- package/upgrade/index.d.ts +1 -1
- package/fesm2022/router-B-Y85L0c.mjs.map +0 -1
- package/fesm2022/router_module-RgZPgAJ4.mjs.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.11
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { ActivatedRouteSnapshot, Params, UrlTree, RouterOutletContract, ActivatedRoute, RouterStateSnapshot, Route, LoadedRouterConfig, Router, Routes, InMemoryScrollingOptions, NavigationError, RedirectCommand, RouterConfigOptions, CanActivate, CanActivateFn, CanActivateChild, CanActivateChildFn, CanDeactivate, CanDeactivateFn, CanMatch, CanMatchFn, Resolve, ResolveFn, Event } from './router_module.d-
|
|
8
|
-
export { ActivationEnd, ActivationStart, BaseRouteReuseStrategy, CanLoad, CanLoadFn, ChildActivationEnd, ChildActivationStart, Data, DefaultExport, DefaultUrlSerializer, DeprecatedGuard, DetachedRouteHandle, EventType, ExtraOptions, GuardResult, GuardsCheckEnd, GuardsCheckStart, InitialNavigation, IsActiveMatchOptions, LoadChildren, LoadChildrenCallback, MaybeAsync, Navigation, NavigationBehaviorOptions, NavigationCancel, NavigationCancellationCode, NavigationEnd, NavigationExtras, NavigationSkipped, NavigationSkippedCode, NavigationStart, OnSameUrlNavigation, PRIMARY_OUTLET, ParamMap, QueryParamsHandling, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTER_OUTLET_DATA, RedirectFunction, ResolveData, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterState, RoutesRecognized, RunGuardsAndResolvers, Scroll, UrlCreationOptions, UrlMatchResult, UrlMatcher, UrlSegment, UrlSegmentGroup, UrlSerializer, convertToParamMap, defaultUrlMatcher, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, RestoredState as ɵRestoredState } from './router_module.d-
|
|
7
|
+
import { ActivatedRouteSnapshot, Params, UrlTree, RouterOutletContract, ActivatedRoute, RouterStateSnapshot, Route, LoadedRouterConfig, Router, Routes, InMemoryScrollingOptions, NavigationError, RedirectCommand, RouterConfigOptions, CanActivate, CanActivateFn, CanActivateChild, CanActivateChildFn, CanDeactivate, CanDeactivateFn, CanMatch, CanMatchFn, Resolve, ResolveFn, Event } from './router_module.d-DIceKvcB.js';
|
|
8
|
+
export { ActivationEnd, ActivationStart, BaseRouteReuseStrategy, CanLoad, CanLoadFn, ChildActivationEnd, ChildActivationStart, Data, DefaultExport, DefaultUrlSerializer, DeprecatedGuard, DetachedRouteHandle, EventType, ExtraOptions, GuardResult, GuardsCheckEnd, GuardsCheckStart, InitialNavigation, IsActiveMatchOptions, LoadChildren, LoadChildrenCallback, MaybeAsync, Navigation, NavigationBehaviorOptions, NavigationCancel, NavigationCancellationCode, NavigationEnd, NavigationExtras, NavigationSkipped, NavigationSkippedCode, NavigationStart, OnSameUrlNavigation, PRIMARY_OUTLET, ParamMap, QueryParamsHandling, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTER_OUTLET_DATA, RedirectFunction, ResolveData, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterState, RoutesRecognized, RunGuardsAndResolvers, Scroll, UrlCreationOptions, UrlMatchResult, UrlMatcher, UrlSegment, UrlSegmentGroup, UrlSerializer, convertToParamMap, defaultUrlMatcher, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, RestoredState as ɵRestoredState } from './router_module.d-DIceKvcB.js';
|
|
9
9
|
import { Title } from '@angular/platform-browser';
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
11
|
import { EnvironmentInjector, ComponentRef, InjectionToken, Type, Injector, Compiler, OnDestroy, Provider, EnvironmentProviders, Version } from '@angular/core';
|
|
@@ -88,7 +88,7 @@ declare class OutletContext {
|
|
|
88
88
|
declare class ChildrenOutletContexts {
|
|
89
89
|
private rootInjector;
|
|
90
90
|
private contexts;
|
|
91
|
-
/** @
|
|
91
|
+
/** @docs-private */
|
|
92
92
|
constructor(rootInjector: EnvironmentInjector);
|
|
93
93
|
/** Called when a `RouterOutlet` directive is instantiated */
|
|
94
94
|
onChildOutletCreated(childName: string, outlet: RouterOutletContract): void;
|
|
@@ -322,7 +322,7 @@ declare class RouterPreloader implements OnDestroy {
|
|
|
322
322
|
constructor(router: Router, injector: EnvironmentInjector, preloadingStrategy: PreloadingStrategy, loader: RouterConfigLoader);
|
|
323
323
|
setUpPreloading(): void;
|
|
324
324
|
preload(): Observable<any>;
|
|
325
|
-
/** @
|
|
325
|
+
/** @docs-private */
|
|
326
326
|
ngOnDestroy(): void;
|
|
327
327
|
private processRoutes;
|
|
328
328
|
private preloadConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/router",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.11",
|
|
4
4
|
"description": "Angular - the routing library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"tslib": "^2.3.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/core": "19.2.
|
|
28
|
-
"@angular/common": "19.2.
|
|
29
|
-
"@angular/platform-browser": "19.2.
|
|
27
|
+
"@angular/core": "19.2.11",
|
|
28
|
+
"@angular/common": "19.2.11",
|
|
29
|
+
"@angular/platform-browser": "19.2.11",
|
|
30
30
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
31
31
|
},
|
|
32
32
|
"ng-update": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.11
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -2751,14 +2751,14 @@ declare class RouterOutlet implements OnDestroy, OnInit, RouterOutletContract {
|
|
|
2751
2751
|
private location;
|
|
2752
2752
|
private changeDetector;
|
|
2753
2753
|
private inputBinder;
|
|
2754
|
-
/** @
|
|
2754
|
+
/** @docs-private */
|
|
2755
2755
|
readonly supportsBindingToComponentInputs = true;
|
|
2756
|
-
/** @
|
|
2756
|
+
/** @docs-private */
|
|
2757
2757
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2758
|
-
/** @
|
|
2758
|
+
/** @docs-private */
|
|
2759
2759
|
ngOnDestroy(): void;
|
|
2760
2760
|
private isTrackedInParentContexts;
|
|
2761
|
-
/** @
|
|
2761
|
+
/** @docs-private */
|
|
2762
2762
|
ngOnInit(): void;
|
|
2763
2763
|
private initializeOutletWithName;
|
|
2764
2764
|
get isActivated(): boolean;
|
|
@@ -3096,7 +3096,7 @@ declare class Router {
|
|
|
3096
3096
|
* ```
|
|
3097
3097
|
*/
|
|
3098
3098
|
resetConfig(config: Routes): void;
|
|
3099
|
-
/** @
|
|
3099
|
+
/** @docs-private */
|
|
3100
3100
|
ngOnDestroy(): void;
|
|
3101
3101
|
/** Disposes of the router. */
|
|
3102
3102
|
dispose(): void;
|
|
@@ -3425,7 +3425,7 @@ declare class RouterLink implements OnChanges, OnDestroy {
|
|
|
3425
3425
|
* instantiation.
|
|
3426
3426
|
*/
|
|
3427
3427
|
private setTabIndexIfNotOnNativeEl;
|
|
3428
|
-
/** @
|
|
3428
|
+
/** @docs-private */
|
|
3429
3429
|
ngOnChanges(changes?: SimpleChanges): void;
|
|
3430
3430
|
private routerLinkInput;
|
|
3431
3431
|
/**
|
|
@@ -3438,9 +3438,9 @@ declare class RouterLink implements OnChanges, OnDestroy {
|
|
|
3438
3438
|
* @see {@link Router#createUrlTree}
|
|
3439
3439
|
*/
|
|
3440
3440
|
set routerLink(commandsOrUrlTree: any[] | string | UrlTree | null | undefined);
|
|
3441
|
-
/** @
|
|
3441
|
+
/** @docs-private */
|
|
3442
3442
|
onClick(button: number, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean;
|
|
3443
|
-
/** @
|
|
3443
|
+
/** @docs-private */
|
|
3444
3444
|
ngOnDestroy(): any;
|
|
3445
3445
|
private updateHref;
|
|
3446
3446
|
private applyAttributeValue;
|
|
@@ -3569,13 +3569,13 @@ declare class RouterLinkActive implements OnChanges, OnDestroy, AfterContentInit
|
|
|
3569
3569
|
*/
|
|
3570
3570
|
readonly isActiveChange: EventEmitter<boolean>;
|
|
3571
3571
|
constructor(router: Router, element: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, link?: RouterLink | undefined);
|
|
3572
|
-
/** @
|
|
3572
|
+
/** @docs-private */
|
|
3573
3573
|
ngAfterContentInit(): void;
|
|
3574
3574
|
private subscribeToEachLinkOnChanges;
|
|
3575
3575
|
set routerLinkActive(data: string[] | string);
|
|
3576
|
-
/** @
|
|
3576
|
+
/** @docs-private */
|
|
3577
3577
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3578
|
-
/** @
|
|
3578
|
+
/** @docs-private */
|
|
3579
3579
|
ngOnDestroy(): void;
|
|
3580
3580
|
private update;
|
|
3581
3581
|
private isLinkActive;
|
package/testing/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.11
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { ModuleWithProviders, WritableSignal, DebugElement, Type } from '@angular/core';
|
|
9
|
-
import { Routes, ExtraOptions, RouterModule } from '../router_module.d-
|
|
10
|
-
export { ɵEmptyOutletComponent as ɵɵEmptyOutletComponent, RouterLink as ɵɵRouterLink, RouterLinkActive as ɵɵRouterLinkActive, RouterOutlet as ɵɵRouterOutlet } from '../router_module.d-
|
|
9
|
+
import { Routes, ExtraOptions, RouterModule } from '../router_module.d-DIceKvcB.js';
|
|
10
|
+
export { ɵEmptyOutletComponent as ɵɵEmptyOutletComponent, RouterLink as ɵɵRouterLink, RouterLinkActive as ɵɵRouterLinkActive, RouterOutlet as ɵɵRouterOutlet } from '../router_module.d-DIceKvcB.js';
|
|
11
11
|
import { ComponentFixture } from '@angular/core/testing';
|
|
12
12
|
import 'rxjs';
|
|
13
13
|
import '@angular/common';
|
package/upgrade/index.d.ts
CHANGED