@angular/router 22.0.0-next.4 → 22.0.0-next.5

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 v22.0.0-next.4
2
+ * @license Angular v22.0.0-next.5
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, ɵRuntimeError as _RuntimeError, computed, Injectable, InjectionToken, EventEmitter, input, inject, ViewContainerRef, ChangeDetectorRef, Output, Input, Directive, 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: "22.0.0-next.4",
330
+ version: "22.0.0-next.5",
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: "22.0.0-next.4",
338
+ version: "22.0.0-next.5",
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: "22.0.0-next.4",
347
+ version: "22.0.0-next.5",
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: "22.0.0-next.4",
1304
+ version: "22.0.0-next.5",
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: "22.0.0-next.4",
1314
+ version: "22.0.0-next.5",
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: "22.0.0-next.4",
1322
+ version: "22.0.0-next.5",
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: "22.0.0-next.4",
1779
+ version: "22.0.0-next.5",
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: "22.0.0-next.4",
1787
+ version: "22.0.0-next.5",
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: "22.0.0-next.4",
1820
+ version: "22.0.0-next.5",
1821
1821
  ngImport: i0,
1822
1822
  type: RouterOutlet,
1823
1823
  decorators: [{
@@ -1931,7 +1931,7 @@ class RoutedComponentInputBinder {
1931
1931
  }
1932
1932
  static ɵfac = i0.ɵɵngDeclareFactory({
1933
1933
  minVersion: "12.0.0",
1934
- version: "22.0.0-next.4",
1934
+ version: "22.0.0-next.5",
1935
1935
  ngImport: i0,
1936
1936
  type: RoutedComponentInputBinder,
1937
1937
  deps: "invalid",
@@ -1939,14 +1939,14 @@ class RoutedComponentInputBinder {
1939
1939
  });
1940
1940
  static ɵprov = i0.ɵɵngDeclareInjectable({
1941
1941
  minVersion: "12.0.0",
1942
- version: "22.0.0-next.4",
1942
+ version: "22.0.0-next.5",
1943
1943
  ngImport: i0,
1944
1944
  type: RoutedComponentInputBinder
1945
1945
  });
1946
1946
  }
1947
1947
  i0.ɵɵngDeclareClassMetadata({
1948
1948
  minVersion: "12.0.0",
1949
- version: "22.0.0-next.4",
1949
+ version: "22.0.0-next.5",
1950
1950
  ngImport: i0,
1951
1951
  type: RoutedComponentInputBinder,
1952
1952
  decorators: [{
@@ -1960,7 +1960,7 @@ i0.ɵɵngDeclareClassMetadata({
1960
1960
  class ɵEmptyOutletComponent {
1961
1961
  static ɵfac = i0.ɵɵngDeclareFactory({
1962
1962
  minVersion: "12.0.0",
1963
- version: "22.0.0-next.4",
1963
+ version: "22.0.0-next.5",
1964
1964
  ngImport: i0,
1965
1965
  type: ɵEmptyOutletComponent,
1966
1966
  deps: [],
@@ -1968,7 +1968,7 @@ class ɵEmptyOutletComponent {
1968
1968
  });
1969
1969
  static ɵcmp = i0.ɵɵngDeclareComponent({
1970
1970
  minVersion: "14.0.0",
1971
- version: "22.0.0-next.4",
1971
+ version: "22.0.0-next.5",
1972
1972
  type: ɵEmptyOutletComponent,
1973
1973
  isStandalone: true,
1974
1974
  selector: "ng-component",
@@ -1983,12 +1983,13 @@ class ɵEmptyOutletComponent {
1983
1983
  inputs: ["name", "routerOutletData"],
1984
1984
  outputs: ["activate", "deactivate", "attach", "detach"],
1985
1985
  exportAs: ["outlet"]
1986
- }]
1986
+ }],
1987
+ changeDetection: i0.ChangeDetectionStrategy.Eager
1987
1988
  });
1988
1989
  }
1989
1990
  i0.ɵɵngDeclareClassMetadata({
1990
1991
  minVersion: "12.0.0",
1991
- version: "22.0.0-next.4",
1992
+ version: "22.0.0-next.5",
1992
1993
  ngImport: i0,
1993
1994
  type: ɵEmptyOutletComponent,
1994
1995
  decorators: [{
@@ -1996,7 +1997,8 @@ i0.ɵɵngDeclareClassMetadata({
1996
1997
  args: [{
1997
1998
  template: `<router-outlet />`,
1998
1999
  imports: [RouterOutlet],
1999
- exportAs: 'emptyRouterOutlet'
2000
+ exportAs: 'emptyRouterOutlet',
2001
+ changeDetection: ChangeDetectionStrategy.Eager
2000
2002
  }]
2001
2003
  }]
2002
2004
  });
@@ -3291,7 +3293,7 @@ class TitleStrategy {
3291
3293
  }
3292
3294
  static ɵfac = i0.ɵɵngDeclareFactory({
3293
3295
  minVersion: "12.0.0",
3294
- version: "22.0.0-next.4",
3296
+ version: "22.0.0-next.5",
3295
3297
  ngImport: i0,
3296
3298
  type: TitleStrategy,
3297
3299
  deps: [],
@@ -3299,7 +3301,7 @@ class TitleStrategy {
3299
3301
  });
3300
3302
  static ɵprov = i0.ɵɵngDeclareInjectable({
3301
3303
  minVersion: "12.0.0",
3302
- version: "22.0.0-next.4",
3304
+ version: "22.0.0-next.5",
3303
3305
  ngImport: i0,
3304
3306
  type: TitleStrategy,
3305
3307
  providedIn: 'root',
@@ -3308,7 +3310,7 @@ class TitleStrategy {
3308
3310
  }
3309
3311
  i0.ɵɵngDeclareClassMetadata({
3310
3312
  minVersion: "12.0.0",
3311
- version: "22.0.0-next.4",
3313
+ version: "22.0.0-next.5",
3312
3314
  ngImport: i0,
3313
3315
  type: TitleStrategy,
3314
3316
  decorators: [{
@@ -3333,7 +3335,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3333
3335
  }
3334
3336
  static ɵfac = i0.ɵɵngDeclareFactory({
3335
3337
  minVersion: "12.0.0",
3336
- version: "22.0.0-next.4",
3338
+ version: "22.0.0-next.5",
3337
3339
  ngImport: i0,
3338
3340
  type: DefaultTitleStrategy,
3339
3341
  deps: [{
@@ -3343,7 +3345,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3343
3345
  });
3344
3346
  static ɵprov = i0.ɵɵngDeclareInjectable({
3345
3347
  minVersion: "12.0.0",
3346
- version: "22.0.0-next.4",
3348
+ version: "22.0.0-next.5",
3347
3349
  ngImport: i0,
3348
3350
  type: DefaultTitleStrategy,
3349
3351
  providedIn: 'root'
@@ -3351,7 +3353,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3351
3353
  }
3352
3354
  i0.ɵɵngDeclareClassMetadata({
3353
3355
  minVersion: "12.0.0",
3354
- version: "22.0.0-next.4",
3356
+ version: "22.0.0-next.5",
3355
3357
  ngImport: i0,
3356
3358
  type: DefaultTitleStrategy,
3357
3359
  decorators: [{
@@ -3430,7 +3432,7 @@ class RouterConfigLoader {
3430
3432
  }
3431
3433
  static ɵfac = i0.ɵɵngDeclareFactory({
3432
3434
  minVersion: "12.0.0",
3433
- version: "22.0.0-next.4",
3435
+ version: "22.0.0-next.5",
3434
3436
  ngImport: i0,
3435
3437
  type: RouterConfigLoader,
3436
3438
  deps: [],
@@ -3438,7 +3440,7 @@ class RouterConfigLoader {
3438
3440
  });
3439
3441
  static ɵprov = i0.ɵɵngDeclareInjectable({
3440
3442
  minVersion: "12.0.0",
3441
- version: "22.0.0-next.4",
3443
+ version: "22.0.0-next.5",
3442
3444
  ngImport: i0,
3443
3445
  type: RouterConfigLoader,
3444
3446
  providedIn: 'root'
@@ -3446,7 +3448,7 @@ class RouterConfigLoader {
3446
3448
  }
3447
3449
  i0.ɵɵngDeclareClassMetadata({
3448
3450
  minVersion: "12.0.0",
3449
- version: "22.0.0-next.4",
3451
+ version: "22.0.0-next.5",
3450
3452
  ngImport: i0,
3451
3453
  type: RouterConfigLoader,
3452
3454
  decorators: [{
@@ -3511,7 +3513,7 @@ async function maybeResolveResources(value) {
3511
3513
  class UrlHandlingStrategy {
3512
3514
  static ɵfac = i0.ɵɵngDeclareFactory({
3513
3515
  minVersion: "12.0.0",
3514
- version: "22.0.0-next.4",
3516
+ version: "22.0.0-next.5",
3515
3517
  ngImport: i0,
3516
3518
  type: UrlHandlingStrategy,
3517
3519
  deps: [],
@@ -3519,7 +3521,7 @@ class UrlHandlingStrategy {
3519
3521
  });
3520
3522
  static ɵprov = i0.ɵɵngDeclareInjectable({
3521
3523
  minVersion: "12.0.0",
3522
- version: "22.0.0-next.4",
3524
+ version: "22.0.0-next.5",
3523
3525
  ngImport: i0,
3524
3526
  type: UrlHandlingStrategy,
3525
3527
  providedIn: 'root',
@@ -3528,7 +3530,7 @@ class UrlHandlingStrategy {
3528
3530
  }
3529
3531
  i0.ɵɵngDeclareClassMetadata({
3530
3532
  minVersion: "12.0.0",
3531
- version: "22.0.0-next.4",
3533
+ version: "22.0.0-next.5",
3532
3534
  ngImport: i0,
3533
3535
  type: UrlHandlingStrategy,
3534
3536
  decorators: [{
@@ -3551,7 +3553,7 @@ class DefaultUrlHandlingStrategy {
3551
3553
  }
3552
3554
  static ɵfac = i0.ɵɵngDeclareFactory({
3553
3555
  minVersion: "12.0.0",
3554
- version: "22.0.0-next.4",
3556
+ version: "22.0.0-next.5",
3555
3557
  ngImport: i0,
3556
3558
  type: DefaultUrlHandlingStrategy,
3557
3559
  deps: [],
@@ -3559,7 +3561,7 @@ class DefaultUrlHandlingStrategy {
3559
3561
  });
3560
3562
  static ɵprov = i0.ɵɵngDeclareInjectable({
3561
3563
  minVersion: "12.0.0",
3562
- version: "22.0.0-next.4",
3564
+ version: "22.0.0-next.5",
3563
3565
  ngImport: i0,
3564
3566
  type: DefaultUrlHandlingStrategy,
3565
3567
  providedIn: 'root'
@@ -3567,7 +3569,7 @@ class DefaultUrlHandlingStrategy {
3567
3569
  }
3568
3570
  i0.ɵɵngDeclareClassMetadata({
3569
3571
  minVersion: "12.0.0",
3570
- version: "22.0.0-next.4",
3572
+ version: "22.0.0-next.5",
3571
3573
  ngImport: i0,
3572
3574
  type: DefaultUrlHandlingStrategy,
3573
3575
  decorators: [{
@@ -3966,7 +3968,7 @@ class NavigationTransitions {
3966
3968
  }
3967
3969
  static ɵfac = i0.ɵɵngDeclareFactory({
3968
3970
  minVersion: "12.0.0",
3969
- version: "22.0.0-next.4",
3971
+ version: "22.0.0-next.5",
3970
3972
  ngImport: i0,
3971
3973
  type: NavigationTransitions,
3972
3974
  deps: [],
@@ -3974,7 +3976,7 @@ class NavigationTransitions {
3974
3976
  });
3975
3977
  static ɵprov = i0.ɵɵngDeclareInjectable({
3976
3978
  minVersion: "12.0.0",
3977
- version: "22.0.0-next.4",
3979
+ version: "22.0.0-next.5",
3978
3980
  ngImport: i0,
3979
3981
  type: NavigationTransitions,
3980
3982
  providedIn: 'root'
@@ -3982,7 +3984,7 @@ class NavigationTransitions {
3982
3984
  }
3983
3985
  i0.ɵɵngDeclareClassMetadata({
3984
3986
  minVersion: "12.0.0",
3985
- version: "22.0.0-next.4",
3987
+ version: "22.0.0-next.5",
3986
3988
  ngImport: i0,
3987
3989
  type: NavigationTransitions,
3988
3990
  decorators: [{
@@ -4055,7 +4057,7 @@ function destroyDetachedRouteHandle(handle) {
4055
4057
  class RouteReuseStrategy {
4056
4058
  static ɵfac = i0.ɵɵngDeclareFactory({
4057
4059
  minVersion: "12.0.0",
4058
- version: "22.0.0-next.4",
4060
+ version: "22.0.0-next.5",
4059
4061
  ngImport: i0,
4060
4062
  type: RouteReuseStrategy,
4061
4063
  deps: [],
@@ -4063,7 +4065,7 @@ class RouteReuseStrategy {
4063
4065
  });
4064
4066
  static ɵprov = i0.ɵɵngDeclareInjectable({
4065
4067
  minVersion: "12.0.0",
4066
- version: "22.0.0-next.4",
4068
+ version: "22.0.0-next.5",
4067
4069
  ngImport: i0,
4068
4070
  type: RouteReuseStrategy,
4069
4071
  providedIn: 'root',
@@ -4072,7 +4074,7 @@ class RouteReuseStrategy {
4072
4074
  }
4073
4075
  i0.ɵɵngDeclareClassMetadata({
4074
4076
  minVersion: "12.0.0",
4075
- version: "22.0.0-next.4",
4077
+ version: "22.0.0-next.5",
4076
4078
  ngImport: i0,
4077
4079
  type: RouteReuseStrategy,
4078
4080
  decorators: [{
@@ -4104,7 +4106,7 @@ class BaseRouteReuseStrategy {
4104
4106
  class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4105
4107
  static ɵfac = i0.ɵɵngDeclareFactory({
4106
4108
  minVersion: "12.0.0",
4107
- version: "22.0.0-next.4",
4109
+ version: "22.0.0-next.5",
4108
4110
  ngImport: i0,
4109
4111
  type: DefaultRouteReuseStrategy,
4110
4112
  deps: null,
@@ -4112,7 +4114,7 @@ class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4112
4114
  });
4113
4115
  static ɵprov = i0.ɵɵngDeclareInjectable({
4114
4116
  minVersion: "12.0.0",
4115
- version: "22.0.0-next.4",
4117
+ version: "22.0.0-next.5",
4116
4118
  ngImport: i0,
4117
4119
  type: DefaultRouteReuseStrategy,
4118
4120
  providedIn: 'root'
@@ -4120,7 +4122,7 @@ class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4120
4122
  }
4121
4123
  i0.ɵɵngDeclareClassMetadata({
4122
4124
  minVersion: "12.0.0",
4123
- version: "22.0.0-next.4",
4125
+ version: "22.0.0-next.5",
4124
4126
  ngImport: i0,
4125
4127
  type: DefaultRouteReuseStrategy,
4126
4128
  decorators: [{
@@ -4194,7 +4196,7 @@ class StateManager {
4194
4196
  }
4195
4197
  static ɵfac = i0.ɵɵngDeclareFactory({
4196
4198
  minVersion: "12.0.0",
4197
- version: "22.0.0-next.4",
4199
+ version: "22.0.0-next.5",
4198
4200
  ngImport: i0,
4199
4201
  type: StateManager,
4200
4202
  deps: [],
@@ -4202,7 +4204,7 @@ class StateManager {
4202
4204
  });
4203
4205
  static ɵprov = i0.ɵɵngDeclareInjectable({
4204
4206
  minVersion: "12.0.0",
4205
- version: "22.0.0-next.4",
4207
+ version: "22.0.0-next.5",
4206
4208
  ngImport: i0,
4207
4209
  type: StateManager,
4208
4210
  providedIn: 'root',
@@ -4211,7 +4213,7 @@ class StateManager {
4211
4213
  }
4212
4214
  i0.ɵɵngDeclareClassMetadata({
4213
4215
  minVersion: "12.0.0",
4214
- version: "22.0.0-next.4",
4216
+ version: "22.0.0-next.5",
4215
4217
  ngImport: i0,
4216
4218
  type: StateManager,
4217
4219
  decorators: [{
@@ -4330,7 +4332,7 @@ class HistoryStateManager extends StateManager {
4330
4332
  }
4331
4333
  static ɵfac = i0.ɵɵngDeclareFactory({
4332
4334
  minVersion: "12.0.0",
4333
- version: "22.0.0-next.4",
4335
+ version: "22.0.0-next.5",
4334
4336
  ngImport: i0,
4335
4337
  type: HistoryStateManager,
4336
4338
  deps: null,
@@ -4338,7 +4340,7 @@ class HistoryStateManager extends StateManager {
4338
4340
  });
4339
4341
  static ɵprov = i0.ɵɵngDeclareInjectable({
4340
4342
  minVersion: "12.0.0",
4341
- version: "22.0.0-next.4",
4343
+ version: "22.0.0-next.5",
4342
4344
  ngImport: i0,
4343
4345
  type: HistoryStateManager,
4344
4346
  providedIn: 'root'
@@ -4346,7 +4348,7 @@ class HistoryStateManager extends StateManager {
4346
4348
  }
4347
4349
  i0.ɵɵngDeclareClassMetadata({
4348
4350
  minVersion: "12.0.0",
4349
- version: "22.0.0-next.4",
4351
+ version: "22.0.0-next.5",
4350
4352
  ngImport: i0,
4351
4353
  type: HistoryStateManager,
4352
4354
  decorators: [{
@@ -4649,7 +4651,7 @@ class Router {
4649
4651
  }
4650
4652
  static ɵfac = i0.ɵɵngDeclareFactory({
4651
4653
  minVersion: "12.0.0",
4652
- version: "22.0.0-next.4",
4654
+ version: "22.0.0-next.5",
4653
4655
  ngImport: i0,
4654
4656
  type: Router,
4655
4657
  deps: [],
@@ -4657,7 +4659,7 @@ class Router {
4657
4659
  });
4658
4660
  static ɵprov = i0.ɵɵngDeclareInjectable({
4659
4661
  minVersion: "12.0.0",
4660
- version: "22.0.0-next.4",
4662
+ version: "22.0.0-next.5",
4661
4663
  ngImport: i0,
4662
4664
  type: Router,
4663
4665
  providedIn: 'root'
@@ -4665,7 +4667,7 @@ class Router {
4665
4667
  }
4666
4668
  i0.ɵɵngDeclareClassMetadata({
4667
4669
  minVersion: "12.0.0",
4668
- version: "22.0.0-next.4",
4670
+ version: "22.0.0-next.5",
4669
4671
  ngImport: i0,
4670
4672
  type: Router,
4671
4673
  decorators: [{