@angular/router 21.0.0-rc.2 → 21.0.0

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.0-rc.2
2
+ * @license Angular v21.0.0
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.0-rc.2",
279
+ version: "21.0.0",
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.0-rc.2",
287
+ version: "21.0.0",
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.0-rc.2",
296
+ version: "21.0.0",
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.0-rc.2",
1364
+ version: "21.0.0",
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.0-rc.2",
1374
+ version: "21.0.0",
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.0-rc.2",
1382
+ version: "21.0.0",
1383
1383
  ngImport: i0,
1384
1384
  type: ChildrenOutletContexts,
1385
1385
  decorators: [{
@@ -1834,7 +1834,7 @@ class RouterOutlet {
1834
1834
  }
1835
1835
  static ɵfac = i0.ɵɵngDeclareFactory({
1836
1836
  minVersion: "12.0.0",
1837
- version: "21.0.0-rc.2",
1837
+ version: "21.0.0",
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.0-rc.2",
1845
+ version: "21.0.0",
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.0-rc.2",
1878
+ version: "21.0.0",
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.0-rc.2",
1987
+ version: "21.0.0",
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.0-rc.2",
1995
+ version: "21.0.0",
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.0-rc.2",
2002
+ version: "21.0.0",
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.0-rc.2",
2013
+ version: "21.0.0",
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.0-rc.2",
2021
+ version: "21.0.0",
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.0-rc.2",
2041
+ version: "21.0.0",
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.0-rc.2",
3673
+ version: "21.0.0",
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.0-rc.2",
3681
+ version: "21.0.0",
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.0-rc.2",
3690
+ version: "21.0.0",
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.0-rc.2",
3715
+ version: "21.0.0",
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.0-rc.2",
3725
+ version: "21.0.0",
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.0-rc.2",
3733
+ version: "21.0.0",
3734
3734
  ngImport: i0,
3735
3735
  type: DefaultTitleStrategy,
3736
3736
  decorators: [{
@@ -3808,7 +3808,7 @@ class RouterConfigLoader {
3808
3808
  }
3809
3809
  static ɵfac = i0.ɵɵngDeclareFactory({
3810
3810
  minVersion: "12.0.0",
3811
- version: "21.0.0-rc.2",
3811
+ version: "21.0.0",
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.0-rc.2",
3819
+ version: "21.0.0",
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.0-rc.2",
3827
+ version: "21.0.0",
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.0-rc.2",
3889
+ version: "21.0.0",
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.0-rc.2",
3897
+ version: "21.0.0",
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.0-rc.2",
3906
+ version: "21.0.0",
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.0-rc.2",
3929
+ version: "21.0.0",
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.0-rc.2",
3937
+ version: "21.0.0",
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.0-rc.2",
3945
+ version: "21.0.0",
3946
3946
  ngImport: i0,
3947
3947
  type: DefaultUrlHandlingStrategy,
3948
3948
  decorators: [{
@@ -4319,7 +4319,7 @@ class NavigationTransitions {
4319
4319
  }
4320
4320
  static ɵfac = i0.ɵɵngDeclareFactory({
4321
4321
  minVersion: "12.0.0",
4322
- version: "21.0.0-rc.2",
4322
+ version: "21.0.0",
4323
4323
  ngImport: i0,
4324
4324
  type: NavigationTransitions,
4325
4325
  deps: [],
@@ -4327,7 +4327,7 @@ class NavigationTransitions {
4327
4327
  });
4328
4328
  static ɵprov = i0.ɵɵngDeclareInjectable({
4329
4329
  minVersion: "12.0.0",
4330
- version: "21.0.0-rc.2",
4330
+ version: "21.0.0",
4331
4331
  ngImport: i0,
4332
4332
  type: NavigationTransitions,
4333
4333
  providedIn: 'root'
@@ -4335,7 +4335,7 @@ class NavigationTransitions {
4335
4335
  }
4336
4336
  i0.ɵɵngDeclareClassMetadata({
4337
4337
  minVersion: "12.0.0",
4338
- version: "21.0.0-rc.2",
4338
+ version: "21.0.0",
4339
4339
  ngImport: i0,
4340
4340
  type: NavigationTransitions,
4341
4341
  decorators: [{
@@ -4353,7 +4353,7 @@ function isBrowserTriggeredNavigation(source) {
4353
4353
  class RouteReuseStrategy {
4354
4354
  static ɵfac = i0.ɵɵngDeclareFactory({
4355
4355
  minVersion: "12.0.0",
4356
- version: "21.0.0-rc.2",
4356
+ version: "21.0.0",
4357
4357
  ngImport: i0,
4358
4358
  type: RouteReuseStrategy,
4359
4359
  deps: [],
@@ -4361,7 +4361,7 @@ class RouteReuseStrategy {
4361
4361
  });
4362
4362
  static ɵprov = i0.ɵɵngDeclareInjectable({
4363
4363
  minVersion: "12.0.0",
4364
- version: "21.0.0-rc.2",
4364
+ version: "21.0.0",
4365
4365
  ngImport: i0,
4366
4366
  type: RouteReuseStrategy,
4367
4367
  providedIn: 'root',
@@ -4370,7 +4370,7 @@ class RouteReuseStrategy {
4370
4370
  }
4371
4371
  i0.ɵɵngDeclareClassMetadata({
4372
4372
  minVersion: "12.0.0",
4373
- version: "21.0.0-rc.2",
4373
+ version: "21.0.0",
4374
4374
  ngImport: i0,
4375
4375
  type: RouteReuseStrategy,
4376
4376
  decorators: [{
@@ -4399,7 +4399,7 @@ class BaseRouteReuseStrategy {
4399
4399
  class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4400
4400
  static ɵfac = i0.ɵɵngDeclareFactory({
4401
4401
  minVersion: "12.0.0",
4402
- version: "21.0.0-rc.2",
4402
+ version: "21.0.0",
4403
4403
  ngImport: i0,
4404
4404
  type: DefaultRouteReuseStrategy,
4405
4405
  deps: null,
@@ -4407,7 +4407,7 @@ class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4407
4407
  });
4408
4408
  static ɵprov = i0.ɵɵngDeclareInjectable({
4409
4409
  minVersion: "12.0.0",
4410
- version: "21.0.0-rc.2",
4410
+ version: "21.0.0",
4411
4411
  ngImport: i0,
4412
4412
  type: DefaultRouteReuseStrategy,
4413
4413
  providedIn: 'root'
@@ -4415,7 +4415,7 @@ class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
4415
4415
  }
4416
4416
  i0.ɵɵngDeclareClassMetadata({
4417
4417
  minVersion: "12.0.0",
4418
- version: "21.0.0-rc.2",
4418
+ version: "21.0.0",
4419
4419
  ngImport: i0,
4420
4420
  type: DefaultRouteReuseStrategy,
4421
4421
  decorators: [{
@@ -4490,7 +4490,7 @@ class StateManager {
4490
4490
  }
4491
4491
  static ɵfac = i0.ɵɵngDeclareFactory({
4492
4492
  minVersion: "12.0.0",
4493
- version: "21.0.0-rc.2",
4493
+ version: "21.0.0",
4494
4494
  ngImport: i0,
4495
4495
  type: StateManager,
4496
4496
  deps: [],
@@ -4498,7 +4498,7 @@ class StateManager {
4498
4498
  });
4499
4499
  static ɵprov = i0.ɵɵngDeclareInjectable({
4500
4500
  minVersion: "12.0.0",
4501
- version: "21.0.0-rc.2",
4501
+ version: "21.0.0",
4502
4502
  ngImport: i0,
4503
4503
  type: StateManager,
4504
4504
  providedIn: 'root',
@@ -4507,7 +4507,7 @@ class StateManager {
4507
4507
  }
4508
4508
  i0.ɵɵngDeclareClassMetadata({
4509
4509
  minVersion: "12.0.0",
4510
- version: "21.0.0-rc.2",
4510
+ version: "21.0.0",
4511
4511
  ngImport: i0,
4512
4512
  type: StateManager,
4513
4513
  decorators: [{
@@ -4620,7 +4620,7 @@ class HistoryStateManager extends StateManager {
4620
4620
  }
4621
4621
  static ɵfac = i0.ɵɵngDeclareFactory({
4622
4622
  minVersion: "12.0.0",
4623
- version: "21.0.0-rc.2",
4623
+ version: "21.0.0",
4624
4624
  ngImport: i0,
4625
4625
  type: HistoryStateManager,
4626
4626
  deps: null,
@@ -4628,7 +4628,7 @@ class HistoryStateManager extends StateManager {
4628
4628
  });
4629
4629
  static ɵprov = i0.ɵɵngDeclareInjectable({
4630
4630
  minVersion: "12.0.0",
4631
- version: "21.0.0-rc.2",
4631
+ version: "21.0.0",
4632
4632
  ngImport: i0,
4633
4633
  type: HistoryStateManager,
4634
4634
  providedIn: 'root'
@@ -4636,7 +4636,7 @@ class HistoryStateManager extends StateManager {
4636
4636
  }
4637
4637
  i0.ɵɵngDeclareClassMetadata({
4638
4638
  minVersion: "12.0.0",
4639
- version: "21.0.0-rc.2",
4639
+ version: "21.0.0",
4640
4640
  ngImport: i0,
4641
4641
  type: HistoryStateManager,
4642
4642
  decorators: [{
@@ -4950,7 +4950,7 @@ class Router {
4950
4950
  }
4951
4951
  static ɵfac = i0.ɵɵngDeclareFactory({
4952
4952
  minVersion: "12.0.0",
4953
- version: "21.0.0-rc.2",
4953
+ version: "21.0.0",
4954
4954
  ngImport: i0,
4955
4955
  type: Router,
4956
4956
  deps: [],
@@ -4958,7 +4958,7 @@ class Router {
4958
4958
  });
4959
4959
  static ɵprov = i0.ɵɵngDeclareInjectable({
4960
4960
  minVersion: "12.0.0",
4961
- version: "21.0.0-rc.2",
4961
+ version: "21.0.0",
4962
4962
  ngImport: i0,
4963
4963
  type: Router,
4964
4964
  providedIn: 'root'
@@ -4966,7 +4966,7 @@ class Router {
4966
4966
  }
4967
4967
  i0.ɵɵngDeclareClassMetadata({
4968
4968
  minVersion: "12.0.0",
4969
- version: "21.0.0-rc.2",
4969
+ version: "21.0.0",
4970
4970
  ngImport: i0,
4971
4971
  type: Router,
4972
4972
  decorators: [{