@angular/router 21.0.0-rc.3 → 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.
- package/fesm2022/_router-chunk.mjs +49 -49
- package/fesm2022/_router_module-chunk.mjs +26 -26
- package/fesm2022/router.mjs +2 -2
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +11 -11
- package/fesm2022/upgrade.mjs +1 -1
- package/package.json +4 -4
- package/types/_router_module-chunk.d.ts +1 -1
- package/types/router.d.ts +1 -1
- package/types/testing.d.ts +1 -1
- package/types/upgrade.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
4969
|
+
version: "21.0.0",
|
|
4970
4970
|
ngImport: i0,
|
|
4971
4971
|
type: Router,
|
|
4972
4972
|
decorators: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0
|
|
2
|
+
* @license Angular v21.0.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -166,7 +166,7 @@ class RouterLink {
|
|
|
166
166
|
}
|
|
167
167
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
168
168
|
minVersion: "12.0.0",
|
|
169
|
-
version: "21.0.0
|
|
169
|
+
version: "21.0.0",
|
|
170
170
|
ngImport: i0,
|
|
171
171
|
type: RouterLink,
|
|
172
172
|
deps: [{
|
|
@@ -187,7 +187,7 @@ class RouterLink {
|
|
|
187
187
|
});
|
|
188
188
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
189
189
|
minVersion: "16.1.0",
|
|
190
|
-
version: "21.0.0
|
|
190
|
+
version: "21.0.0",
|
|
191
191
|
type: RouterLink,
|
|
192
192
|
isStandalone: true,
|
|
193
193
|
selector: "[routerLink]",
|
|
@@ -219,7 +219,7 @@ class RouterLink {
|
|
|
219
219
|
}
|
|
220
220
|
i0.ɵɵngDeclareClassMetadata({
|
|
221
221
|
minVersion: "12.0.0",
|
|
222
|
-
version: "21.0.0
|
|
222
|
+
version: "21.0.0",
|
|
223
223
|
ngImport: i0,
|
|
224
224
|
type: RouterLink,
|
|
225
225
|
decorators: [{
|
|
@@ -395,7 +395,7 @@ class RouterLinkActive {
|
|
|
395
395
|
}
|
|
396
396
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
397
397
|
minVersion: "12.0.0",
|
|
398
|
-
version: "21.0.0
|
|
398
|
+
version: "21.0.0",
|
|
399
399
|
ngImport: i0,
|
|
400
400
|
type: RouterLinkActive,
|
|
401
401
|
deps: [{
|
|
@@ -411,7 +411,7 @@ class RouterLinkActive {
|
|
|
411
411
|
});
|
|
412
412
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
413
413
|
minVersion: "14.0.0",
|
|
414
|
-
version: "21.0.0
|
|
414
|
+
version: "21.0.0",
|
|
415
415
|
type: RouterLinkActive,
|
|
416
416
|
isStandalone: true,
|
|
417
417
|
selector: "[routerLinkActive]",
|
|
@@ -435,7 +435,7 @@ class RouterLinkActive {
|
|
|
435
435
|
}
|
|
436
436
|
i0.ɵɵngDeclareClassMetadata({
|
|
437
437
|
minVersion: "12.0.0",
|
|
438
|
-
version: "21.0.0
|
|
438
|
+
version: "21.0.0",
|
|
439
439
|
ngImport: i0,
|
|
440
440
|
type: RouterLinkActive,
|
|
441
441
|
decorators: [{
|
|
@@ -486,7 +486,7 @@ class PreloadAllModules {
|
|
|
486
486
|
}
|
|
487
487
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
488
488
|
minVersion: "12.0.0",
|
|
489
|
-
version: "21.0.0
|
|
489
|
+
version: "21.0.0",
|
|
490
490
|
ngImport: i0,
|
|
491
491
|
type: PreloadAllModules,
|
|
492
492
|
deps: [],
|
|
@@ -494,7 +494,7 @@ class PreloadAllModules {
|
|
|
494
494
|
});
|
|
495
495
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
496
496
|
minVersion: "12.0.0",
|
|
497
|
-
version: "21.0.0
|
|
497
|
+
version: "21.0.0",
|
|
498
498
|
ngImport: i0,
|
|
499
499
|
type: PreloadAllModules,
|
|
500
500
|
providedIn: 'root'
|
|
@@ -502,7 +502,7 @@ class PreloadAllModules {
|
|
|
502
502
|
}
|
|
503
503
|
i0.ɵɵngDeclareClassMetadata({
|
|
504
504
|
minVersion: "12.0.0",
|
|
505
|
-
version: "21.0.0
|
|
505
|
+
version: "21.0.0",
|
|
506
506
|
ngImport: i0,
|
|
507
507
|
type: PreloadAllModules,
|
|
508
508
|
decorators: [{
|
|
@@ -518,7 +518,7 @@ class NoPreloading {
|
|
|
518
518
|
}
|
|
519
519
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
520
520
|
minVersion: "12.0.0",
|
|
521
|
-
version: "21.0.0
|
|
521
|
+
version: "21.0.0",
|
|
522
522
|
ngImport: i0,
|
|
523
523
|
type: NoPreloading,
|
|
524
524
|
deps: [],
|
|
@@ -526,7 +526,7 @@ class NoPreloading {
|
|
|
526
526
|
});
|
|
527
527
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
528
528
|
minVersion: "12.0.0",
|
|
529
|
-
version: "21.0.0
|
|
529
|
+
version: "21.0.0",
|
|
530
530
|
ngImport: i0,
|
|
531
531
|
type: NoPreloading,
|
|
532
532
|
providedIn: 'root'
|
|
@@ -534,7 +534,7 @@ class NoPreloading {
|
|
|
534
534
|
}
|
|
535
535
|
i0.ɵɵngDeclareClassMetadata({
|
|
536
536
|
minVersion: "12.0.0",
|
|
537
|
-
version: "21.0.0
|
|
537
|
+
version: "21.0.0",
|
|
538
538
|
ngImport: i0,
|
|
539
539
|
type: NoPreloading,
|
|
540
540
|
decorators: [{
|
|
@@ -610,7 +610,7 @@ class RouterPreloader {
|
|
|
610
610
|
}
|
|
611
611
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
612
612
|
minVersion: "12.0.0",
|
|
613
|
-
version: "21.0.0
|
|
613
|
+
version: "21.0.0",
|
|
614
614
|
ngImport: i0,
|
|
615
615
|
type: RouterPreloader,
|
|
616
616
|
deps: [{
|
|
@@ -626,7 +626,7 @@ class RouterPreloader {
|
|
|
626
626
|
});
|
|
627
627
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
628
628
|
minVersion: "12.0.0",
|
|
629
|
-
version: "21.0.0
|
|
629
|
+
version: "21.0.0",
|
|
630
630
|
ngImport: i0,
|
|
631
631
|
type: RouterPreloader,
|
|
632
632
|
providedIn: 'root'
|
|
@@ -634,7 +634,7 @@ class RouterPreloader {
|
|
|
634
634
|
}
|
|
635
635
|
i0.ɵɵngDeclareClassMetadata({
|
|
636
636
|
minVersion: "12.0.0",
|
|
637
|
-
version: "21.0.0
|
|
637
|
+
version: "21.0.0",
|
|
638
638
|
ngImport: i0,
|
|
639
639
|
type: RouterPreloader,
|
|
640
640
|
decorators: [{
|
|
@@ -739,7 +739,7 @@ class RouterScroller {
|
|
|
739
739
|
}
|
|
740
740
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
741
741
|
minVersion: "12.0.0",
|
|
742
|
-
version: "21.0.0
|
|
742
|
+
version: "21.0.0",
|
|
743
743
|
ngImport: i0,
|
|
744
744
|
type: RouterScroller,
|
|
745
745
|
deps: "invalid",
|
|
@@ -747,14 +747,14 @@ class RouterScroller {
|
|
|
747
747
|
});
|
|
748
748
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
749
749
|
minVersion: "12.0.0",
|
|
750
|
-
version: "21.0.0
|
|
750
|
+
version: "21.0.0",
|
|
751
751
|
ngImport: i0,
|
|
752
752
|
type: RouterScroller
|
|
753
753
|
});
|
|
754
754
|
}
|
|
755
755
|
i0.ɵɵngDeclareClassMetadata({
|
|
756
756
|
minVersion: "12.0.0",
|
|
757
|
-
version: "21.0.0
|
|
757
|
+
version: "21.0.0",
|
|
758
758
|
ngImport: i0,
|
|
759
759
|
type: RouterScroller,
|
|
760
760
|
decorators: [{
|
|
@@ -800,7 +800,7 @@ class NavigationStateManager extends HistoryStateManager {
|
|
|
800
800
|
}
|
|
801
801
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
802
802
|
minVersion: "12.0.0",
|
|
803
|
-
version: "21.0.0
|
|
803
|
+
version: "21.0.0",
|
|
804
804
|
ngImport: i0,
|
|
805
805
|
type: NavigationStateManager,
|
|
806
806
|
deps: null,
|
|
@@ -808,7 +808,7 @@ class NavigationStateManager extends HistoryStateManager {
|
|
|
808
808
|
});
|
|
809
809
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
810
810
|
minVersion: "12.0.0",
|
|
811
|
-
version: "21.0.0
|
|
811
|
+
version: "21.0.0",
|
|
812
812
|
ngImport: i0,
|
|
813
813
|
type: NavigationStateManager,
|
|
814
814
|
providedIn: 'root'
|
|
@@ -816,7 +816,7 @@ class NavigationStateManager extends HistoryStateManager {
|
|
|
816
816
|
}
|
|
817
817
|
i0.ɵɵngDeclareClassMetadata({
|
|
818
818
|
minVersion: "12.0.0",
|
|
819
|
-
version: "21.0.0
|
|
819
|
+
version: "21.0.0",
|
|
820
820
|
ngImport: i0,
|
|
821
821
|
type: NavigationStateManager,
|
|
822
822
|
decorators: [{
|
|
@@ -1109,7 +1109,7 @@ class RouterModule {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1111
1111
|
minVersion: "12.0.0",
|
|
1112
|
-
version: "21.0.0
|
|
1112
|
+
version: "21.0.0",
|
|
1113
1113
|
ngImport: i0,
|
|
1114
1114
|
type: RouterModule,
|
|
1115
1115
|
deps: [],
|
|
@@ -1117,7 +1117,7 @@ class RouterModule {
|
|
|
1117
1117
|
});
|
|
1118
1118
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1119
1119
|
minVersion: "14.0.0",
|
|
1120
|
-
version: "21.0.0
|
|
1120
|
+
version: "21.0.0",
|
|
1121
1121
|
ngImport: i0,
|
|
1122
1122
|
type: RouterModule,
|
|
1123
1123
|
imports: [RouterOutlet, RouterLink, RouterLinkActive, _EmptyOutletComponent],
|
|
@@ -1125,14 +1125,14 @@ class RouterModule {
|
|
|
1125
1125
|
});
|
|
1126
1126
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1127
1127
|
minVersion: "12.0.0",
|
|
1128
|
-
version: "21.0.0
|
|
1128
|
+
version: "21.0.0",
|
|
1129
1129
|
ngImport: i0,
|
|
1130
1130
|
type: RouterModule
|
|
1131
1131
|
});
|
|
1132
1132
|
}
|
|
1133
1133
|
i0.ɵɵngDeclareClassMetadata({
|
|
1134
1134
|
minVersion: "12.0.0",
|
|
1135
|
-
version: "21.0.0
|
|
1135
|
+
version: "21.0.0",
|
|
1136
1136
|
ngImport: i0,
|
|
1137
1137
|
type: RouterModule,
|
|
1138
1138
|
decorators: [{
|
package/fesm2022/router.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0
|
|
2
|
+
* @license Angular v21.0.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ function mapToResolve(provider) {
|
|
|
28
28
|
return (...params) => inject(provider).resolve(...params);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
const VERSION = /* @__PURE__ */new Version('21.0.0
|
|
31
|
+
const VERSION = /* @__PURE__ */new Version('21.0.0');
|
|
32
32
|
|
|
33
33
|
export { VERSION, mapToCanActivate, mapToCanActivateChild, mapToCanDeactivate, mapToCanMatch, mapToResolve };
|
|
34
34
|
//# sourceMappingURL=router.mjs.map
|
package/fesm2022/router.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/packages/router/src/utils/functional_guards.ts","../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/packages/router/src/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Type} from '@angular/core';\n\nimport {\n CanActivate,\n CanActivateChild,\n CanActivateChildFn,\n CanActivateFn,\n CanDeactivate,\n CanDeactivateFn,\n CanMatch,\n CanMatchFn,\n Resolve,\n ResolveFn,\n} from '../models';\n\n/**\n * Maps an array of injectable classes with canMatch functions to an array of equivalent\n * `CanMatchFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanMatch(providers: Array<Type<CanMatch>>): CanMatchFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canMatch(...params),\n );\n}\n\n/**\n * Maps an array of injectable classes with canActivate functions to an array of equivalent\n * `CanActivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivate(providers: Array<Type<CanActivate>>): CanActivateFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivate(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canActivateChild functions to an array of equivalent\n * `CanActivateChildFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivateChild(\n providers: Array<Type<CanActivateChild>>,\n): CanActivateChildFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivateChild(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canDeactivate functions to an array of equivalent\n * `CanDeactivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanDeactivate<T = unknown>(\n providers: Array<Type<CanDeactivate<T>>>,\n): CanDeactivateFn<T>[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canDeactivate(...params),\n );\n}\n/**\n * Maps an injectable class with a resolve function to an equivalent `ResolveFn`\n * for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='Resolve'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToResolve<T>(provider: Type<Resolve<T>>): ResolveFn<T> {\n return (...params) => inject(provider).resolve(...params);\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the router package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = /* @__PURE__ */ new Version('21.0.0
|
|
1
|
+
{"version":3,"file":"router.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/packages/router/src/utils/functional_guards.ts","../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/packages/router/src/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Type} from '@angular/core';\n\nimport {\n CanActivate,\n CanActivateChild,\n CanActivateChildFn,\n CanActivateFn,\n CanDeactivate,\n CanDeactivateFn,\n CanMatch,\n CanMatchFn,\n Resolve,\n ResolveFn,\n} from '../models';\n\n/**\n * Maps an array of injectable classes with canMatch functions to an array of equivalent\n * `CanMatchFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanMatch(providers: Array<Type<CanMatch>>): CanMatchFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canMatch(...params),\n );\n}\n\n/**\n * Maps an array of injectable classes with canActivate functions to an array of equivalent\n * `CanActivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivate(providers: Array<Type<CanActivate>>): CanActivateFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivate(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canActivateChild functions to an array of equivalent\n * `CanActivateChildFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivateChild(\n providers: Array<Type<CanActivateChild>>,\n): CanActivateChildFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivateChild(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canDeactivate functions to an array of equivalent\n * `CanDeactivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanDeactivate<T = unknown>(\n providers: Array<Type<CanDeactivate<T>>>,\n): CanDeactivateFn<T>[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canDeactivate(...params),\n );\n}\n/**\n * Maps an injectable class with a resolve function to an equivalent `ResolveFn`\n * for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='Resolve'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToResolve<T>(provider: Type<Resolve<T>>): ResolveFn<T> {\n return (...params) => inject(provider).resolve(...params);\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the router package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = /* @__PURE__ */ new Version('21.0.0');\n"],"names":["mapToCanMatch","providers","map","provider","params","inject","canMatch","mapToCanActivate","canActivate","mapToCanActivateChild","canActivateChild","mapToCanDeactivate","canDeactivate","mapToResolve","resolve","VERSION","Version"],"mappings":";;;;;;;;;;;;;;AAgCM,SAAUA,aAAaA,CAACC,SAAgC,EAAA;EAC5D,OAAOA,SAAS,CAACC,GAAG,CACjBC,QAAQ,IACP,CAAC,GAAGC,MAAM,KACRC,MAAM,CAACF,QAAQ,CAAC,CAACG,QAAQ,CAAC,GAAGF,MAAM,CAAC,CACzC;AACH;AAWM,SAAUG,gBAAgBA,CAACN,SAAmC,EAAA;EAClE,OAAOA,SAAS,CAACC,GAAG,CACjBC,QAAQ,IACP,CAAC,GAAGC,MAAM,KACRC,MAAM,CAACF,QAAQ,CAAC,CAACK,WAAW,CAAC,GAAGJ,MAAM,CAAC,CAC5C;AACH;AAUM,SAAUK,qBAAqBA,CACnCR,SAAwC,EAAA;EAExC,OAAOA,SAAS,CAACC,GAAG,CACjBC,QAAQ,IACP,CAAC,GAAGC,MAAM,KACRC,MAAM,CAACF,QAAQ,CAAC,CAACO,gBAAgB,CAAC,GAAGN,MAAM,CAAC,CACjD;AACH;AAUM,SAAUO,kBAAkBA,CAChCV,SAAwC,EAAA;EAExC,OAAOA,SAAS,CAACC,GAAG,CACjBC,QAAQ,IACP,CAAC,GAAGC,MAAM,KACRC,MAAM,CAACF,QAAQ,CAAC,CAACS,aAAa,CAAC,GAAGR,MAAM,CAAC,CAC9C;AACH;AAUM,SAAUS,YAAYA,CAAIV,QAA0B,EAAA;AACxD,EAAA,OAAO,CAAC,GAAGC,MAAM,KAAKC,MAAM,CAACF,QAAQ,CAAC,CAACW,OAAO,CAAC,GAAGV,MAAM,CAAC;AAC3D;;ACpFO,MAAMW,OAAO,kBAAmB,IAAIC,OAAO,CAAC,mBAAmB;;;;"}
|
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0
|
|
2
|
+
* @license Angular v21.0.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -33,7 +33,7 @@ class RouterTestingModule {
|
|
|
33
33
|
}
|
|
34
34
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
35
35
|
minVersion: "12.0.0",
|
|
36
|
-
version: "21.0.0
|
|
36
|
+
version: "21.0.0",
|
|
37
37
|
ngImport: i0,
|
|
38
38
|
type: RouterTestingModule,
|
|
39
39
|
deps: [],
|
|
@@ -41,14 +41,14 @@ class RouterTestingModule {
|
|
|
41
41
|
});
|
|
42
42
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
43
43
|
minVersion: "14.0.0",
|
|
44
|
-
version: "21.0.0
|
|
44
|
+
version: "21.0.0",
|
|
45
45
|
ngImport: i0,
|
|
46
46
|
type: RouterTestingModule,
|
|
47
47
|
exports: [RouterModule]
|
|
48
48
|
});
|
|
49
49
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
50
50
|
minVersion: "12.0.0",
|
|
51
|
-
version: "21.0.0
|
|
51
|
+
version: "21.0.0",
|
|
52
52
|
ngImport: i0,
|
|
53
53
|
type: RouterTestingModule,
|
|
54
54
|
providers: [ROUTER_PROVIDERS, provideLocationMocks(), withPreloading(NoPreloading).ɵproviders, {
|
|
@@ -61,7 +61,7 @@ class RouterTestingModule {
|
|
|
61
61
|
}
|
|
62
62
|
i0.ɵɵngDeclareClassMetadata({
|
|
63
63
|
minVersion: "12.0.0",
|
|
64
|
-
version: "21.0.0
|
|
64
|
+
version: "21.0.0",
|
|
65
65
|
ngImport: i0,
|
|
66
66
|
type: RouterTestingModule,
|
|
67
67
|
decorators: [{
|
|
@@ -97,7 +97,7 @@ class RootFixtureService {
|
|
|
97
97
|
}
|
|
98
98
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
99
99
|
minVersion: "12.0.0",
|
|
100
|
-
version: "21.0.0
|
|
100
|
+
version: "21.0.0",
|
|
101
101
|
ngImport: i0,
|
|
102
102
|
type: RootFixtureService,
|
|
103
103
|
deps: [],
|
|
@@ -105,7 +105,7 @@ class RootFixtureService {
|
|
|
105
105
|
});
|
|
106
106
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
107
107
|
minVersion: "12.0.0",
|
|
108
|
-
version: "21.0.0
|
|
108
|
+
version: "21.0.0",
|
|
109
109
|
ngImport: i0,
|
|
110
110
|
type: RootFixtureService,
|
|
111
111
|
providedIn: 'root'
|
|
@@ -113,7 +113,7 @@ class RootFixtureService {
|
|
|
113
113
|
}
|
|
114
114
|
i0.ɵɵngDeclareClassMetadata({
|
|
115
115
|
minVersion: "12.0.0",
|
|
116
|
-
version: "21.0.0
|
|
116
|
+
version: "21.0.0",
|
|
117
117
|
ngImport: i0,
|
|
118
118
|
type: RootFixtureService,
|
|
119
119
|
decorators: [{
|
|
@@ -130,7 +130,7 @@ class RootCmp {
|
|
|
130
130
|
}] : []));
|
|
131
131
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
132
132
|
minVersion: "12.0.0",
|
|
133
|
-
version: "21.0.0
|
|
133
|
+
version: "21.0.0",
|
|
134
134
|
ngImport: i0,
|
|
135
135
|
type: RootCmp,
|
|
136
136
|
deps: [],
|
|
@@ -138,7 +138,7 @@ class RootCmp {
|
|
|
138
138
|
});
|
|
139
139
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
140
140
|
minVersion: "14.0.0",
|
|
141
|
-
version: "21.0.0
|
|
141
|
+
version: "21.0.0",
|
|
142
142
|
type: RootCmp,
|
|
143
143
|
isStandalone: true,
|
|
144
144
|
selector: "ng-component",
|
|
@@ -163,7 +163,7 @@ class RootCmp {
|
|
|
163
163
|
}
|
|
164
164
|
i0.ɵɵngDeclareClassMetadata({
|
|
165
165
|
minVersion: "12.0.0",
|
|
166
|
-
version: "21.0.0
|
|
166
|
+
version: "21.0.0",
|
|
167
167
|
ngImport: i0,
|
|
168
168
|
type: RootCmp,
|
|
169
169
|
decorators: [{
|
package/fesm2022/upgrade.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/router",
|
|
3
|
-
"version": "21.0.0
|
|
3
|
+
"version": "21.0.0",
|
|
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": "21.0.0
|
|
28
|
-
"@angular/common": "21.0.0
|
|
29
|
-
"@angular/platform-browser": "21.0.0
|
|
27
|
+
"@angular/core": "21.0.0",
|
|
28
|
+
"@angular/common": "21.0.0",
|
|
29
|
+
"@angular/platform-browser": "21.0.0",
|
|
30
30
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
31
31
|
},
|
|
32
32
|
"ng-update": {
|
package/types/router.d.ts
CHANGED
package/types/testing.d.ts
CHANGED
package/types/upgrade.d.ts
CHANGED