@angular/router 21.1.1 → 21.1.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.1.1
2
+ * @license Angular v21.1.3
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -157,7 +157,7 @@ class RouterLink {
157
157
  }
158
158
  static ɵfac = i0.ɵɵngDeclareFactory({
159
159
  minVersion: "12.0.0",
160
- version: "21.1.1",
160
+ version: "21.1.3",
161
161
  ngImport: i0,
162
162
  type: RouterLink,
163
163
  deps: [{
@@ -178,7 +178,7 @@ class RouterLink {
178
178
  });
179
179
  static ɵdir = i0.ɵɵngDeclareDirective({
180
180
  minVersion: "16.1.0",
181
- version: "21.1.1",
181
+ version: "21.1.3",
182
182
  type: RouterLink,
183
183
  isStandalone: true,
184
184
  selector: "[routerLink]",
@@ -210,7 +210,7 @@ class RouterLink {
210
210
  }
211
211
  i0.ɵɵngDeclareClassMetadata({
212
212
  minVersion: "12.0.0",
213
- version: "21.1.1",
213
+ version: "21.1.3",
214
214
  ngImport: i0,
215
215
  type: RouterLink,
216
216
  decorators: [{
@@ -390,7 +390,7 @@ class RouterLinkActive {
390
390
  }
391
391
  static ɵfac = i0.ɵɵngDeclareFactory({
392
392
  minVersion: "12.0.0",
393
- version: "21.1.1",
393
+ version: "21.1.3",
394
394
  ngImport: i0,
395
395
  type: RouterLinkActive,
396
396
  deps: [{
@@ -406,7 +406,7 @@ class RouterLinkActive {
406
406
  });
407
407
  static ɵdir = i0.ɵɵngDeclareDirective({
408
408
  minVersion: "14.0.0",
409
- version: "21.1.1",
409
+ version: "21.1.3",
410
410
  type: RouterLinkActive,
411
411
  isStandalone: true,
412
412
  selector: "[routerLinkActive]",
@@ -430,7 +430,7 @@ class RouterLinkActive {
430
430
  }
431
431
  i0.ɵɵngDeclareClassMetadata({
432
432
  minVersion: "12.0.0",
433
- version: "21.1.1",
433
+ version: "21.1.3",
434
434
  ngImport: i0,
435
435
  type: RouterLinkActive,
436
436
  decorators: [{
@@ -481,7 +481,7 @@ class PreloadAllModules {
481
481
  }
482
482
  static ɵfac = i0.ɵɵngDeclareFactory({
483
483
  minVersion: "12.0.0",
484
- version: "21.1.1",
484
+ version: "21.1.3",
485
485
  ngImport: i0,
486
486
  type: PreloadAllModules,
487
487
  deps: [],
@@ -489,7 +489,7 @@ class PreloadAllModules {
489
489
  });
490
490
  static ɵprov = i0.ɵɵngDeclareInjectable({
491
491
  minVersion: "12.0.0",
492
- version: "21.1.1",
492
+ version: "21.1.3",
493
493
  ngImport: i0,
494
494
  type: PreloadAllModules,
495
495
  providedIn: 'root'
@@ -497,7 +497,7 @@ class PreloadAllModules {
497
497
  }
498
498
  i0.ɵɵngDeclareClassMetadata({
499
499
  minVersion: "12.0.0",
500
- version: "21.1.1",
500
+ version: "21.1.3",
501
501
  ngImport: i0,
502
502
  type: PreloadAllModules,
503
503
  decorators: [{
@@ -513,7 +513,7 @@ class NoPreloading {
513
513
  }
514
514
  static ɵfac = i0.ɵɵngDeclareFactory({
515
515
  minVersion: "12.0.0",
516
- version: "21.1.1",
516
+ version: "21.1.3",
517
517
  ngImport: i0,
518
518
  type: NoPreloading,
519
519
  deps: [],
@@ -521,7 +521,7 @@ class NoPreloading {
521
521
  });
522
522
  static ɵprov = i0.ɵɵngDeclareInjectable({
523
523
  minVersion: "12.0.0",
524
- version: "21.1.1",
524
+ version: "21.1.3",
525
525
  ngImport: i0,
526
526
  type: NoPreloading,
527
527
  providedIn: 'root'
@@ -529,7 +529,7 @@ class NoPreloading {
529
529
  }
530
530
  i0.ɵɵngDeclareClassMetadata({
531
531
  minVersion: "12.0.0",
532
- version: "21.1.1",
532
+ version: "21.1.3",
533
533
  ngImport: i0,
534
534
  type: NoPreloading,
535
535
  decorators: [{
@@ -610,7 +610,7 @@ class RouterPreloader {
610
610
  }
611
611
  static ɵfac = i0.ɵɵngDeclareFactory({
612
612
  minVersion: "12.0.0",
613
- version: "21.1.1",
613
+ version: "21.1.3",
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.1.1",
629
+ version: "21.1.3",
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.1.1",
637
+ version: "21.1.3",
638
638
  ngImport: i0,
639
639
  type: RouterPreloader,
640
640
  decorators: [{
@@ -736,7 +736,7 @@ class RouterScroller {
736
736
  }
737
737
  static ɵfac = i0.ɵɵngDeclareFactory({
738
738
  minVersion: "12.0.0",
739
- version: "21.1.1",
739
+ version: "21.1.3",
740
740
  ngImport: i0,
741
741
  type: RouterScroller,
742
742
  deps: "invalid",
@@ -744,14 +744,14 @@ class RouterScroller {
744
744
  });
745
745
  static ɵprov = i0.ɵɵngDeclareInjectable({
746
746
  minVersion: "12.0.0",
747
- version: "21.1.1",
747
+ version: "21.1.3",
748
748
  ngImport: i0,
749
749
  type: RouterScroller
750
750
  });
751
751
  }
752
752
  i0.ɵɵngDeclareClassMetadata({
753
753
  minVersion: "12.0.0",
754
- version: "21.1.1",
754
+ version: "21.1.3",
755
755
  ngImport: i0,
756
756
  type: RouterScroller,
757
757
  decorators: [{
@@ -851,7 +851,7 @@ class NavigationStateManager extends StateManager {
851
851
  const {
852
852
  navigationEvent
853
853
  } = this.currentNavigation;
854
- if (navigationEvent && (navigationEvent.navigationType === 'traverse' || navigationEvent.navigationType === 'reload') && this.eventAndRouterDestinationsMatch(navigationEvent, transition)) {
854
+ if (navigationEvent && navigationEvent.navigationType === 'traverse' && this.eventAndRouterDestinationsMatch(navigationEvent, transition)) {
855
855
  return;
856
856
  }
857
857
  this.currentNavigation.removeAbortListener?.();
@@ -929,7 +929,7 @@ class NavigationStateManager extends StateManager {
929
929
  this.rawUrlTree = traversalReset ? this.stateMemento.rawUrlTree : this.urlHandlingStrategy.merge(this.currentUrlTree, finalUrl ?? this.rawUrlTree);
930
930
  }
931
931
  handleNavigate(event) {
932
- if (!event.canIntercept) {
932
+ if (!event.canIntercept || event.navigationType === 'reload') {
933
933
  return;
934
934
  }
935
935
  const routerInfo = event?.info?.ɵrouterInfo;
@@ -993,7 +993,7 @@ class NavigationStateManager extends StateManager {
993
993
  }
994
994
  static ɵfac = i0.ɵɵngDeclareFactory({
995
995
  minVersion: "12.0.0",
996
- version: "21.1.1",
996
+ version: "21.1.3",
997
997
  ngImport: i0,
998
998
  type: NavigationStateManager,
999
999
  deps: [],
@@ -1001,7 +1001,7 @@ class NavigationStateManager extends StateManager {
1001
1001
  });
1002
1002
  static ɵprov = i0.ɵɵngDeclareInjectable({
1003
1003
  minVersion: "12.0.0",
1004
- version: "21.1.1",
1004
+ version: "21.1.3",
1005
1005
  ngImport: i0,
1006
1006
  type: NavigationStateManager,
1007
1007
  providedIn: 'root'
@@ -1009,7 +1009,7 @@ class NavigationStateManager extends StateManager {
1009
1009
  }
1010
1010
  i0.ɵɵngDeclareClassMetadata({
1011
1011
  minVersion: "12.0.0",
1012
- version: "21.1.1",
1012
+ version: "21.1.3",
1013
1013
  ngImport: i0,
1014
1014
  type: NavigationStateManager,
1015
1015
  decorators: [{
@@ -1308,7 +1308,7 @@ class RouterModule {
1308
1308
  }
1309
1309
  static ɵfac = i0.ɵɵngDeclareFactory({
1310
1310
  minVersion: "12.0.0",
1311
- version: "21.1.1",
1311
+ version: "21.1.3",
1312
1312
  ngImport: i0,
1313
1313
  type: RouterModule,
1314
1314
  deps: [],
@@ -1316,7 +1316,7 @@ class RouterModule {
1316
1316
  });
1317
1317
  static ɵmod = i0.ɵɵngDeclareNgModule({
1318
1318
  minVersion: "14.0.0",
1319
- version: "21.1.1",
1319
+ version: "21.1.3",
1320
1320
  ngImport: i0,
1321
1321
  type: RouterModule,
1322
1322
  imports: [RouterOutlet, RouterLink, RouterLinkActive, _EmptyOutletComponent],
@@ -1324,14 +1324,14 @@ class RouterModule {
1324
1324
  });
1325
1325
  static ɵinj = i0.ɵɵngDeclareInjector({
1326
1326
  minVersion: "12.0.0",
1327
- version: "21.1.1",
1327
+ version: "21.1.3",
1328
1328
  ngImport: i0,
1329
1329
  type: RouterModule
1330
1330
  });
1331
1331
  }
1332
1332
  i0.ɵɵngDeclareClassMetadata({
1333
1333
  minVersion: "12.0.0",
1334
- version: "21.1.1",
1334
+ version: "21.1.3",
1335
1335
  ngImport: i0,
1336
1336
  type: RouterModule,
1337
1337
  decorators: [{