@angular/router 21.2.4 → 21.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Angular v21.2.4
2
+ * @license Angular v21.2.6
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import { DOCUMENT, Location } from '@angular/common';
8
8
  import * as i0 from '@angular/core';
9
- import { ɵisPromise as _isPromise, computed, ɵRuntimeError as _RuntimeError, Injectable, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Directive, Input, Output, reflectComponentType, Component, runInInjectionContext, ɵisInjectable as _isInjectable, ɵisNgModule as _isNgModule, isStandalone, createEnvironmentInjector, Compiler, NgModuleFactory, ɵresolveComponentResources as _resolveComponentResources, afterNextRender, signal, EnvironmentInjector, DestroyRef, untracked, ɵConsole as _Console, ɵPendingTasksInternal as _PendingTasksInternal, ɵINTERNAL_APPLICATION_ERROR_HANDLER as _INTERNAL_APPLICATION_ERROR_HANDLER, ɵformatRuntimeError as _formatRuntimeError } from '@angular/core';
9
+ import { ɵisPromise as _isPromise, ɵRuntimeError as _RuntimeError, computed, Injectable, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Output, Input, Directive, reflectComponentType, ChangeDetectionStrategy, Component, runInInjectionContext, ɵisInjectable as _isInjectable, ɵisNgModule as _isNgModule, isStandalone, createEnvironmentInjector, Compiler, NgModuleFactory, ɵresolveComponentResources as _resolveComponentResources, afterNextRender, signal, EnvironmentInjector, DestroyRef, untracked, ɵConsole as _Console, ɵPendingTasksInternal as _PendingTasksInternal, ɵINTERNAL_APPLICATION_ERROR_HANDLER as _INTERNAL_APPLICATION_ERROR_HANDLER, ɵformatRuntimeError as _formatRuntimeError } from '@angular/core';
10
10
  import { isObservable, from, of, BehaviorSubject, combineLatest, EmptyError, Observable, concat, defer, pipe, EMPTY, throwError, Subject, Subscription } from 'rxjs';
11
11
  import { first, map, switchMap, take, startWith, filter, takeUntil, mergeMap, concatMap, tap, takeLast, catchError, finalize } from 'rxjs/operators';
12
12
  import * as i1 from '@angular/platform-browser';
