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