@angular/router 15.0.2 → 15.1.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.
- package/esm2020/src/components/empty_outlet.mjs +3 -3
- package/esm2020/src/directives/router_link.mjs +3 -3
- package/esm2020/src/directives/router_link_active.mjs +3 -3
- package/esm2020/src/directives/router_outlet.mjs +3 -3
- package/esm2020/src/events.mjs +34 -1
- package/esm2020/src/index.mjs +2 -2
- package/esm2020/src/models.mjs +1 -1
- package/esm2020/src/navigation_transition.mjs +44 -35
- package/esm2020/src/page_title_strategy.mjs +6 -6
- package/esm2020/src/route_reuse_strategy.mjs +6 -6
- package/esm2020/src/router.mjs +38 -13
- package/esm2020/src/router_config.mjs +1 -1
- package/esm2020/src/router_config_loader.mjs +3 -3
- package/esm2020/src/router_module.mjs +4 -4
- package/esm2020/src/router_outlet_context.mjs +3 -3
- package/esm2020/src/router_preloader.mjs +9 -9
- package/esm2020/src/router_scroller.mjs +3 -3
- package/esm2020/src/url_handling_strategy.mjs +6 -6
- package/esm2020/src/url_tree.mjs +3 -3
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/router_testing_module.mjs +8 -54
- package/fesm2015/router.mjs +166 -98
- package/fesm2015/router.mjs.map +1 -1
- package/fesm2015/testing.mjs +9 -55
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/upgrade.mjs +1 -1
- package/fesm2020/router.mjs +170 -103
- package/fesm2020/router.mjs.map +1 -1
- package/fesm2020/testing.mjs +9 -55
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/upgrade.mjs +1 -1
- package/index.d.ts +156 -23
- package/package.json +4 -4
- package/testing/index.d.ts +2 -7
- package/upgrade/index.d.ts +1 -1
package/fesm2015/router.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.0.
|
|
2
|
+
* @license Angular v15.1.0-next.1
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -461,9 +461,9 @@ function mapChildrenIntoArray(segment, fn) {
|
|
|
461
461
|
*/
|
|
462
462
|
class UrlSerializer {
|
|
463
463
|
}
|
|
464
|
-
UrlSerializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
465
|
-
UrlSerializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
464
|
+
UrlSerializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
465
|
+
UrlSerializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() });
|
|
466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
467
467
|
type: Injectable,
|
|
468
468
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
469
469
|
}] });
|
|
@@ -1378,6 +1378,37 @@ class NavigationCancel extends RouterEvent {
|
|
|
1378
1378
|
return `NavigationCancel(id: ${this.id}, url: '${this.url}')`;
|
|
1379
1379
|
}
|
|
1380
1380
|
}
|
|
1381
|
+
/**
|
|
1382
|
+
* An event triggered when a navigation is skipped.
|
|
1383
|
+
* This can happen for a couple reasons including onSameUrlHandling
|
|
1384
|
+
* is set to `ignore` and the navigation URL is not different than the
|
|
1385
|
+
* current state.
|
|
1386
|
+
*
|
|
1387
|
+
* @publicApi
|
|
1388
|
+
*/
|
|
1389
|
+
class NavigationSkipped extends RouterEvent {
|
|
1390
|
+
constructor(
|
|
1391
|
+
/** @docsNotRequired */
|
|
1392
|
+
id,
|
|
1393
|
+
/** @docsNotRequired */
|
|
1394
|
+
url,
|
|
1395
|
+
/**
|
|
1396
|
+
* A description of why the navigation was skipped. For debug purposes only. Use `code`
|
|
1397
|
+
* instead for a stable skipped reason that can be used in production.
|
|
1398
|
+
*/
|
|
1399
|
+
reason,
|
|
1400
|
+
/**
|
|
1401
|
+
* A code to indicate why the navigation was skipped. This code is stable for
|
|
1402
|
+
* the reason and can be relied on whereas the `reason` string could change and should not be
|
|
1403
|
+
* used in production.
|
|
1404
|
+
*/
|
|
1405
|
+
code) {
|
|
1406
|
+
super(id, url);
|
|
1407
|
+
this.reason = reason;
|
|
1408
|
+
this.code = code;
|
|
1409
|
+
this.type = 16 /* EventType.NavigationSkipped */;
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1381
1412
|
/**
|
|
1382
1413
|
* An event triggered when a navigation fails due to an unexpected error.
|
|
1383
1414
|
*
|
|
@@ -1704,6 +1735,8 @@ function stringifyEvent(routerEvent) {
|
|
|
1704
1735
|
return `GuardsCheckStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
|
|
1705
1736
|
case 2 /* EventType.NavigationCancel */:
|
|
1706
1737
|
return `NavigationCancel(id: ${routerEvent.id}, url: '${routerEvent.url}')`;
|
|
1738
|
+
case 16 /* EventType.NavigationSkipped */:
|
|
1739
|
+
return `NavigationSkipped(id: ${routerEvent.id}, url: '${routerEvent.url}')`;
|
|
1707
1740
|
case 1 /* EventType.NavigationEnd */:
|
|
1708
1741
|
return `NavigationEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}')`;
|
|
1709
1742
|
case 3 /* EventType.NavigationError */:
|
|
@@ -2386,9 +2419,9 @@ class ChildrenOutletContexts {
|
|
|
2386
2419
|
return this.contexts.get(childName) || null;
|
|
2387
2420
|
}
|
|
2388
2421
|
}
|
|
2389
|
-
ChildrenOutletContexts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2390
|
-
ChildrenOutletContexts.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
2391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2422
|
+
ChildrenOutletContexts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2423
|
+
ChildrenOutletContexts.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
|
|
2424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
2392
2425
|
type: Injectable,
|
|
2393
2426
|
args: [{ providedIn: 'root' }]
|
|
2394
2427
|
}] });
|
|
@@ -2609,9 +2642,9 @@ class RouterOutlet {
|
|
|
2609
2642
|
this.activateEvents.emit(this.activated.instance);
|
|
2610
2643
|
}
|
|
2611
2644
|
}
|
|
2612
|
-
RouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2613
|
-
RouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
2614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2645
|
+
RouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2646
|
+
RouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: RouterOutlet, isStandalone: true, selector: "router-outlet", inputs: { name: "name" }, outputs: { activateEvents: "activate", deactivateEvents: "deactivate", attachEvents: "attach", detachEvents: "detach" }, exportAs: ["outlet"], usesOnChanges: true, ngImport: i0 });
|
|
2647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2615
2648
|
type: Directive,
|
|
2616
2649
|
args: [{
|
|
2617
2650
|
selector: 'router-outlet',
|
|
@@ -2671,9 +2704,9 @@ function isComponentFactoryResolver(item) {
|
|
|
2671
2704
|
*/
|
|
2672
2705
|
class ɵEmptyOutletComponent {
|
|
2673
2706
|
}
|
|
2674
|
-
ɵEmptyOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2675
|
-
ɵEmptyOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
2676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2707
|
+
ɵEmptyOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2708
|
+
ɵEmptyOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0-next.1", type: ɵEmptyOutletComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<router-outlet></router-outlet>`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
2709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2677
2710
|
type: Component,
|
|
2678
2711
|
args: [{
|
|
2679
2712
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -4432,9 +4465,9 @@ class RouterConfigLoader {
|
|
|
4432
4465
|
}));
|
|
4433
4466
|
}
|
|
4434
4467
|
}
|
|
4435
|
-
RouterConfigLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4436
|
-
RouterConfigLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4468
|
+
RouterConfigLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterConfigLoader, deps: [{ token: i0.Injector }, { token: i0.Compiler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4469
|
+
RouterConfigLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
|
|
4470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4438
4471
|
type: Injectable,
|
|
4439
4472
|
args: [{ providedIn: 'root' }]
|
|
4440
4473
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.Compiler }]; } });
|
|
@@ -4527,6 +4560,7 @@ class NavigationTransitions {
|
|
|
4527
4560
|
previousNavigation: !this.lastSuccessfulNavigation ? null : Object.assign(Object.assign({}, this.lastSuccessfulNavigation), { previousNavigation: null }),
|
|
4528
4561
|
};
|
|
4529
4562
|
}), switchMap(t => {
|
|
4563
|
+
var _a;
|
|
4530
4564
|
const browserUrlTree = router.browserUrlTree.toString();
|
|
4531
4565
|
const urlTransition = !router.navigated ||
|
|
4532
4566
|
t.extractedUrl.toString() !== browserUrlTree ||
|
|
@@ -4535,9 +4569,17 @@ class NavigationTransitions {
|
|
|
4535
4569
|
// matching. If this is not the case, assume something went wrong and
|
|
4536
4570
|
// try processing the URL again.
|
|
4537
4571
|
browserUrlTree !== router.currentUrlTree.toString();
|
|
4538
|
-
const
|
|
4539
|
-
|
|
4540
|
-
|
|
4572
|
+
const onSameUrlNavigation = (_a = t.extras.onSameUrlNavigation) !== null && _a !== void 0 ? _a : router.onSameUrlNavigation;
|
|
4573
|
+
if (!urlTransition && onSameUrlNavigation !== 'reload') {
|
|
4574
|
+
const reason = NG_DEV_MODE$4 ?
|
|
4575
|
+
`Navigation to ${t.rawUrl} was ignored because it is the same as the current Router URL.` :
|
|
4576
|
+
'';
|
|
4577
|
+
this.events.next(new NavigationSkipped(t.id, router.serializeUrl(overallTransitionState.rawUrl), reason, 0 /* NavigationSkippedCode.IgnoredSameUrlNavigation */));
|
|
4578
|
+
router.rawUrlTree = t.rawUrl;
|
|
4579
|
+
t.resolve(null);
|
|
4580
|
+
return EMPTY;
|
|
4581
|
+
}
|
|
4582
|
+
if (router.urlHandlingStrategy.shouldProcessUrl(t.rawUrl)) {
|
|
4541
4583
|
// If the source of the navigation is from a browser event, the URL is
|
|
4542
4584
|
// already updated. We already need to sync the internal state.
|
|
4543
4585
|
if (isBrowserTriggeredNavigation(t.source)) {
|
|
@@ -4581,31 +4623,32 @@ class NavigationTransitions {
|
|
|
4581
4623
|
this.events.next(routesRecognized);
|
|
4582
4624
|
}));
|
|
4583
4625
|
}
|
|
4584
|
-
else
|
|
4585
|
-
|
|
4586
|
-
router.urlHandlingStrategy.shouldProcessUrl(router.rawUrlTree);
|
|
4626
|
+
else if (urlTransition &&
|
|
4627
|
+
router.urlHandlingStrategy.shouldProcessUrl(router.rawUrlTree)) {
|
|
4587
4628
|
/* When the current URL shouldn't be processed, but the previous one
|
|
4588
4629
|
* was, we handle this "error condition" by navigating to the
|
|
4589
4630
|
* previously successful URL, but leaving the URL intact.*/
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4631
|
+
const { id, extractedUrl, source, restoredState, extras } = t;
|
|
4632
|
+
const navStart = new NavigationStart(id, this.urlSerializer.serialize(extractedUrl), source, restoredState);
|
|
4633
|
+
this.events.next(navStart);
|
|
4634
|
+
const targetSnapshot = createEmptyState(extractedUrl, router.rootComponentType).snapshot;
|
|
4635
|
+
overallTransitionState = Object.assign(Object.assign({}, t), { targetSnapshot, urlAfterRedirects: extractedUrl, extras: Object.assign(Object.assign({}, extras), { skipLocationChange: false, replaceUrl: false }) });
|
|
4636
|
+
return of(overallTransitionState);
|
|
4637
|
+
}
|
|
4638
|
+
else {
|
|
4639
|
+
/* When neither the current or previous URL can be processed, do
|
|
4640
|
+
* nothing other than update router's internal reference to the
|
|
4641
|
+
* current "settled" URL. This way the next navigation will be coming
|
|
4642
|
+
* from the current URL in the browser.
|
|
4643
|
+
*/
|
|
4644
|
+
const reason = NG_DEV_MODE$4 ?
|
|
4645
|
+
`Navigation was ignored because the UrlHandlingStrategy` +
|
|
4646
|
+
` indicated neither the current URL ${router.rawUrlTree} nor target URL ${t.rawUrl} should be processed.` :
|
|
4647
|
+
'';
|
|
4648
|
+
this.events.next(new NavigationSkipped(t.id, router.serializeUrl(overallTransitionState.extractedUrl), reason, 1 /* NavigationSkippedCode.IgnoredByUrlHandlingStrategy */));
|
|
4649
|
+
router.rawUrlTree = t.rawUrl;
|
|
4650
|
+
t.resolve(null);
|
|
4651
|
+
return EMPTY;
|
|
4609
4652
|
}
|
|
4610
4653
|
}),
|
|
4611
4654
|
// --- GUARDS ---
|
|
@@ -4795,9 +4838,9 @@ class NavigationTransitions {
|
|
|
4795
4838
|
t.resolve(false);
|
|
4796
4839
|
}
|
|
4797
4840
|
}
|
|
4798
|
-
NavigationTransitions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4799
|
-
NavigationTransitions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4841
|
+
NavigationTransitions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4842
|
+
NavigationTransitions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
|
|
4843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4801
4844
|
type: Injectable,
|
|
4802
4845
|
args: [{ providedIn: 'root' }]
|
|
4803
4846
|
}], ctorParameters: function () { return []; } });
|
|
@@ -4857,9 +4900,9 @@ class TitleStrategy {
|
|
|
4857
4900
|
return snapshot.data[RouteTitleKey];
|
|
4858
4901
|
}
|
|
4859
4902
|
}
|
|
4860
|
-
TitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4861
|
-
TitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4903
|
+
TitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4904
|
+
TitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
|
|
4905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4863
4906
|
type: Injectable,
|
|
4864
4907
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4865
4908
|
}] });
|
|
@@ -4883,9 +4926,9 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4883
4926
|
}
|
|
4884
4927
|
}
|
|
4885
4928
|
}
|
|
4886
|
-
DefaultTitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4887
|
-
DefaultTitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4929
|
+
DefaultTitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4930
|
+
DefaultTitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
|
|
4931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4889
4932
|
type: Injectable,
|
|
4890
4933
|
args: [{ providedIn: 'root' }]
|
|
4891
4934
|
}], ctorParameters: function () { return [{ type: i1.Title }]; } });
|
|
@@ -4906,9 +4949,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
4906
4949
|
*/
|
|
4907
4950
|
class RouteReuseStrategy {
|
|
4908
4951
|
}
|
|
4909
|
-
RouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4910
|
-
RouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4952
|
+
RouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4953
|
+
RouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
|
|
4954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4912
4955
|
type: Injectable,
|
|
4913
4956
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4914
4957
|
}] });
|
|
@@ -4960,9 +5003,9 @@ class BaseRouteReuseStrategy {
|
|
|
4960
5003
|
}
|
|
4961
5004
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4962
5005
|
}
|
|
4963
|
-
DefaultRouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4964
|
-
DefaultRouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5006
|
+
DefaultRouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
5007
|
+
DefaultRouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
|
|
5008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4966
5009
|
type: Injectable,
|
|
4967
5010
|
args: [{ providedIn: 'root' }]
|
|
4968
5011
|
}] });
|
|
@@ -5001,9 +5044,9 @@ const ROUTER_CONFIGURATION = new InjectionToken(NG_DEV_MODE$3 ? 'router config'
|
|
|
5001
5044
|
*/
|
|
5002
5045
|
class UrlHandlingStrategy {
|
|
5003
5046
|
}
|
|
5004
|
-
UrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5005
|
-
UrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
5006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5047
|
+
UrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5048
|
+
UrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
|
|
5049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
5007
5050
|
type: Injectable,
|
|
5008
5051
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
5009
5052
|
}] });
|
|
@@ -5021,9 +5064,9 @@ class DefaultUrlHandlingStrategy {
|
|
|
5021
5064
|
return newUrlPart;
|
|
5022
5065
|
}
|
|
5023
5066
|
}
|
|
5024
|
-
DefaultUrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5025
|
-
DefaultUrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
5026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5067
|
+
DefaultUrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5068
|
+
DefaultUrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
|
|
5069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
5027
5070
|
type: Injectable,
|
|
5028
5071
|
args: [{ providedIn: 'root' }]
|
|
5029
5072
|
}] });
|
|
@@ -5133,6 +5176,8 @@ class Router {
|
|
|
5133
5176
|
this.isNgZoneEnabled = false;
|
|
5134
5177
|
/**
|
|
5135
5178
|
* A handler for navigation errors in this NgModule.
|
|
5179
|
+
*
|
|
5180
|
+
* @deprecated Subscribe to the `Router` events and watch for `NavigationError` instead.
|
|
5136
5181
|
*/
|
|
5137
5182
|
this.errorHandler = defaultErrorHandler;
|
|
5138
5183
|
/**
|
|
@@ -5140,6 +5185,10 @@ class Router {
|
|
|
5140
5185
|
* when `url` contains an invalid character.
|
|
5141
5186
|
* The most common case is a `%` sign
|
|
5142
5187
|
* that's not encoded and is not part of a percent encoded sequence.
|
|
5188
|
+
*
|
|
5189
|
+
* @deprecated Configure this through `RouterModule.forRoot` instead:
|
|
5190
|
+
* `RouterModule.forRoot(routes, {malformedUriErrorHandler: myHandler})`
|
|
5191
|
+
* @see `RouterModule`
|
|
5143
5192
|
*/
|
|
5144
5193
|
this.malformedUriErrorHandler = defaultMalformedUriErrorHandler;
|
|
5145
5194
|
/**
|
|
@@ -5158,28 +5207,33 @@ class Router {
|
|
|
5158
5207
|
/**
|
|
5159
5208
|
* A strategy for extracting and merging URLs.
|
|
5160
5209
|
* Used for AngularJS to Angular migrations.
|
|
5210
|
+
*
|
|
5211
|
+
* @deprecated Configure using `providers` instead:
|
|
5212
|
+
* `{provide: UrlHandlingStrategy, useClass: MyStrategy}`.
|
|
5161
5213
|
*/
|
|
5162
5214
|
this.urlHandlingStrategy = inject(UrlHandlingStrategy);
|
|
5163
5215
|
/**
|
|
5164
5216
|
* A strategy for re-using routes.
|
|
5217
|
+
*
|
|
5218
|
+
* @deprecated Configure using `providers` instead:
|
|
5219
|
+
* `{provide: RouteReuseStrategy, useClass: MyStrategy}`.
|
|
5165
5220
|
*/
|
|
5166
5221
|
this.routeReuseStrategy = inject(RouteReuseStrategy);
|
|
5167
5222
|
/**
|
|
5168
5223
|
* A strategy for setting the title based on the `routerState`.
|
|
5224
|
+
*
|
|
5225
|
+
* @deprecated Configure using `providers` instead:
|
|
5226
|
+
* `{provide: TitleStrategy, useClass: MyStrategy}`.
|
|
5169
5227
|
*/
|
|
5170
5228
|
this.titleStrategy = inject(TitleStrategy);
|
|
5171
5229
|
/**
|
|
5172
|
-
* How to handle a navigation request to the current URL.
|
|
5230
|
+
* How to handle a navigation request to the current URL.
|
|
5173
5231
|
*
|
|
5174
|
-
* - `'ignore'` : The router ignores the request.
|
|
5175
|
-
* - `'reload'` : The router reloads the URL. Use to implement a "refresh" feature.
|
|
5176
5232
|
*
|
|
5177
|
-
*
|
|
5178
|
-
*
|
|
5179
|
-
*
|
|
5180
|
-
*
|
|
5181
|
-
* routed components on same url navigation, you need to set `onSameUrlNavigation` to `'reload'`
|
|
5182
|
-
* _and_ provide a `RouteReuseStrategy` which returns `false` for `shouldReuseRoute`.
|
|
5233
|
+
* @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.
|
|
5234
|
+
* @see `withRouterConfig`
|
|
5235
|
+
* @see `provideRouter`
|
|
5236
|
+
* @see `RouterModule`
|
|
5183
5237
|
*/
|
|
5184
5238
|
this.onSameUrlNavigation = 'ignore';
|
|
5185
5239
|
/**
|
|
@@ -5190,6 +5244,11 @@ class Router {
|
|
|
5190
5244
|
* for path-less or component-less routes.
|
|
5191
5245
|
* - `'always'` : Inherit parent parameters, data, and resolved data
|
|
5192
5246
|
* for all child routes.
|
|
5247
|
+
*
|
|
5248
|
+
* @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.
|
|
5249
|
+
* @see `withRouterConfig`
|
|
5250
|
+
* @see `provideRouter`
|
|
5251
|
+
* @see `RouterModule`
|
|
5193
5252
|
*/
|
|
5194
5253
|
this.paramsInheritanceStrategy = 'emptyOnly';
|
|
5195
5254
|
/**
|
|
@@ -5198,6 +5257,11 @@ class Router {
|
|
|
5198
5257
|
* Set to `'eager'` to update the browser URL at the beginning of navigation.
|
|
5199
5258
|
* You can choose to update early so that, if navigation fails,
|
|
5200
5259
|
* you can show an error message with the URL that failed.
|
|
5260
|
+
*
|
|
5261
|
+
* @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.
|
|
5262
|
+
* @see `withRouterConfig`
|
|
5263
|
+
* @see `provideRouter`
|
|
5264
|
+
* @see `RouterModule`
|
|
5201
5265
|
*/
|
|
5202
5266
|
this.urlUpdateStrategy = 'deferred';
|
|
5203
5267
|
/**
|
|
@@ -5221,6 +5285,10 @@ class Router {
|
|
|
5221
5285
|
*
|
|
5222
5286
|
* The default value is `replace`.
|
|
5223
5287
|
*
|
|
5288
|
+
* @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.
|
|
5289
|
+
* @see `withRouterConfig`
|
|
5290
|
+
* @see `provideRouter`
|
|
5291
|
+
* @see `RouterModule`
|
|
5224
5292
|
*/
|
|
5225
5293
|
this.canceledNavigationResolution = 'replace';
|
|
5226
5294
|
this.navigationTransitions = inject(NavigationTransitions);
|
|
@@ -5693,9 +5761,9 @@ class Router {
|
|
|
5693
5761
|
return { navigationId };
|
|
5694
5762
|
}
|
|
5695
5763
|
}
|
|
5696
|
-
Router.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5697
|
-
Router.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
5698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5764
|
+
Router.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: Router, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
5765
|
+
Router.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: Router, providedIn: 'root', useFactory: setupRouter });
|
|
5766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: Router, decorators: [{
|
|
5699
5767
|
type: Injectable,
|
|
5700
5768
|
args: [{
|
|
5701
5769
|
providedIn: 'root',
|
|
@@ -5986,9 +6054,9 @@ class RouterLink {
|
|
|
5986
6054
|
});
|
|
5987
6055
|
}
|
|
5988
6056
|
}
|
|
5989
|
-
RouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5990
|
-
RouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
5991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6057
|
+
RouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterLink, deps: [{ token: Router }, { token: ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6058
|
+
RouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", relativeTo: "relativeTo", preserveFragment: "preserveFragment", skipLocationChange: "skipLocationChange", replaceUrl: "replaceUrl", routerLink: "routerLink" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" }, properties: { "attr.target": "this.target" } }, usesOnChanges: true, ngImport: i0 });
|
|
6059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterLink, decorators: [{
|
|
5992
6060
|
type: Directive,
|
|
5993
6061
|
args: [{
|
|
5994
6062
|
selector: '[routerLink]',
|
|
@@ -6217,9 +6285,9 @@ class RouterLinkActive {
|
|
|
6217
6285
|
return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);
|
|
6218
6286
|
}
|
|
6219
6287
|
}
|
|
6220
|
-
RouterLinkActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6221
|
-
RouterLinkActive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
6222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6288
|
+
RouterLinkActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6289
|
+
RouterLinkActive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: RouterLinkActive, isStandalone: true, selector: "[routerLinkActive]", inputs: { routerLinkActiveOptions: "routerLinkActiveOptions", ariaCurrentWhenActive: "ariaCurrentWhenActive", routerLinkActive: "routerLinkActive" }, outputs: { isActiveChange: "isActiveChange" }, queries: [{ propertyName: "links", predicate: RouterLink, descendants: true }], exportAs: ["routerLinkActive"], usesOnChanges: true, ngImport: i0 });
|
|
6290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6223
6291
|
type: Directive,
|
|
6224
6292
|
args: [{
|
|
6225
6293
|
selector: '[routerLinkActive]',
|
|
@@ -6281,9 +6349,9 @@ class PreloadAllModules {
|
|
|
6281
6349
|
return fn().pipe(catchError(() => of(null)));
|
|
6282
6350
|
}
|
|
6283
6351
|
}
|
|
6284
|
-
PreloadAllModules.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6285
|
-
PreloadAllModules.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6352
|
+
PreloadAllModules.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6353
|
+
PreloadAllModules.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });
|
|
6354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6287
6355
|
type: Injectable,
|
|
6288
6356
|
args: [{ providedIn: 'root' }]
|
|
6289
6357
|
}] });
|
|
@@ -6301,9 +6369,9 @@ class NoPreloading {
|
|
|
6301
6369
|
return of(null);
|
|
6302
6370
|
}
|
|
6303
6371
|
}
|
|
6304
|
-
NoPreloading.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6305
|
-
NoPreloading.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6372
|
+
NoPreloading.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6373
|
+
NoPreloading.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NoPreloading, providedIn: 'root' });
|
|
6374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6307
6375
|
type: Injectable,
|
|
6308
6376
|
args: [{ providedIn: 'root' }]
|
|
6309
6377
|
}] });
|
|
@@ -6399,9 +6467,9 @@ class RouterPreloader {
|
|
|
6399
6467
|
});
|
|
6400
6468
|
}
|
|
6401
6469
|
}
|
|
6402
|
-
RouterPreloader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6403
|
-
RouterPreloader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6470
|
+
RouterPreloader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6471
|
+
RouterPreloader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterPreloader, providedIn: 'root' });
|
|
6472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6405
6473
|
type: Injectable,
|
|
6406
6474
|
args: [{ providedIn: 'root' }]
|
|
6407
6475
|
}], ctorParameters: function () { return [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }]; } });
|
|
@@ -6490,9 +6558,9 @@ class RouterScroller {
|
|
|
6490
6558
|
(_b = this.scrollEventsSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
|
|
6491
6559
|
}
|
|
6492
6560
|
}
|
|
6493
|
-
RouterScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6494
|
-
RouterScroller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6561
|
+
RouterScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
6562
|
+
RouterScroller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterScroller });
|
|
6563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6496
6564
|
type: Injectable
|
|
6497
6565
|
}], ctorParameters: function () { return [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }]; } });
|
|
6498
6566
|
|
|
@@ -7037,10 +7105,10 @@ class RouterModule {
|
|
|
7037
7105
|
};
|
|
7038
7106
|
}
|
|
7039
7107
|
}
|
|
7040
|
-
RouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
7041
|
-
RouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.
|
|
7042
|
-
RouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.
|
|
7043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
7108
|
+
RouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7109
|
+
RouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] });
|
|
7110
|
+
RouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterModule, imports: [ɵEmptyOutletComponent] });
|
|
7111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterModule, decorators: [{
|
|
7044
7112
|
type: NgModule,
|
|
7045
7113
|
args: [{
|
|
7046
7114
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7128,7 +7196,7 @@ function provideRouterInitializer() {
|
|
|
7128
7196
|
/**
|
|
7129
7197
|
* @publicApi
|
|
7130
7198
|
*/
|
|
7131
|
-
const VERSION = new Version('15.0.
|
|
7199
|
+
const VERSION = new Version('15.1.0-next.1');
|
|
7132
7200
|
|
|
7133
7201
|
/**
|
|
7134
7202
|
* @license
|
|
@@ -7167,5 +7235,5 @@ const VERSION = new Version('15.0.2');
|
|
|
7167
7235
|
* Generated bundle index. Do not edit.
|
|
7168
7236
|
*/
|
|
7169
7237
|
|
|
7170
|
-
export { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTES, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, provideRouter, provideRoutes, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withInMemoryScrolling, withPreloading, withRouterConfig, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, assignExtraOptionsToRouter as ɵassignExtraOptionsToRouter, flatten as ɵflatten, withPreloading as ɵwithPreloading };
|
|
7238
|
+
export { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationEnd, NavigationError, NavigationSkipped, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTES, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLink as RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, provideRouter, provideRoutes, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withInMemoryScrolling, withPreloading, withRouterConfig, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, assignExtraOptionsToRouter as ɵassignExtraOptionsToRouter, flatten as ɵflatten, withPreloading as ɵwithPreloading };
|
|
7171
7239
|
//# sourceMappingURL=router.mjs.map
|