@angular/router 21.0.3 → 21.0.4

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,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.3
2
+ * @license Angular v21.0.4
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -276,7 +276,7 @@ function mapChildrenIntoArray(segment, fn) {
276
276
  class UrlSerializer {
277
277
  static ɵfac = i0.ɵɵngDeclareFactory({
278
278
  minVersion: "12.0.0",
279
- version: "21.0.3",
279
+ version: "21.0.4",
280
280
  ngImport: i0,
281
281
  type: UrlSerializer,
282
282
  deps: [],
@@ -284,7 +284,7 @@ class UrlSerializer {
284
284
  });
285
285
  static ɵprov = i0.ɵɵngDeclareInjectable({
286
286
  minVersion: "12.0.0",
287
- version: "21.0.3",
287
+ version: "21.0.4",
288
288
  ngImport: i0,
289
289
  type: UrlSerializer,
290
290
  providedIn: 'root',
@@ -293,7 +293,7 @@ class UrlSerializer {
293
293
  }
294
294
  i0.ɵɵngDeclareClassMetadata({
295
295
  minVersion: "12.0.0",
296
- version: "21.0.3",
296
+ version: "21.0.4",
297
297
  ngImport: i0,
298
298
  type: UrlSerializer,
299
299
  decorators: [{
@@ -1361,7 +1361,7 @@ class ChildrenOutletContexts {
1361
1361
  }
1362
1362
  static ɵfac = i0.ɵɵngDeclareFactory({
1363
1363
  minVersion: "12.0.0",
1364
- version: "21.0.3",
1364
+ version: "21.0.4",
1365
1365
  ngImport: i0,
1366
1366
  type: ChildrenOutletContexts,
1367
1367
  deps: [{
@@ -1371,7 +1371,7 @@ class ChildrenOutletContexts {
1371
1371
  });
1372
1372
  static ɵprov = i0.ɵɵngDeclareInjectable({
1373
1373
  minVersion: "12.0.0",
1374
- version: "21.0.3",
1374
+ version: "21.0.4",
1375
1375
  ngImport: i0,
1376
1376
  type: ChildrenOutletContexts,
1377
1377
  providedIn: 'root'
@@ -1379,7 +1379,7 @@ class ChildrenOutletContexts {
1379
1379
  }
1380
1380
  i0.ɵɵngDeclareClassMetadata({
1381
1381
  minVersion: "12.0.0",
1382
- version: "21.0.3",
1382
+ version: "21.0.4",
1383
1383
  ngImport: i0,
1384
1384
  type: ChildrenOutletContexts,
1385
1385
  decorators: [{
@@ -1707,7 +1707,7 @@ function hasStaticTitle(config) {
1707
1707
  return typeof config.title === 'string' || config.title === null;
1708
1708
  }
1709
1709
 
1710
- const ROUTER_OUTLET_DATA = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'RouterOutlet data' : '');
1710
+ const ROUTER_OUTLET_DATA = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'RouterOutlet data' : '');
1711
1711
  class RouterOutlet {
1712
1712
  activated = null;
1713
1713
  get activatedComponentRef() {
@@ -1834,7 +1834,7 @@ class RouterOutlet {
1834
1834
  }
1835
1835
  static ɵfac = i0.ɵɵngDeclareFactory({
1836
1836
  minVersion: "12.0.0",
1837
- version: "21.0.3",
1837
+ version: "21.0.4",
1838
1838
  ngImport: i0,
1839
1839
  type: RouterOutlet,
1840
1840
  deps: [],
@@ -1842,7 +1842,7 @@ class RouterOutlet {
1842
1842
  });
1843
1843
  static ɵdir = i0.ɵɵngDeclareDirective({
1844
1844
  minVersion: "17.1.0",
1845
- version: "21.0.3",
1845
+ version: "21.0.4",
1846
1846
  type: RouterOutlet,
1847
1847
  isStandalone: true,
1848
1848
  selector: "router-outlet",
@@ -1875,7 +1875,7 @@ class RouterOutlet {
1875
1875
  }
1876
1876
  i0.ɵɵngDeclareClassMetadata({
1877
1877
  minVersion: "12.0.0",
1878
- version: "21.0.3",
1878
+ version: "21.0.4",
1879
1879
  ngImport: i0,
1880
1880
  type: RouterOutlet,
1881
1881
  decorators: [{
@@ -1984,7 +1984,7 @@ class RoutedComponentInputBinder {
1984
1984
  }
1985
1985
  static ɵfac = i0.ɵɵngDeclareFactory({
1986
1986
  minVersion: "12.0.0",
1987
- version: "21.0.3",
1987
+ version: "21.0.4",
1988
1988
  ngImport: i0,
1989
1989
  type: RoutedComponentInputBinder,
1990
1990
  deps: [],
@@ -1992,14 +1992,14 @@ class RoutedComponentInputBinder {
1992
1992
  });
1993
1993
  static ɵprov = i0.ɵɵngDeclareInjectable({
1994
1994
  minVersion: "12.0.0",
1995
- version: "21.0.3",
1995
+ version: "21.0.4",
1996
1996
  ngImport: i0,
1997
1997
  type: RoutedComponentInputBinder
1998
1998
  });
1999
1999
  }
2000
2000
  i0.ɵɵngDeclareClassMetadata({
2001
2001
  minVersion: "12.0.0",
2002
- version: "21.0.3",
2002
+ version: "21.0.4",
2003
2003
  ngImport: i0,
2004
2004
  type: RoutedComponentInputBinder,
2005
2005
  decorators: [{
@@ -2010,7 +2010,7 @@ i0.ɵɵngDeclareClassMetadata({
2010
2010
  class ɵEmptyOutletComponent {
2011
2011
  static ɵfac = i0.ɵɵngDeclareFactory({
2012
2012
  minVersion: "12.0.0",
2013
- version: "21.0.3",
2013
+ version: "21.0.4",
2014
2014
  ngImport: i0,
2015
2015
  type: ɵEmptyOutletComponent,
2016
2016
  deps: [],
@@ -2018,7 +2018,7 @@ class ɵEmptyOutletComponent {
2018
2018
  });
2019
2019
  static ɵcmp = i0.ɵɵngDeclareComponent({
2020
2020
  minVersion: "14.0.0",
2021
- version: "21.0.3",
2021
+ version: "21.0.4",
2022
2022
  type: ɵEmptyOutletComponent,
2023
2023
  isStandalone: true,
2024
2024
  selector: "ng-component",
@@ -2038,7 +2038,7 @@ class ɵEmptyOutletComponent {
2038
2038
  }
2039
2039
  i0.ɵɵngDeclareClassMetadata({
2040
2040
  minVersion: "12.0.0",
2041
- version: "21.0.3",
2041
+ version: "21.0.4",
2042
2042
  ngImport: i0,
2043
2043
  type: ɵEmptyOutletComponent,
2044
2044
  decorators: [{
@@ -3670,7 +3670,7 @@ class TitleStrategy {
3670
3670
  }
3671
3671
  static ɵfac = i0.ɵɵngDeclareFactory({
3672
3672
  minVersion: "12.0.0",
3673
- version: "21.0.3",
3673
+ version: "21.0.4",
3674
3674
  ngImport: i0,
3675
3675
  type: TitleStrategy,
3676
3676
  deps: [],
@@ -3678,7 +3678,7 @@ class TitleStrategy {
3678
3678
  });
3679
3679
  static ɵprov = i0.ɵɵngDeclareInjectable({
3680
3680
  minVersion: "12.0.0",
3681
- version: "21.0.3",
3681
+ version: "21.0.4",
3682
3682
  ngImport: i0,
3683
3683
  type: TitleStrategy,
3684
3684
  providedIn: 'root',
@@ -3687,7 +3687,7 @@ class TitleStrategy {
3687
3687
  }
3688
3688
  i0.ɵɵngDeclareClassMetadata({
3689
3689
  minVersion: "12.0.0",
3690
- version: "21.0.3",
3690
+ version: "21.0.4",
3691
3691
  ngImport: i0,
3692
3692
  type: TitleStrategy,
3693
3693
  decorators: [{
@@ -3712,7 +3712,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3712
3712
  }
3713
3713
  static ɵfac = i0.ɵɵngDeclareFactory({
3714
3714
  minVersion: "12.0.0",
3715
- version: "21.0.3",
3715
+ version: "21.0.4",
3716
3716
  ngImport: i0,
3717
3717
  type: DefaultTitleStrategy,
3718
3718
  deps: [{
@@ -3722,7 +3722,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3722
3722
  });
3723
3723
  static ɵprov = i0.ɵɵngDeclareInjectable({
3724
3724
  minVersion: "12.0.0",
3725
- version: "21.0.3",
3725
+ version: "21.0.4",
3726
3726
  ngImport: i0,
3727
3727
  type: DefaultTitleStrategy,
3728
3728
  providedIn: 'root'
@@ -3730,7 +3730,7 @@ class DefaultTitleStrategy extends TitleStrategy {
3730
3730
  }
3731
3731
  i0.ɵɵngDeclareClassMetadata({
3732
3732
  minVersion: "12.0.0",
3733
- version: "21.0.3",
3733
+ version: "21.0.4",
3734
3734
  ngImport: i0,
3735
3735
  type: DefaultTitleStrategy,
3736
3736
  decorators: [{
@@ -3748,7 +3748,7 @@ const ROUTER_CONFIGURATION = new InjectionToken(typeof ngDevMode === 'undefined'
3748
3748
  factory: () => ({})
3749
3749
  });
3750
3750
 
3751
- const ROUTES = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'ROUTES' : '');
3751
+ const ROUTES = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'ROUTES' : '');
3752
3752
  class RouterConfigLoader {
3753
3753
  componentLoaders = new WeakMap();
3754
3754
  childrenLoaders = new WeakMap();
@@ -3808,7 +3808,7 @@ class RouterConfigLoader {
3808
3808
  }
3809
3809
  static ɵfac = i0.ɵɵngDeclareFactory({
3810
3810
  minVersion: "12.0.0",
3811
- version: "21.0.3",
3811
+ version: "21.0.4",
3812
3812
  ngImport: i0,
3813
3813
  type: RouterConfigLoader,
3814
3814
  deps: [],
@@ -3816,7 +3816,7 @@ class RouterConfigLoader {
3816
3816
  });
3817
3817
  static ɵprov = i0.ɵɵngDeclareInjectable({
3818
3818
  minVersion: "12.0.0",
3819
- version: "21.0.3",
3819
+ version: "21.0.4",
3820
3820
  ngImport: i0,
3821
3821
  type: RouterConfigLoader,
3822
3822
  providedIn: 'root'
@@ -3824,7 +3824,7 @@ class RouterConfigLoader {
3824
3824
  }
3825
3825
  i0.ɵɵngDeclareClassMetadata({
3826
3826
  minVersion: "12.0.0",
3827
- version: "21.0.3",
3827
+ version: "21.0.4",
3828
3828
  ngImport: i0,
3829
3829
  type: RouterConfigLoader,
3830
3830
  decorators: [{
@@ -3886,7 +3886,7 @@ async function maybeResolveResources(value) {
3886
3886
  class UrlHandlingStrategy {
3887
3887
  static ɵfac = i0.ɵɵngDeclareFactory({
3888
3888
  minVersion: "12.0.0",
3889
- version: "21.0.3",
3889
+ version: "21.0.4",
3890
3890
  ngImport: i0,
3891
3891
  type: UrlHandlingStrategy,
3892
3892
  deps: [],
@@ -3894,7 +3894,7 @@ class UrlHandlingStrategy {
3894
3894
  });
3895
3895
  static ɵprov = i0.ɵɵngDeclareInjectable({
3896
3896
  minVersion: "12.0.0",
3897
- version: "21.0.3",
3897
+ version: "21.0.4",
3898
3898
  ngImport: i0,
3899
3899
  type: UrlHandlingStrategy,
3900
3900
  providedIn: 'root',
@@ -3903,7 +3903,7 @@ class UrlHandlingStrategy {
3903
3903
  }
3904
3904
  i0.ɵɵngDeclareClassMetadata({
3905
3905
  minVersion: "12.0.0",
3906
- version: "21.0.3",
3906
+ version: "21.0.4",
3907
3907
  ngImport: i0,
3908
3908
  type: UrlHandlingStrategy,
3909
3909
  decorators: [{
@@ -3926,7 +3926,7 @@ class DefaultUrlHandlingStrategy {
3926
3926
  }
3927
3927
  static ɵfac = i0.ɵɵngDeclareFactory({
3928
3928
  minVersion: "12.0.0",
3929
- version: "21.0.3",
3929
+ version: "21.0.4",
3930
3930
  ngImport: i0,
3931
3931
  type: DefaultUrlHandlingStrategy,
3932
3932
  deps: [],
@@ -3934,7 +3934,7 @@ class DefaultUrlHandlingStrategy {
3934
3934
  });
3935
3935
  static ɵprov = i0.ɵɵngDeclareInjectable({
3936
3936
  minVersion: "12.0.0",
3937
- version: "21.0.3",
3937
+ version: "21.0.4",
3938
3938
  ngImport: i0,
3939
3939
  type: DefaultUrlHandlingStrategy,
3940
3940
  providedIn: 'root'
@@ -3942,7 +3942,7 @@ class DefaultUrlHandlingStrategy {
3942
3942
  }
3943
3943
  i0.ɵɵngDeclareClassMetadata({
3944
3944
  minVersion: "12.0.0",
3945
- version: "21.0.3",
3945
+ version: "21.0.4",
3946
3946
  ngImport: i0,
3947
3947
  type: DefaultUrlHandlingStrategy,
3948
3948
  decorators: [{
@@ -3953,8 +3953,8 @@ i0.ɵɵngDeclareClassMetadata({
3953
3953
  }]
3954
3954
  });
3955
3955
 
3956
- const CREATE_VIEW_TRANSITION = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'view transition helper' : '');
3957
- const VIEW_TRANSITION_OPTIONS = new InjectionToken(typeof ngDevMode !== undefined && ngDevMode ? 'view transition options' : '');
3956
+ const CREATE_VIEW_TRANSITION = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'view transition helper' : '');
3957
+ const VIEW_TRANSITION_OPTIONS = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'view transition options' : '');
3958
3958
  function createViewTransition(injector, from, to) {
3959
3959
  const transitionOptions = injector.get(VIEW_TRANSITION_OPTIONS);
3960
3960
  const document = injector.get(DOCUMENT);
@@ -4324,7 +4324,7 @@ class NavigationTransitions {
4324
4324
  }
4325
4325
  static ɵfac = i0.ɵɵngDeclareFactory({
4326
4326
  minVersion: "12.0.0",
4327
- version: "21.0.3",
4327
+ version: "21.0.4",
4328
4328
  ngImport: i0,
4329
4329
  type: NavigationTransitions,
4330
4330
  deps: [],
@@ -4332,7 +4332,7 @@ class NavigationTransitions {
4332
4332
  });
4333
4333
  static ɵprov = i0.ɵɵngDeclareInjectable({
4334
4334
  minVersion: "12.0.0",
4335
- version: "21.0.3",
4335
+ version: "21.0.4",
4336
4336
  ngImport: i0,
4337
4337
  type: NavigationTransitions,
4338
4338
  providedIn: 'root'
@@ -4340,7 +4340,7 @@ class NavigationTransitions {
4340
4340
  }
4341
4341
  i0.ɵɵngDeclareClassMetadata({
4342
4342
  minVersion: "12.0.0",
4343
- version: "21.0.3",
4343
+ version: "21.0.4",
4344
4344
  ngImport: i0,
4345
4345
  type: NavigationTransitions,
4346
4346
  decorators: [{
@@ -4358,7 +4358,7 @@ function isBrowserTriggeredNavigation(source) {
4358
4358
  class RouteReuseStrategy {
4359
4359
  static ɵfac = i0.ɵɵngDeclareFactory({
4360
4360
  minVersion: "12.0.0",
4361
- version: "21.0.3",
4361
+ version: "21.0.4",
4362
4362
  ngImport: i0,
4363
4363
  type: RouteReuseStrategy,
4364
4364
  deps: [],
@@ -4366,7 +4366,7 @@ class RouteReuseStrategy {
4366
4366
  });
4367
4367
  static ɵprov = i0.ɵɵngDeclareInjectable({
4368
4368
  minVersion: "12.0.0",
4369
- version: "21.0.3",
4369
+ version: "21.0.4",
4370
4370
  ngImport: i0,
4371
4371
  type: RouteReuseStrategy,
4372
4372
  providedIn: 'root',
@@ -4375,7 +4375,7 @@ class RouteReuseStrategy {
4375
4375
  }
4376
4376
  i0.ɵɵngDeclareClassMetadata({
4377
4377
  minVersion: "12.0.0",
4378
- version: "21.0.3",
4378
+ version: "21.0.4",
4379
4379
  ngImport: i0,
4380
4380
  type: RouteReuseStrategy,
4381
4381
  decorators: [{
@@ -4404,7 +4404,7 @@ class BaseRouteReuseStrategy {
4404
4404
  class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4405
4405
  static ɵfac = i0.ɵɵngDeclareFactory({
4406
4406
  minVersion: "12.0.0",
4407
- version: "21.0.3",
4407
+ version: "21.0.4",
4408
4408
  ngImport: i0,
4409
4409
  type: DefaultRouteReuseStrategy,
4410
4410
  deps: null,
@@ -4412,7 +4412,7 @@ class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4412
4412
  });
4413
4413
  static ɵprov = i0.ɵɵngDeclareInjectable({
4414
4414
  minVersion: "12.0.0",
4415
- version: "21.0.3",
4415
+ version: "21.0.4",
4416
4416
  ngImport: i0,
4417
4417
  type: DefaultRouteReuseStrategy,
4418
4418
  providedIn: 'root'
@@ -4420,7 +4420,7 @@ class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4420
4420
  }
4421
4421
  i0.ɵɵngDeclareClassMetadata({
4422
4422
  minVersion: "12.0.0",
4423
- version: "21.0.3",
4423
+ version: "21.0.4",
4424
4424
  ngImport: i0,
4425
4425
  type: DefaultRouteReuseStrategy,
4426
4426
  decorators: [{
@@ -4495,7 +4495,7 @@ class StateManager {
4495
4495
  }
4496
4496
  static ɵfac = i0.ɵɵngDeclareFactory({
4497
4497
  minVersion: "12.0.0",
4498
- version: "21.0.3",
4498
+ version: "21.0.4",
4499
4499
  ngImport: i0,
4500
4500
  type: StateManager,
4501
4501
  deps: [],
@@ -4503,7 +4503,7 @@ class StateManager {
4503
4503
  });
4504
4504
  static ɵprov = i0.ɵɵngDeclareInjectable({
4505
4505
  minVersion: "12.0.0",
4506
- version: "21.0.3",
4506
+ version: "21.0.4",
4507
4507
  ngImport: i0,
4508
4508
  type: StateManager,
4509
4509
  providedIn: 'root',
@@ -4512,7 +4512,7 @@ class StateManager {
4512
4512
  }
4513
4513
  i0.ɵɵngDeclareClassMetadata({
4514
4514
  minVersion: "12.0.0",
4515
- version: "21.0.3",
4515
+ version: "21.0.4",
4516
4516
  ngImport: i0,
4517
4517
  type: StateManager,
4518
4518
  decorators: [{
@@ -4625,7 +4625,7 @@ class HistoryStateManager extends StateManager {
4625
4625
  }
4626
4626
  static ɵfac = i0.ɵɵngDeclareFactory({
4627
4627
  minVersion: "12.0.0",
4628
- version: "21.0.3",
4628
+ version: "21.0.4",
4629
4629
  ngImport: i0,
4630
4630
  type: HistoryStateManager,
4631
4631
  deps: null,
@@ -4633,7 +4633,7 @@ class HistoryStateManager extends StateManager {
4633
4633
  });
4634
4634
  static ɵprov = i0.ɵɵngDeclareInjectable({
4635
4635
  minVersion: "12.0.0",
4636
- version: "21.0.3",
4636
+ version: "21.0.4",
4637
4637
  ngImport: i0,
4638
4638
  type: HistoryStateManager,
4639
4639
  providedIn: 'root'
@@ -4641,7 +4641,7 @@ class HistoryStateManager extends StateManager {
4641
4641
  }
4642
4642
  i0.ɵɵngDeclareClassMetadata({
4643
4643
  minVersion: "12.0.0",
4644
- version: "21.0.3",
4644
+ version: "21.0.4",
4645
4645
  ngImport: i0,
4646
4646
  type: HistoryStateManager,
4647
4647
  decorators: [{
@@ -4955,7 +4955,7 @@ class Router {
4955
4955
  }
4956
4956
  static ɵfac = i0.ɵɵngDeclareFactory({
4957
4957
  minVersion: "12.0.0",
4958
- version: "21.0.3",
4958
+ version: "21.0.4",
4959
4959
  ngImport: i0,
4960
4960
  type: Router,
4961
4961
  deps: [],
@@ -4963,7 +4963,7 @@ class Router {
4963
4963
  });
4964
4964
  static ɵprov = i0.ɵɵngDeclareInjectable({
4965
4965
  minVersion: "12.0.0",
4966
- version: "21.0.3",
4966
+ version: "21.0.4",
4967
4967
  ngImport: i0,
4968
4968
  type: Router,
4969
4969
  providedIn: 'root'
@@ -4971,7 +4971,7 @@ class Router {
4971
4971
  }
4972
4972
  i0.ɵɵngDeclareClassMetadata({
4973
4973
  minVersion: "12.0.0",
4974
- version: "21.0.3",
4974
+ version: "21.0.4",
4975
4975
  ngImport: i0,
4976
4976
  type: Router,
4977
4977
  decorators: [{