@@ -327,7 +327,7 @@ function mapChildrenIntoArray(segment, fn) {
327
327
  class UrlSerializer {
328
328
  static ɵfac = i0.ɵɵngDeclareFactory({
329
329
  minVersion: "12.0.0",
330
- version: "21.2.4",
330
+ version: "21.2.6",
331
331
  ngImport: i0,
332
332
  type: UrlSerializer,
333
333
  deps: [],
@@ -335,7 +335,7 @@ class UrlSerializer {
335
335
  });
336
336
  static ɵprov = i0.ɵɵngDeclareInjectable({
337
337
  minVersion: "12.0.0",
338
- version: "21.2.4",
338
+ version: "21.2.6",
339
339
  ngImport: i0,
340
340
  type: UrlSerializer,
341
341
  providedIn: 'root',
@@ -344,7 +344,7 @@ class UrlSerializer {
344
344
  }
345
345
  i0.ɵɵngDeclareClassMetadata({
346
346
  minVersion: "12.0.0",
347
- version: "21.2.4",
347
+ version: "21.2.6",
348
348
  ngImport: i0,
349
349
  type: UrlSerializer,
350
350
  decorators: [{
@@ -1301,7 +1301,7 @@ class ChildrenOutletContexts {
1301
1301
  }
1302
1302
  static ɵfac = i0.ɵɵngDeclareFactory({
1303
1303
  minVersion: "12.0.0",
1304
- version: "21.2.4",
1304
+ version: "21.2.6",
1305
1305
  ngImport: i0,
1306
1306
  type: ChildrenOutletContexts,
1307
1307
  deps: [{
@@ -1311,7 +1311,7 @@ class ChildrenOutletContexts {
1311
1311
  });
1312
1312
  static ɵprov = i0.ɵɵngDeclareInjectable({
1313
1313
  minVersion: "12.0.0",
1314
- version: "21.2.4",
1314
+ version: "21.2.6",
1315
1315
  ngImport: i0,
1316
1316
  type: ChildrenOutletContexts,
1317
1317
  providedIn: 'root'
@@ -1319,7 +1319,7 @@ class ChildrenOutletContexts {
1319
1319
  }
1320
1320
  i0.ɵɵngDeclareClassMetadata({
1321
1321
  minVersion: "12.0.0",
1322
- version: "21.2.4",
1322
+ version: "21.2.6",
1323
1323
  ngImport: i0,
1324
1324
  type: ChildrenOutletContexts,
1325
1325
  decorators: [{
@@ -1776,7 +1776,7 @@ class RouterOutlet {
1776
1776
  }
1777
1777
  static ɵfac = i0.ɵɵngDeclareFactory({
1778
1778
  minVersion: "12.0.0",
1779
- version: "21.2.4",
1779
+ version: "21.2.6",
1780
1780
  ngImport: i0,
1781
1781
  type: RouterOutlet,
1782
1782
  deps: [],
@@ -1784,7 +1784,7 @@ class RouterOutlet {
1784
1784
  });
1785
1785
  static ɵdir = i0.ɵɵngDeclareDirective({
1786
1786
  minVersion: "17.1.0",
1787
- version: "21.2.4",
1787
+ version: "21.2.6",
1788
1788
  type: RouterOutlet,
1789
1789
  isStandalone: true,
1790
1790
  selector: "router-outlet",
@@ -1817,7 +1817,7 @@ class RouterOutlet {
1817
1817
  }
1818
1818
  i0.ɵɵngDeclareClassMetadata({
1819
1819
  minVersion: "12.0.0",
1820
- version: "21.2.4",
1820
+ version: "21.2.6",
1821
1821
  ngImport: i0,
1822
1822
  type: RouterOutlet,
1823
1823
  decorators: [{
@@ -1926,7 +1926,7 @@ class RoutedComponentInputBinder {
1926
1926
  }
1927
1927
  static ɵfac = i0.ɵɵngDeclareFactory({
1928
1928
  minVersion: "12.0.0",
1929
- version: "21.2.4",
1929
+ version: "21.2.6",
1930
1930
  ngImport: i0,
1931
1931
  type: RoutedComponentInputBinder,
1932
1932
  deps: [],
@@ -1934,14 +1934,14 @@ class RoutedComponentInputBinder {
1934
1934
  });
1935
1935
  static ɵprov = i0.ɵɵngDeclareInjectable({
1936
1936
  minVersion: "12.0.0",
1937
- version: "21.2.4",
1937
+ version: "21.2.6",
1938
1938
  ngImport: i0,
1939
1939
  type: RoutedComponentInputBinder
1940
1940
  });
1941
1941
  }
1942
1942
  i0.ɵɵngDeclareClassMetadata({
1943
1943
  minVersion: "12.0.0",
1944
- version: "21.2.4",
1944
+ version: "21.2.6",
1945
1945
  ngImport: i0,
1946
1946
  type: RoutedComponentInputBinder,
1947
1947
  decorators: [{
@@ -1952,7 +1952,7 @@ i0.ɵɵngDeclareClassMetadata({
1952
1952
  class ɵEmptyOutletComponent {
1953
1953
  static ɵfac = i0.ɵɵngDeclareFactory({
1954
1954
  minVersion: "12.0.0",
1955
- version: "21.2.4",
1955
+ version: "21.2.6",
1956
1956
  ngImport: i0,
1957
1957
  type: ɵEmptyOutletComponent,
1958
1958
  deps: [],
@@ -1960,7 +1960,7 @@ class ɵEmptyOutletComponent {
1960
1960
  });
1961
1961
  static ɵcmp = i0.ɵɵngDeclareComponent({
1962
1962
  minVersion: "14.0.0",
1963
- version: "21.2.4",
1963
+ version: "21.2.6",
1964
1964
  type: ɵEmptyOutletComponent,
1965
1965
  isStandalone: true,
1966
1966
  selector: "ng-component",
@@ -1975,12 +1975,13 @@ class ɵEmptyOutletComponent {
1975
1975
  inputs: ["name", "routerOutletData"],
1976
1976
  outputs: ["activate", "deactivate", "attach", "detach"],
1977
1977
  exportAs: ["outlet"]
1978
- }]
1978
+ }],
1979
+ changeDetection: i0.ChangeDetectionStrategy.Eager
1979
1980
  });
1980
1981
  }
1981
1982
  i0.ɵɵngDeclareClassMetadata({
1982
1983
  minVersion: "12.0.0",
1983
- version: "21.2.4",
1984
+ version: "21.2.6",
1984
1985
  ngImport: i0,
1985
1986
  type: ɵEmptyOutletComponent,
1986
1987
  decorators: [{
@@ -1988,7 +1989,8 @@ i0.ɵɵngDeclareClassMetadata({
1988
1989
  args: [{
1989
1990
  template: `<router-outlet />`,
1990
1991
  imports: [RouterOutlet],
1991
- exportAs: 'emptyRouterOutlet'
1992
+ exportAs: 'emptyRouterOutlet',
1993
+ changeDetection: ChangeDetectionStrategy.Eager
1992
1994
  }]
1993
1995
  }]
1994
1996
  });
@@ -3283,7 +3285,7 @@ class TitleStrategy {
3283
3285
  }
3284
3286
  static ɵfac = i0.ɵɵngDeclareFactory({
3285
3287
  minVersion: "12.0.0",
3286
- version: "21.2.4",
3288
+ version: "21.2.6",
3287
3289
  ngImport: i0,
3288
3290
  type: TitleStrategy,
3289
3291
  deps: [],
@@ -3291,7 +3293,7 @@ class TitleStrategy {
3291
3293
  });
3292
3294
  static ɵprov = i0.ɵɵngDeclareInjectable({
3293
3295
  minVersion: "12.0.0",
3294
- version: "21.2.4",
3296
+ version: "21.2.6",
3295
3297
  ngImport: i0,
3296
3298
  type: TitleStrategy,
3297
3299
  providedIn: 'root',
@@ -3300,7 +3302,7 @@ class TitleStrategy {
3300
3302
  }
3301
3303
  i0.ɵɵngDeclareClassMetadata({
3302
3304
  minVersion: "12.0.0",
3303
- version: "21.2.4",
3305
+ version: "21.2.6",
3304
3306
  ngImport: i0,
3305
3307
  type: TitleStrategy,
3306
3308
  decorators: [{
@@ -3325,7 +3327,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3325
3327
  }
3326
3328
  static ɵfac = i0.ɵɵngDeclareFactory({
3327
3329
  minVersion: "12.0.0",
3328
- version: "21.2.4",
3330
+ version: "21.2.6",
3329
3331
  ngImport: i0,
3330
3332
  type: DefaultTitleStrategy,
3331
3333
  deps: [{
@@ -3335,7 +3337,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3335
3337
  });
3336
3338
  static ɵprov = i0.ɵɵngDeclareInjectable({
3337
3339
  minVersion: "12.0.0",
3338
- version: "21.2.4",
3340
+ version: "21.2.6",
3339
3341
  ngImport: i0,
3340
3342
  type: DefaultTitleStrategy,
3341
3343
  providedIn: 'root'
@@ -3343,7 +3345,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3343
3345
  }
3344
3346
  i0.ɵɵngDeclareClassMetadata({
3345
3347
  minVersion: "12.0.0",
3346
- version: "21.2.4",
3348
+ version: "21.2.6",
3347
3349
  ngImport: i0,
3348
3350
  type: DefaultTitleStrategy,
3349
3351
  decorators: [{
@@ -3422,7 +3424,7 @@ class RouterConfigLoader {
3422
3424
  }
3423
3425
  static ɵfac = i0.ɵɵngDeclareFactory({
3424
3426
  minVersion: "12.0.0",
3425
- version: "21.2.4",
3427
+ version: "21.2.6",
3426
3428
  ngImport: i0,
3427
3429
  type: RouterConfigLoader,
3428
3430
  deps: [],
@@ -3430,7 +3432,7 @@ class RouterConfigLoader {
3430
3432
  });
3431
3433
  static ɵprov = i0.ɵɵngDeclareInjectable({
3432
3434
  minVersion: "12.0.0",
3433
- version: "21.2.4",
3435
+ version: "21.2.6",
3434
3436
  ngImport: i0,
3435
3437
  type: RouterConfigLoader,
3436
3438
  providedIn: 'root'
@@ -3438,7 +3440,7 @@ class RouterConfigLoader {
3438
3440
  }
3439
3441
  i0.ɵɵngDeclareClassMetadata({
3440
3442
  minVersion: "12.0.0",
3441
- version: "21.2.4",
3443
+ version: "21.2.6",
3442
3444
  ngImport: i0,
3443
3445
  type: RouterConfigLoader,
3444
3446
  decorators: [{
@@ -3503,7 +3505,7 @@ async function maybeResolveResources(value) {
3503
3505
  class UrlHandlingStrategy {
3504
3506
  static ɵfac = i0.ɵɵngDeclareFactory({
3505
3507
  minVersion: "12.0.0",
3506
- version: "21.2.4",
3508
+ version: "21.2.6",
3507
3509
  ngImport: i0,
3508
3510
  type: UrlHandlingStrategy,
3509
3511
  deps: [],
@@ -3511,7 +3513,7 @@ class UrlHandlingStrategy {
3511
3513
  });
3512
3514
  static ɵprov = i0.ɵɵngDeclareInjectable({
3513
3515
  minVersion: "12.0.0",
3514
- version: "21.2.4",
3516
+ version: "21.2.6",
3515
3517
  ngImport: i0,
3516
3518
  type: UrlHandlingStrategy,
3517
3519
  providedIn: 'root',
@@ -3520,7 +3522,7 @@ class UrlHandlingStrategy {
3520
3522
  }
3521
3523
  i0.ɵɵngDeclareClassMetadata({
3522
3524
  minVersion: "12.0.0",
3523
- version: "21.2.4",
3525
+ version: "21.2.6",
3524
3526
  ngImport: i0,
3525
3527
  type: UrlHandlingStrategy,
3526
3528
  decorators: [{
@@ -3543,7 +3545,7 @@ class DefaultUrlHandlingStrategy {
3543
3545
  }
3544
3546
  static ɵfac = i0.ɵɵngDeclareFactory({
3545
3547
  minVersion: "12.0.0",
3546
- version: "21.2.4",
3548
+ version: "21.2.6",
3547
3549
  ngImport: i0,
3548
3550
  type: DefaultUrlHandlingStrategy,
3549
3551
  deps: [],
@@ -3551,7 +3553,7 @@ class DefaultUrlHandlingStrategy {
3551
3553
  });
3552
3554
  static ɵprov = i0.ɵɵngDeclareInjectable({
3553
3555
  minVersion: "12.0.0",
3554
- version: "21.2.4",
3556
+ version: "21.2.6",
3555
3557
  ngImport: i0,
3556
3558
  type: DefaultUrlHandlingStrategy,
3557
3559
  providedIn: 'root'
@@ -3559,7 +3561,7 @@ class DefaultUrlHandlingStrategy {
3559
3561
  }
3560
3562
  i0.ɵɵngDeclareClassMetadata({
3561
3563
  minVersion: "12.0.0",
3562
- version: "21.2.4",
3564
+ version: "21.2.6",
3563
3565
  ngImport: i0,
3564
3566
  type: DefaultUrlHandlingStrategy,
3565
3567
  decorators: [{
@@ -3958,7 +3960,7 @@ class NavigationTransitions {
3958
3960
  }
3959
3961
  static ɵfac = i0.ɵɵngDeclareFactory({
3960
3962
  minVersion: "12.0.0",
3961
- version: "21.2.4",
3963
+ version: "21.2.6",
3962
3964
  ngImport: i0,
3963
3965
  type: NavigationTransitions,
3964
3966
  deps: [],
@@ -3966,7 +3968,7 @@ class NavigationTransitions {
3966
3968
  });
3967
3969
  static ɵprov = i0.ɵɵngDeclareInjectable({
3968
3970
  minVersion: "12.0.0",
3969
- version: "21.2.4",
3971
+ version: "21.2.6",
3970
3972
  ngImport: i0,
3971
3973
  type: NavigationTransitions,
3972
3974
  providedIn: 'root'
@@ -3974,7 +3976,7 @@ class NavigationTransitions {
3974
3976
  }
3975
3977
  i0.ɵɵngDeclareClassMetadata({
3976
3978
  minVersion: "12.0.0",
3977
- version: "21.2.4",
3979
+ version: "21.2.6",
3978
3980
  ngImport: i0,
3979
3981
  type: NavigationTransitions,
3980
3982
  decorators: [{
@@ -4047,7 +4049,7 @@ function destroyDetachedRouteHandle(handle) {
4047
4049
  class RouteReuseStrategy {
4048
4050
  static ɵfac = i0.ɵɵngDeclareFactory({
4049
4051
  minVersion: "12.0.0",
4050
- version: "21.2.4",
4052
+ version: "21.2.6",
4051
4053
  ngImport: i0,
4052
4054
  type: RouteReuseStrategy,
4053
4055
  deps: [],
@@ -4055,7 +4057,7 @@ class RouteReuseStrategy {
4055
4057
  });
4056
4058
  static ɵprov = i0.ɵɵngDeclareInjectable({
4057
4059
  minVersion: "12.0.0",
4058
- version: "21.2.4",
4060
+ version: "21.2.6",
4059
4061
  ngImport: i0,
4060
4062
  type: RouteReuseStrategy,
4061
4063
  providedIn: 'root',
@@ -4064,7 +4066,7 @@ class RouteReuseStrategy {
4064
4066
  }
4065
4067
  i0.ɵɵngDeclareClassMetadata({
4066
4068
  minVersion: "12.0.0",
4067
- version: "21.2.4",
4069
+ version: "21.2.6",
4068
4070
  ngImport: i0,
4069
4071
  type: RouteReuseStrategy,
4070
4072
  decorators: [{
@@ -4096,7 +4098,7 @@ class BaseRouteReuseStrategy {
4096
4098
  class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4097
4099
  static ɵfac = i0.ɵɵngDeclareFactory({
4098
4100
  minVersion: "12.0.0",
4099
- version: "21.2.4",
4101
+ version: "21.2.6",
4100
4102
  ngImport: i0,
4101
4103
  type: DefaultRouteReuseStrategy,
4102
4104
  deps: null,
@@ -4104,7 +4106,7 @@ class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4104
4106
  });
4105
4107
  static ɵprov = i0.ɵɵngDeclareInjectable({
4106
4108
  minVersion: "12.0.0",
4107
- version: "21.2.4",
4109
+ version: "21.2.6",
4108
4110
  ngImport: i0,
4109
4111
  type: DefaultRouteReuseStrategy,
4110
4112
  providedIn: 'root'
@@ -4112,7 +4114,7 @@ class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4112
4114
  }
4113
4115
  i0.ɵɵngDeclareClassMetadata({
4114
4116
  minVersion: "12.0.0",
4115
- version: "21.2.4",
4117
+ version: "21.2.6",
4116
4118
  ngImport: i0,
4117
4119
  type: DefaultRouteReuseStrategy,
4118
4120
  decorators: [{
@@ -4186,7 +4188,7 @@ class StateManager {
4186
4188
  }
4187
4189
  static ɵfac = i0.ɵɵngDeclareFactory({
4188
4190
  minVersion: "12.0.0",
4189
- version: "21.2.4",
4191
+ version: "21.2.6",
4190
4192
  ngImport: i0,
4191
4193
  type: StateManager,
4192
4194
  deps: [],
@@ -4194,7 +4196,7 @@ class StateManager {
4194
4196
  });
4195
4197
  static ɵprov = i0.ɵɵngDeclareInjectable({
4196
4198
  minVersion: "12.0.0",
4197
- version: "21.2.4",
4199
+ version: "21.2.6",
4198
4200
  ngImport: i0,
4199
4201
  type: StateManager,
4200
4202
  providedIn: 'root',
@@ -4203,7 +4205,7 @@ class StateManager {
4203
4205
  }
4204
4206
  i0.ɵɵngDeclareClassMetadata({
4205
4207
  minVersion: "12.0.0",
4206
- version: "21.2.4",
4208
+ version: "21.2.6",
4207
4209
  ngImport: i0,
4208
4210
  type: StateManager,
4209
4211
  decorators: [{
@@ -4322,7 +4324,7 @@ class HistoryStateManager extends StateManager {
4322
4324
  }
4323
4325
  static ɵfac = i0.ɵɵngDeclareFactory({
4324
4326
  minVersion: "12.0.0",
4325
- version: "21.2.4",
4327
+ version: "21.2.6",
4326
4328
  ngImport: i0,
4327
4329
  type: HistoryStateManager,
4328
4330
  deps: null,
@@ -4330,7 +4332,7 @@ class HistoryStateManager extends StateManager {
4330
4332
  });
4331
4333
  static ɵprov = i0.ɵɵngDeclareInjectable({
4332
4334
  minVersion: "12.0.0",
4333
- version: "21.2.4",
4335
+ version: "21.2.6",
4334
4336
  ngImport: i0,
4335
4337
  type: HistoryStateManager,
4336
4338
  providedIn: 'root'
@@ -4338,7 +4340,7 @@ class HistoryStateManager extends StateManager {
4338
4340
  }
4339
4341
  i0.ɵɵngDeclareClassMetadata({
4340
4342
  minVersion: "12.0.0",
4341
- version: "21.2.4",
4343
+ version: "21.2.6",
4342
4344
  ngImport: i0,
4343
4345
  type: HistoryStateManager,
4344
4346
  decorators: [{
@@ -4641,7 +4643,7 @@ class Router {
4641
4643
  }
4642
4644
  static ɵfac = i0.ɵɵngDeclareFactory({
4643
4645
  minVersion: "12.0.0",
4644
- version: "21.2.4",
4646
+ version: "21.2.6",
4645
4647
  ngImport: i0,
4646
4648
  type: Router,
4647
4649
  deps: [],
@@ -4649,7 +4651,7 @@ class Router {
4649
4651
  });
4650
4652
  static ɵprov = i0.ɵɵngDeclareInjectable({
4651
4653
  minVersion: "12.0.0",
4652
- version: "21.2.4",
4654
+ version: "21.2.6",
4653
4655
  ngImport: i0,
4654
4656
  type: Router,
4655
4657
  providedIn: 'root'
@@ -4657,7 +4659,7 @@ class Router {
4657
4659
  }
4658
4660
  i0.ɵɵngDeclareClassMetadata({
4659
4661
  minVersion: "12.0.0",
4660
- version: "21.2.4",
4662
+ version: "21.2.6",
4661
4663
  ngImport: i0,
4662
4664
  type: Router,
4663
4665
  decorators: [{