@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.
- package/fesm2022/_router-chunk.mjs +49 -49
- package/fesm2022/_router-chunk.mjs.map +1 -1
- package/fesm2022/_router_module-chunk.mjs +26 -26
- package/fesm2022/_router_module-chunk.mjs.map +1 -1
- 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 +48 -3
- package/types/router.d.ts +7 -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
|
*/
|
|
@@ -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: [{
|