@angular/router 21.0.0-rc.3 → 21.0.1
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 +64 -60
- package/fesm2022/_router-chunk.mjs.map +1 -1
- package/fesm2022/_router_module-chunk.mjs +31 -29
- 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 +16 -14
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +1 -1
- package/fesm2022/upgrade.mjs.map +1 -1
- package/package.json +4 -4
- package/types/_router_module-chunk.d.ts +14 -13
- package/types/router.d.ts +20 -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.
|
|
2
|
+
* @license Angular v21.0.1
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -19,9 +19,11 @@ class RouterLink {
|
|
|
19
19
|
renderer;
|
|
20
20
|
el;
|
|
21
21
|
locationStrategy;
|
|
22
|
-
reactiveHref = signal(null,
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
reactiveHref = signal(null, {
|
|
23
|
+
...(ngDevMode ? {
|
|
24
|
+
debugName: "reactiveHref"
|
|
25
|
+
} : {})
|
|
26
|
+
});
|
|
25
27
|
get href() {
|
|
26
28
|
return untracked(this.reactiveHref);
|
|
27
29
|
}
|
|
@@ -166,7 +168,7 @@ class RouterLink {
|
|
|
166
168
|
}
|
|
167
169
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
168
170
|
minVersion: "12.0.0",
|
|
169
|
-
version: "21.0.
|
|
171
|
+
version: "21.0.1",
|
|
170
172
|
ngImport: i0,
|
|
171
173
|
type: RouterLink,
|
|
172
174
|
deps: [{
|
|
@@ -187,7 +189,7 @@ class RouterLink {
|
|
|
187
189
|
});
|
|
188
190
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
189
191
|
minVersion: "16.1.0",
|
|
190
|
-
version: "21.0.
|
|
192
|
+
version: "21.0.1",
|
|
191
193
|
type: RouterLink,
|
|
192
194
|
isStandalone: true,
|
|
193
195
|
selector: "[routerLink]",
|
|
@@ -219,7 +221,7 @@ class RouterLink {
|
|
|
219
221
|
}
|
|
220
222
|
i0.ɵɵngDeclareClassMetadata({
|
|
221
223
|
minVersion: "12.0.0",
|
|
222
|
-
version: "21.0.
|
|
224
|
+
version: "21.0.1",
|
|
223
225
|
ngImport: i0,
|
|
224
226
|
type: RouterLink,
|
|
225
227
|
decorators: [{
|
|
@@ -395,7 +397,7 @@ class RouterLinkActive {
|
|
|
395
397
|
}
|
|
396
398
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
397
399
|
minVersion: "12.0.0",
|
|
398
|
-
version: "21.0.
|
|
400
|
+
version: "21.0.1",
|
|
399
401
|
ngImport: i0,
|
|
400
402
|
type: RouterLinkActive,
|
|
401
403
|
deps: [{
|
|
@@ -411,7 +413,7 @@ class RouterLinkActive {
|
|
|
411
413
|
});
|
|
412
414
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
413
415
|
minVersion: "14.0.0",
|
|
414
|
-
version: "21.0.
|
|
416
|
+
version: "21.0.1",
|
|
415
417
|
type: RouterLinkActive,
|
|
416
418
|
isStandalone: true,
|
|
417
419
|
selector: "[routerLinkActive]",
|
|
@@ -435,7 +437,7 @@ class RouterLinkActive {
|
|
|
435
437
|
}
|
|
436
438
|
i0.ɵɵngDeclareClassMetadata({
|
|
437
439
|
minVersion: "12.0.0",
|
|
438
|
-
version: "21.0.
|
|
440
|
+
version: "21.0.1",
|
|
439
441
|
ngImport: i0,
|
|
440
442
|
type: RouterLinkActive,
|
|
441
443
|
decorators: [{
|
|
@@ -486,7 +488,7 @@ class PreloadAllModules {
|
|
|
486
488
|
}
|
|
487
489
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
488
490
|
minVersion: "12.0.0",
|
|
489
|
-
version: "21.0.
|
|
491
|
+
version: "21.0.1",
|
|
490
492
|
ngImport: i0,
|
|
491
493
|
type: PreloadAllModules,
|
|
492
494
|
deps: [],
|
|
@@ -494,7 +496,7 @@ class PreloadAllModules {
|
|
|
494
496
|
});
|
|
495
497
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
496
498
|
minVersion: "12.0.0",
|
|
497
|
-
version: "21.0.
|
|
499
|
+
version: "21.0.1",
|
|
498
500
|
ngImport: i0,
|
|
499
501
|
type: PreloadAllModules,
|
|
500
502
|
providedIn: 'root'
|
|
@@ -502,7 +504,7 @@ class PreloadAllModules {
|
|
|
502
504
|
}
|
|
503
505
|
i0.ɵɵngDeclareClassMetadata({
|
|
504
506
|
minVersion: "12.0.0",
|
|
505
|
-
version: "21.0.
|
|
507
|
+
version: "21.0.1",
|
|
506
508
|
ngImport: i0,
|
|
507
509
|
type: PreloadAllModules,
|
|
508
510
|
decorators: [{
|
|
@@ -518,7 +520,7 @@ class NoPreloading {
|
|
|
518
520
|
}
|
|
519
521
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
520
522
|
minVersion: "12.0.0",
|
|
521
|
-
version: "21.0.
|
|
523
|
+
version: "21.0.1",
|
|
522
524
|
ngImport: i0,
|
|
523
525
|
type: NoPreloading,
|
|
524
526
|
deps: [],
|
|
@@ -526,7 +528,7 @@ class NoPreloading {
|
|
|
526
528
|
});
|
|
527
529
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
528
530
|
minVersion: "12.0.0",
|
|
529
|
-
version: "21.0.
|
|
531
|
+
version: "21.0.1",
|
|
530
532
|
ngImport: i0,
|
|
531
533
|
type: NoPreloading,
|
|
532
534
|
providedIn: 'root'
|
|
@@ -534,7 +536,7 @@ class NoPreloading {
|
|
|
534
536
|
}
|
|
535
537
|
i0.ɵɵngDeclareClassMetadata({
|
|
536
538
|
minVersion: "12.0.0",
|
|
537
|
-
version: "21.0.
|
|
539
|
+
version: "21.0.1",
|
|
538
540
|
ngImport: i0,
|
|
539
541
|
type: NoPreloading,
|
|
540
542
|
decorators: [{
|
|
@@ -610,7 +612,7 @@ class RouterPreloader {
|
|
|
610
612
|
}
|
|
611
613
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
612
614
|
minVersion: "12.0.0",
|
|
613
|
-
version: "21.0.
|
|
615
|
+
version: "21.0.1",
|
|
614
616
|
ngImport: i0,
|
|
615
617
|
type: RouterPreloader,
|
|
616
618
|
deps: [{
|
|
@@ -626,7 +628,7 @@ class RouterPreloader {
|
|
|
626
628
|
});
|
|
627
629
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
628
630
|
minVersion: "12.0.0",
|
|
629
|
-
version: "21.0.
|
|
631
|
+
version: "21.0.1",
|
|
630
632
|
ngImport: i0,
|
|
631
633
|
type: RouterPreloader,
|
|
632
634
|
providedIn: 'root'
|
|
@@ -634,7 +636,7 @@ class RouterPreloader {
|
|
|
634
636
|
}
|
|
635
637
|
i0.ɵɵngDeclareClassMetadata({
|
|
636
638
|
minVersion: "12.0.0",
|
|
637
|
-
version: "21.0.
|
|
639
|
+
version: "21.0.1",
|
|
638
640
|
ngImport: i0,
|
|
639
641
|
type: RouterPreloader,
|
|
640
642
|
decorators: [{
|
|
@@ -739,7 +741,7 @@ class RouterScroller {
|
|
|
739
741
|
}
|
|
740
742
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
741
743
|
minVersion: "12.0.0",
|
|
742
|
-
version: "21.0.
|
|
744
|
+
version: "21.0.1",
|
|
743
745
|
ngImport: i0,
|
|
744
746
|
type: RouterScroller,
|
|
745
747
|
deps: "invalid",
|
|
@@ -747,14 +749,14 @@ class RouterScroller {
|
|
|
747
749
|
});
|
|
748
750
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
749
751
|
minVersion: "12.0.0",
|
|
750
|
-
version: "21.0.
|
|
752
|
+
version: "21.0.1",
|
|
751
753
|
ngImport: i0,
|
|
752
754
|
type: RouterScroller
|
|
753
755
|
});
|
|
754
756
|
}
|
|
755
757
|
i0.ɵɵngDeclareClassMetadata({
|
|
756
758
|
minVersion: "12.0.0",
|
|
757
|
-
version: "21.0.
|
|
759
|
+
version: "21.0.1",
|
|
758
760
|
ngImport: i0,
|
|
759
761
|
type: RouterScroller,
|
|
760
762
|
decorators: [{
|
|
@@ -800,7 +802,7 @@ class NavigationStateManager extends HistoryStateManager {
|
|
|
800
802
|
}
|
|
801
803
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
802
804
|
minVersion: "12.0.0",
|
|
803
|
-
version: "21.0.
|
|
805
|
+
version: "21.0.1",
|
|
804
806
|
ngImport: i0,
|
|
805
807
|
type: NavigationStateManager,
|
|
806
808
|
deps: null,
|
|
@@ -808,7 +810,7 @@ class NavigationStateManager extends HistoryStateManager {
|
|
|
808
810
|
});
|
|
809
811
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
810
812
|
minVersion: "12.0.0",
|
|
811
|
-
version: "21.0.
|
|
813
|
+
version: "21.0.1",
|
|
812
814
|
ngImport: i0,
|
|
813
815
|
type: NavigationStateManager,
|
|
814
816
|
providedIn: 'root'
|
|
@@ -816,7 +818,7 @@ class NavigationStateManager extends HistoryStateManager {
|
|
|
816
818
|
}
|
|
817
819
|
i0.ɵɵngDeclareClassMetadata({
|
|
818
820
|
minVersion: "12.0.0",
|
|
819
|
-
version: "21.0.
|
|
821
|
+
version: "21.0.1",
|
|
820
822
|
ngImport: i0,
|
|
821
823
|
type: NavigationStateManager,
|
|
822
824
|
decorators: [{
|
|
@@ -1109,7 +1111,7 @@ class RouterModule {
|
|
|
1109
1111
|
}
|
|
1110
1112
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1111
1113
|
minVersion: "12.0.0",
|
|
1112
|
-
version: "21.0.
|
|
1114
|
+
version: "21.0.1",
|
|
1113
1115
|
ngImport: i0,
|
|
1114
1116
|
type: RouterModule,
|
|
1115
1117
|
deps: [],
|
|
@@ -1117,7 +1119,7 @@ class RouterModule {
|
|
|
1117
1119
|
});
|
|
1118
1120
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1119
1121
|
minVersion: "14.0.0",
|
|
1120
|
-
version: "21.0.
|
|
1122
|
+
version: "21.0.1",
|
|
1121
1123
|
ngImport: i0,
|
|
1122
1124
|
type: RouterModule,
|
|
1123
1125
|
imports: [RouterOutlet, RouterLink, RouterLinkActive, _EmptyOutletComponent],
|
|
@@ -1125,14 +1127,14 @@ class RouterModule {
|
|
|
1125
1127
|
});
|
|
1126
1128
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1127
1129
|
minVersion: "12.0.0",
|
|
1128
|
-
version: "21.0.
|
|
1130
|
+
version: "21.0.1",
|
|
1129
1131
|
ngImport: i0,
|
|
1130
1132
|
type: RouterModule
|
|
1131
1133
|
});
|
|
1132
1134
|
}
|
|
1133
1135
|
i0.ɵɵngDeclareClassMetadata({
|
|
1134
1136
|
minVersion: "12.0.0",
|
|
1135
|
-
version: "21.0.
|
|
1137
|
+
version: "21.0.1",
|
|
1136
1138
|
ngImport: i0,
|
|
1137
1139
|
type: RouterModule,
|
|
1138
1140
|
decorators: [{
|