@angular/router 21.2.0-next.0 → 21.2.0-next.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-next.0
2
+ * @license Angular v21.2.0-next.1
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -45,7 +45,7 @@ class ReactiveRouterState {
45
45
  }
46
46
  static ɵfac = i0.ɵɵngDeclareFactory({
47
47
  minVersion: "12.0.0",
48
- version: "21.2.0-next.0",
48
+ version: "21.2.0-next.1",
49
49
  ngImport: i0,
50
50
  type: ReactiveRouterState,
51
51
  deps: [],
@@ -53,7 +53,7 @@ class ReactiveRouterState {
53
53
  });
54
54
  static ɵprov = i0.ɵɵngDeclareInjectable({
55
55
  minVersion: "12.0.0",
56
- version: "21.2.0-next.0",
56
+ version: "21.2.0-next.1",
57
57
  ngImport: i0,
58
58
  type: ReactiveRouterState,
59
59
  providedIn: 'root'
@@ -61,7 +61,7 @@ class ReactiveRouterState {
61
61
  }
62
62
  i0.ɵɵngDeclareClassMetadata({
63
63
  minVersion: "12.0.0",
64
- version: "21.2.0-next.0",
64
+ version: "21.2.0-next.1",
65
65
  ngImport: i0,
66
66
  type: ReactiveRouterState,
67
67
  decorators: [{
@@ -314,7 +314,7 @@ class RouterLink {
314
314
  }
315
315
  static ɵfac = i0.ɵɵngDeclareFactory({
316
316
  minVersion: "12.0.0",
317
- version: "21.2.0-next.0",
317
+ version: "21.2.0-next.1",
318
318
  ngImport: i0,
319
319
  type: RouterLink,
320
320
  deps: [{
@@ -335,7 +335,7 @@ class RouterLink {
335
335
  });
336
336
  static ɵdir = i0.ɵɵngDeclareDirective({
337
337
  minVersion: "16.1.0",
338
- version: "21.2.0-next.0",
338
+ version: "21.2.0-next.1",
339
339
  type: RouterLink,
340
340
  isStandalone: true,
341
341
  selector: "[routerLink]",
@@ -367,7 +367,7 @@ class RouterLink {
367
367
  }
368
368
  i0.ɵɵngDeclareClassMetadata({
369
369
  minVersion: "12.0.0",
370
- version: "21.2.0-next.0",
370
+ version: "21.2.0-next.1",
371
371
  ngImport: i0,
372
372
  type: RouterLink,
373
373
  decorators: [{
@@ -545,7 +545,7 @@ class RouterLinkActive {
545
545
  }
546
546
  static ɵfac = i0.ɵɵngDeclareFactory({
547
547
  minVersion: "12.0.0",
548
- version: "21.2.0-next.0",
548
+ version: "21.2.0-next.1",
549
549
  ngImport: i0,
550
550
  type: RouterLinkActive,
551
551
  deps: [{
@@ -561,7 +561,7 @@ class RouterLinkActive {
561
561
  });
562
562
  static ɵdir = i0.ɵɵngDeclareDirective({
563
563
  minVersion: "14.0.0",
564
- version: "21.2.0-next.0",
564
+ version: "21.2.0-next.1",
565
565
  type: RouterLinkActive,
566
566
  isStandalone: true,
567
567
  selector: "[routerLinkActive]",
@@ -585,7 +585,7 @@ class RouterLinkActive {
585
585
  }
586
586
  i0.ɵɵngDeclareClassMetadata({
587
587
  minVersion: "12.0.0",
588
- version: "21.2.0-next.0",
588
+ version: "21.2.0-next.1",
589
589
  ngImport: i0,
590
590
  type: RouterLinkActive,
591
591
  decorators: [{
@@ -636,7 +636,7 @@ class PreloadAllModules {
636
636
  }
637
637
  static ɵfac = i0.ɵɵngDeclareFactory({
638
638
  minVersion: "12.0.0",
639
- version: "21.2.0-next.0",
639
+ version: "21.2.0-next.1",
640
640
  ngImport: i0,
641
641
  type: PreloadAllModules,
642
642
  deps: [],
@@ -644,7 +644,7 @@ class PreloadAllModules {
644
644
  });
645
645
  static ɵprov = i0.ɵɵngDeclareInjectable({
646
646
  minVersion: "12.0.0",
647
- version: "21.2.0-next.0",
647
+ version: "21.2.0-next.1",
648
648
  ngImport: i0,
649
649
  type: PreloadAllModules,
650
650
  providedIn: 'root'
@@ -652,7 +652,7 @@ class PreloadAllModules {
652
652
  }
653
653
  i0.ɵɵngDeclareClassMetadata({
654
654
  minVersion: "12.0.0",
655
- version: "21.2.0-next.0",
655
+ version: "21.2.0-next.1",
656
656
  ngImport: i0,
657
657
  type: PreloadAllModules,
658
658
  decorators: [{
@@ -668,7 +668,7 @@ class NoPreloading {
668
668
  }
669
669
  static ɵfac = i0.ɵɵngDeclareFactory({
670
670
  minVersion: "12.0.0",
671
- version: "21.2.0-next.0",
671
+ version: "21.2.0-next.1",
672
672
  ngImport: i0,
673
673
  type: NoPreloading,
674
674
  deps: [],
@@ -676,7 +676,7 @@ class NoPreloading {
676
676
  });
677
677
  static ɵprov = i0.ɵɵngDeclareInjectable({
678
678
  minVersion: "12.0.0",
679
- version: "21.2.0-next.0",
679
+ version: "21.2.0-next.1",
680
680
  ngImport: i0,
681
681
  type: NoPreloading,
682
682
  providedIn: 'root'
@@ -684,7 +684,7 @@ class NoPreloading {
684
684
  }
685
685
  i0.ɵɵngDeclareClassMetadata({
686
686
  minVersion: "12.0.0",
687
- version: "21.2.0-next.0",
687
+ version: "21.2.0-next.1",
688
688
  ngImport: i0,
689
689
  type: NoPreloading,
690
690
  decorators: [{
@@ -765,7 +765,7 @@ class RouterPreloader {
765
765
  }
766
766
  static ɵfac = i0.ɵɵngDeclareFactory({
767
767
  minVersion: "12.0.0",
768
- version: "21.2.0-next.0",
768
+ version: "21.2.0-next.1",
769
769
  ngImport: i0,
770
770
  type: RouterPreloader,
771
771
  deps: [{
@@ -781,7 +781,7 @@ class RouterPreloader {
781
781
  });
782
782
  static ɵprov = i0.ɵɵngDeclareInjectable({
783
783
  minVersion: "12.0.0",
784
- version: "21.2.0-next.0",
784
+ version: "21.2.0-next.1",
785
785
  ngImport: i0,
786
786
  type: RouterPreloader,
787
787
  providedIn: 'root'
@@ -789,7 +789,7 @@ class RouterPreloader {
789
789
  }
790
790
  i0.ɵɵngDeclareClassMetadata({
791
791
  minVersion: "12.0.0",
792
- version: "21.2.0-next.0",
792
+ version: "21.2.0-next.1",
793
793
  ngImport: i0,
794
794
  type: RouterPreloader,
795
795
  decorators: [{
@@ -891,7 +891,7 @@ class RouterScroller {
891
891
  }
892
892
  static ɵfac = i0.ɵɵngDeclareFactory({
893
893
  minVersion: "12.0.0",
894
- version: "21.2.0-next.0",
894
+ version: "21.2.0-next.1",
895
895
  ngImport: i0,
896
896
  type: RouterScroller,
897
897
  deps: "invalid",
@@ -899,14 +899,14 @@ class RouterScroller {
899
899
  });
900
900
  static ɵprov = i0.ɵɵngDeclareInjectable({
901
901
  minVersion: "12.0.0",
902
- version: "21.2.0-next.0",
902
+ version: "21.2.0-next.1",
903
903
  ngImport: i0,
904
904
  type: RouterScroller
905
905
  });
906
906
  }
907
907
  i0.ɵɵngDeclareClassMetadata({
908
908
  minVersion: "12.0.0",
909
- version: "21.2.0-next.0",
909
+ version: "21.2.0-next.1",
910
910
  ngImport: i0,
911
911
  type: RouterScroller,
912
912
  decorators: [{
@@ -1032,7 +1032,7 @@ class NavigationStateManager extends StateManager {
1032
1032
  navigationEvent,
1033
1033
  commitUrl
1034
1034
  } = this.currentNavigation;
1035
- if (commitUrl || navigationEvent && (navigationEvent.navigationType === 'traverse' || navigationEvent.navigationType === 'reload') && this.eventAndRouterDestinationsMatch(navigationEvent, transition)) {
1035
+ if (commitUrl || navigationEvent && navigationEvent.navigationType === 'traverse' && this.eventAndRouterDestinationsMatch(navigationEvent, transition)) {
1036
1036
  return;
1037
1037
  }
1038
1038
  this.currentNavigation.removeAbortListener?.();
@@ -1111,7 +1111,7 @@ class NavigationStateManager extends StateManager {
1111
1111
  this.rawUrlTree = traversalReset ? this.stateMemento.rawUrlTree : this.urlHandlingStrategy.merge(this.currentUrlTree, finalUrl ?? this.rawUrlTree);
1112
1112
  }
1113
1113
  handleNavigate(event) {
1114
- if (!event.canIntercept) {
1114
+ if (!event.canIntercept || event.navigationType === 'reload') {
1115
1115
  return;
1116
1116
  }
1117
1117
  const routerInfo = event?.info?.ɵrouterInfo;
@@ -1212,7 +1212,7 @@ class NavigationStateManager extends StateManager {
1212
1212
  }
1213
1213
  static ɵfac = i0.ɵɵngDeclareFactory({
1214
1214
  minVersion: "12.0.0",
1215
- version: "21.2.0-next.0",
1215
+ version: "21.2.0-next.1",
1216
1216
  ngImport: i0,
1217
1217
  type: NavigationStateManager,
1218
1218
  deps: [],
@@ -1220,7 +1220,7 @@ class NavigationStateManager extends StateManager {
1220
1220
  });
1221
1221
  static ɵprov = i0.ɵɵngDeclareInjectable({
1222
1222
  minVersion: "12.0.0",
1223
- version: "21.2.0-next.0",
1223
+ version: "21.2.0-next.1",
1224
1224
  ngImport: i0,
1225
1225
  type: NavigationStateManager,
1226
1226
  providedIn: 'root'
@@ -1228,7 +1228,7 @@ class NavigationStateManager extends StateManager {
1228
1228
  }
1229
1229
  i0.ɵɵngDeclareClassMetadata({
1230
1230
  minVersion: "12.0.0",
1231
- version: "21.2.0-next.0",
1231
+ version: "21.2.0-next.1",
1232
1232
  ngImport: i0,
1233
1233
  type: NavigationStateManager,
1234
1234
  decorators: [{
@@ -1527,7 +1527,7 @@ class RouterModule {
1527
1527
  }
1528
1528
  static ɵfac = i0.ɵɵngDeclareFactory({
1529
1529
  minVersion: "12.0.0",
1530
- version: "21.2.0-next.0",
1530
+ version: "21.2.0-next.1",
1531
1531
  ngImport: i0,
1532
1532
  type: RouterModule,
1533
1533
  deps: [],
@@ -1535,7 +1535,7 @@ class RouterModule {
1535
1535
  });
1536
1536
  static ɵmod = i0.ɵɵngDeclareNgModule({
1537
1537
  minVersion: "14.0.0",
1538
- version: "21.2.0-next.0",
1538
+ version: "21.2.0-next.1",
1539
1539
  ngImport: i0,
1540
1540
  type: RouterModule,
1541
1541
  imports: [RouterOutlet, RouterLink, RouterLinkActive, _EmptyOutletComponent],
@@ -1543,14 +1543,14 @@ class RouterModule {
1543
1543
  });
1544
1544
  static ɵinj = i0.ɵɵngDeclareInjector({
1545
1545
  minVersion: "12.0.0",
1546
- version: "21.2.0-next.0",
1546
+ version: "21.2.0-next.1",
1547
1547
  ngImport: i0,
1548
1548
  type: RouterModule
1549
1549
  });
1550
1550
  }
1551
1551
  i0.ɵɵngDeclareClassMetadata({
1552
1552
  minVersion: "12.0.0",
1553
- version: "21.2.0-next.0",
1553
+ version: "21.2.0-next.1",
1554
1554
  ngImport: i0,
1555
1555
  type: RouterModule,
1556
1556
  decorators: [{