@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/fesm2020/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
|
}] });
|
|
@@ -1376,6 +1376,37 @@ class NavigationCancel extends RouterEvent {
|
|
|
1376
1376
|
return `NavigationCancel(id: ${this.id}, url: '${this.url}')`;
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
|
+
/**
|
|
1380
|
+
* An event triggered when a navigation is skipped.
|
|
1381
|
+
* This can happen for a couple reasons including onSameUrlHandling
|
|
1382
|
+
* is set to `ignore` and the navigation URL is not different than the
|
|
1383
|
+
* current state.
|
|
1384
|
+
*
|
|
1385
|
+
* @publicApi
|
|
1386
|
+
*/
|
|
1387
|
+
class NavigationSkipped extends RouterEvent {
|
|
1388
|
+
constructor(
|
|
1389
|
+
/** @docsNotRequired */
|
|
1390
|
+
id,
|
|
1391
|
+
/** @docsNotRequired */
|
|
1392
|
+
url,
|
|
1393
|
+
/**
|
|
1394
|
+
* A description of why the navigation was skipped. For debug purposes only. Use `code`
|
|
1395
|
+
* instead for a stable skipped reason that can be used in production.
|
|
1396
|
+
*/
|
|
1397
|
+
reason,
|
|
1398
|
+
/**
|
|
1399
|
+
* A code to indicate why the navigation was skipped. This code is stable for
|
|
1400
|
+
* the reason and can be relied on whereas the `reason` string could change and should not be
|
|
1401
|
+
* used in production.
|
|
1402
|
+
*/
|
|
1403
|
+
code) {
|
|
1404
|
+
super(id, url);
|
|
1405
|
+
this.reason = reason;
|
|
1406
|
+
this.code = code;
|
|
1407
|
+
this.type = 16 /* EventType.NavigationSkipped */;
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1379
1410
|
/**
|
|
1380
1411
|
* An event triggered when a navigation fails due to an unexpected error.
|
|
1381
1412
|
*
|
|
@@ -1701,6 +1732,8 @@ function stringifyEvent(routerEvent) {
|
|
|
1701
1732
|
return `GuardsCheckStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
|
|
1702
1733
|
case 2 /* EventType.NavigationCancel */:
|
|
1703
1734
|
return `NavigationCancel(id: ${routerEvent.id}, url: '${routerEvent.url}')`;
|
|
1735
|
+
case 16 /* EventType.NavigationSkipped */:
|
|
1736
|
+
return `NavigationSkipped(id: ${routerEvent.id}, url: '${routerEvent.url}')`;
|
|
1704
1737
|
case 1 /* EventType.NavigationEnd */:
|
|
1705
1738
|
return `NavigationEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}')`;
|
|
1706
1739
|
case 3 /* EventType.NavigationError */:
|
|
@@ -2380,9 +2413,9 @@ class ChildrenOutletContexts {
|
|
|
2380
2413
|
return this.contexts.get(childName) || null;
|
|
2381
2414
|
}
|
|
2382
2415
|
}
|
|
2383
|
-
ChildrenOutletContexts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2384
|
-
ChildrenOutletContexts.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
2385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2416
|
+
ChildrenOutletContexts.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2417
|
+
ChildrenOutletContexts.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' });
|
|
2418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
2386
2419
|
type: Injectable,
|
|
2387
2420
|
args: [{ providedIn: 'root' }]
|
|
2388
2421
|
}] });
|
|
@@ -2602,9 +2635,9 @@ class RouterOutlet {
|
|
|
2602
2635
|
this.activateEvents.emit(this.activated.instance);
|
|
2603
2636
|
}
|
|
2604
2637
|
}
|
|
2605
|
-
RouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2606
|
-
RouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
2607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2638
|
+
RouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2639
|
+
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 });
|
|
2640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2608
2641
|
type: Directive,
|
|
2609
2642
|
args: [{
|
|
2610
2643
|
selector: 'router-outlet',
|
|
@@ -2664,9 +2697,9 @@ function isComponentFactoryResolver(item) {
|
|
|
2664
2697
|
*/
|
|
2665
2698
|
class ɵEmptyOutletComponent {
|
|
2666
2699
|
}
|
|
2667
|
-
ɵEmptyOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2668
|
-
ɵEmptyOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
2669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2700
|
+
ɵEmptyOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2701
|
+
ɵ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"] }] });
|
|
2702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2670
2703
|
type: Component,
|
|
2671
2704
|
args: [{
|
|
2672
2705
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -4409,9 +4442,9 @@ class RouterConfigLoader {
|
|
|
4409
4442
|
}));
|
|
4410
4443
|
}
|
|
4411
4444
|
}
|
|
4412
|
-
RouterConfigLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4413
|
-
RouterConfigLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4445
|
+
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 });
|
|
4446
|
+
RouterConfigLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' });
|
|
4447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4415
4448
|
type: Injectable,
|
|
4416
4449
|
args: [{ providedIn: 'root' }]
|
|
4417
4450
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.Compiler }]; } });
|
|
@@ -4513,9 +4546,17 @@ class NavigationTransitions {
|
|
|
4513
4546
|
// matching. If this is not the case, assume something went wrong and
|
|
4514
4547
|
// try processing the URL again.
|
|
4515
4548
|
browserUrlTree !== router.currentUrlTree.toString();
|
|
4516
|
-
const
|
|
4517
|
-
|
|
4518
|
-
|
|
4549
|
+
const onSameUrlNavigation = t.extras.onSameUrlNavigation ?? router.onSameUrlNavigation;
|
|
4550
|
+
if (!urlTransition && onSameUrlNavigation !== 'reload') {
|
|
4551
|
+
const reason = NG_DEV_MODE$4 ?
|
|
4552
|
+
`Navigation to ${t.rawUrl} was ignored because it is the same as the current Router URL.` :
|
|
4553
|
+
'';
|
|
4554
|
+
this.events.next(new NavigationSkipped(t.id, router.serializeUrl(overallTransitionState.rawUrl), reason, 0 /* NavigationSkippedCode.IgnoredSameUrlNavigation */));
|
|
4555
|
+
router.rawUrlTree = t.rawUrl;
|
|
4556
|
+
t.resolve(null);
|
|
4557
|
+
return EMPTY;
|
|
4558
|
+
}
|
|
4559
|
+
if (router.urlHandlingStrategy.shouldProcessUrl(t.rawUrl)) {
|
|
4519
4560
|
// If the source of the navigation is from a browser event, the URL is
|
|
4520
4561
|
// already updated. We already need to sync the internal state.
|
|
4521
4562
|
if (isBrowserTriggeredNavigation(t.source)) {
|
|
@@ -4561,36 +4602,37 @@ class NavigationTransitions {
|
|
|
4561
4602
|
this.events.next(routesRecognized);
|
|
4562
4603
|
}));
|
|
4563
4604
|
}
|
|
4564
|
-
else
|
|
4565
|
-
|
|
4566
|
-
router.urlHandlingStrategy.shouldProcessUrl(router.rawUrlTree);
|
|
4605
|
+
else if (urlTransition &&
|
|
4606
|
+
router.urlHandlingStrategy.shouldProcessUrl(router.rawUrlTree)) {
|
|
4567
4607
|
/* When the current URL shouldn't be processed, but the previous one
|
|
4568
4608
|
* was, we handle this "error condition" by navigating to the
|
|
4569
4609
|
* previously successful URL, but leaving the URL intact.*/
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4610
|
+
const { id, extractedUrl, source, restoredState, extras } = t;
|
|
4611
|
+
const navStart = new NavigationStart(id, this.urlSerializer.serialize(extractedUrl), source, restoredState);
|
|
4612
|
+
this.events.next(navStart);
|
|
4613
|
+
const targetSnapshot = createEmptyState(extractedUrl, router.rootComponentType).snapshot;
|
|
4614
|
+
overallTransitionState = {
|
|
4615
|
+
...t,
|
|
4616
|
+
targetSnapshot,
|
|
4617
|
+
urlAfterRedirects: extractedUrl,
|
|
4618
|
+
extras: { ...extras, skipLocationChange: false, replaceUrl: false },
|
|
4619
|
+
};
|
|
4620
|
+
return of(overallTransitionState);
|
|
4621
|
+
}
|
|
4622
|
+
else {
|
|
4623
|
+
/* When neither the current or previous URL can be processed, do
|
|
4624
|
+
* nothing other than update router's internal reference to the
|
|
4625
|
+
* current "settled" URL. This way the next navigation will be coming
|
|
4626
|
+
* from the current URL in the browser.
|
|
4627
|
+
*/
|
|
4628
|
+
const reason = NG_DEV_MODE$4 ?
|
|
4629
|
+
`Navigation was ignored because the UrlHandlingStrategy` +
|
|
4630
|
+
` indicated neither the current URL ${router.rawUrlTree} nor target URL ${t.rawUrl} should be processed.` :
|
|
4631
|
+
'';
|
|
4632
|
+
this.events.next(new NavigationSkipped(t.id, router.serializeUrl(overallTransitionState.extractedUrl), reason, 1 /* NavigationSkippedCode.IgnoredByUrlHandlingStrategy */));
|
|
4633
|
+
router.rawUrlTree = t.rawUrl;
|
|
4634
|
+
t.resolve(null);
|
|
4635
|
+
return EMPTY;
|
|
4594
4636
|
}
|
|
4595
4637
|
}),
|
|
4596
4638
|
// --- GUARDS ---
|
|
@@ -4779,9 +4821,9 @@ class NavigationTransitions {
|
|
|
4779
4821
|
t.resolve(false);
|
|
4780
4822
|
}
|
|
4781
4823
|
}
|
|
4782
|
-
NavigationTransitions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4783
|
-
NavigationTransitions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4824
|
+
NavigationTransitions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4825
|
+
NavigationTransitions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NavigationTransitions, providedIn: 'root' });
|
|
4826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4785
4827
|
type: Injectable,
|
|
4786
4828
|
args: [{ providedIn: 'root' }]
|
|
4787
4829
|
}], ctorParameters: function () { return []; } });
|
|
@@ -4840,9 +4882,9 @@ class TitleStrategy {
|
|
|
4840
4882
|
return snapshot.data[RouteTitleKey];
|
|
4841
4883
|
}
|
|
4842
4884
|
}
|
|
4843
|
-
TitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4844
|
-
TitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4885
|
+
TitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4886
|
+
TitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) });
|
|
4887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4846
4888
|
type: Injectable,
|
|
4847
4889
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4848
4890
|
}] });
|
|
@@ -4866,9 +4908,9 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4866
4908
|
}
|
|
4867
4909
|
}
|
|
4868
4910
|
}
|
|
4869
|
-
DefaultTitleStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4870
|
-
DefaultTitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4911
|
+
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 });
|
|
4912
|
+
DefaultTitleStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' });
|
|
4913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4872
4914
|
type: Injectable,
|
|
4873
4915
|
args: [{ providedIn: 'root' }]
|
|
4874
4916
|
}], ctorParameters: function () { return [{ type: i1.Title }]; } });
|
|
@@ -4889,9 +4931,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImpor
|
|
|
4889
4931
|
*/
|
|
4890
4932
|
class RouteReuseStrategy {
|
|
4891
4933
|
}
|
|
4892
|
-
RouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4893
|
-
RouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4934
|
+
RouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4935
|
+
RouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) });
|
|
4936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4895
4937
|
type: Injectable,
|
|
4896
4938
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4897
4939
|
}] });
|
|
@@ -4943,9 +4985,9 @@ class BaseRouteReuseStrategy {
|
|
|
4943
4985
|
}
|
|
4944
4986
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4945
4987
|
}
|
|
4946
|
-
DefaultRouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4947
|
-
DefaultRouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
4988
|
+
DefaultRouteReuseStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4989
|
+
DefaultRouteReuseStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' });
|
|
4990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4949
4991
|
type: Injectable,
|
|
4950
4992
|
args: [{ providedIn: 'root' }]
|
|
4951
4993
|
}] });
|
|
@@ -4984,9 +5026,9 @@ const ROUTER_CONFIGURATION = new InjectionToken(NG_DEV_MODE$3 ? 'router config'
|
|
|
4984
5026
|
*/
|
|
4985
5027
|
class UrlHandlingStrategy {
|
|
4986
5028
|
}
|
|
4987
|
-
UrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
4988
|
-
UrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
4989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5029
|
+
UrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5030
|
+
UrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) });
|
|
5031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4990
5032
|
type: Injectable,
|
|
4991
5033
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4992
5034
|
}] });
|
|
@@ -5004,9 +5046,9 @@ class DefaultUrlHandlingStrategy {
|
|
|
5004
5046
|
return newUrlPart;
|
|
5005
5047
|
}
|
|
5006
5048
|
}
|
|
5007
|
-
DefaultUrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5008
|
-
DefaultUrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
5009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5049
|
+
DefaultUrlHandlingStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5050
|
+
DefaultUrlHandlingStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' });
|
|
5051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
5010
5052
|
type: Injectable,
|
|
5011
5053
|
args: [{ providedIn: 'root' }]
|
|
5012
5054
|
}] });
|
|
@@ -5115,6 +5157,8 @@ class Router {
|
|
|
5115
5157
|
this.isNgZoneEnabled = false;
|
|
5116
5158
|
/**
|
|
5117
5159
|
* A handler for navigation errors in this NgModule.
|
|
5160
|
+
*
|
|
5161
|
+
* @deprecated Subscribe to the `Router` events and watch for `NavigationError` instead.
|
|
5118
5162
|
*/
|
|
5119
5163
|
this.errorHandler = defaultErrorHandler;
|
|
5120
5164
|
/**
|
|
@@ -5122,6 +5166,10 @@ class Router {
|
|
|
5122
5166
|
* when `url` contains an invalid character.
|
|
5123
5167
|
* The most common case is a `%` sign
|
|
5124
5168
|
* that's not encoded and is not part of a percent encoded sequence.
|
|
5169
|
+
*
|
|
5170
|
+
* @deprecated Configure this through `RouterModule.forRoot` instead:
|
|
5171
|
+
* `RouterModule.forRoot(routes, {malformedUriErrorHandler: myHandler})`
|
|
5172
|
+
* @see `RouterModule`
|
|
5125
5173
|
*/
|
|
5126
5174
|
this.malformedUriErrorHandler = defaultMalformedUriErrorHandler;
|
|
5127
5175
|
/**
|
|
@@ -5140,28 +5188,33 @@ class Router {
|
|
|
5140
5188
|
/**
|
|
5141
5189
|
* A strategy for extracting and merging URLs.
|
|
5142
5190
|
* Used for AngularJS to Angular migrations.
|
|
5191
|
+
*
|
|
5192
|
+
* @deprecated Configure using `providers` instead:
|
|
5193
|
+
* `{provide: UrlHandlingStrategy, useClass: MyStrategy}`.
|
|
5143
5194
|
*/
|
|
5144
5195
|
this.urlHandlingStrategy = inject(UrlHandlingStrategy);
|
|
5145
5196
|
/**
|
|
5146
5197
|
* A strategy for re-using routes.
|
|
5198
|
+
*
|
|
5199
|
+
* @deprecated Configure using `providers` instead:
|
|
5200
|
+
* `{provide: RouteReuseStrategy, useClass: MyStrategy}`.
|
|
5147
5201
|
*/
|
|
5148
5202
|
this.routeReuseStrategy = inject(RouteReuseStrategy);
|
|
5149
5203
|
/**
|
|
5150
5204
|
* A strategy for setting the title based on the `routerState`.
|
|
5205
|
+
*
|
|
5206
|
+
* @deprecated Configure using `providers` instead:
|
|
5207
|
+
* `{provide: TitleStrategy, useClass: MyStrategy}`.
|
|
5151
5208
|
*/
|
|
5152
5209
|
this.titleStrategy = inject(TitleStrategy);
|
|
5153
5210
|
/**
|
|
5154
|
-
* How to handle a navigation request to the current URL.
|
|
5211
|
+
* How to handle a navigation request to the current URL.
|
|
5155
5212
|
*
|
|
5156
|
-
* - `'ignore'` : The router ignores the request.
|
|
5157
|
-
* - `'reload'` : The router reloads the URL. Use to implement a "refresh" feature.
|
|
5158
5213
|
*
|
|
5159
|
-
*
|
|
5160
|
-
*
|
|
5161
|
-
*
|
|
5162
|
-
*
|
|
5163
|
-
* routed components on same url navigation, you need to set `onSameUrlNavigation` to `'reload'`
|
|
5164
|
-
* _and_ provide a `RouteReuseStrategy` which returns `false` for `shouldReuseRoute`.
|
|
5214
|
+
* @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.
|
|
5215
|
+
* @see `withRouterConfig`
|
|
5216
|
+
* @see `provideRouter`
|
|
5217
|
+
* @see `RouterModule`
|
|
5165
5218
|
*/
|
|
5166
5219
|
this.onSameUrlNavigation = 'ignore';
|
|
5167
5220
|
/**
|
|
@@ -5172,6 +5225,11 @@ class Router {
|
|
|
5172
5225
|
* for path-less or component-less routes.
|
|
5173
5226
|
* - `'always'` : Inherit parent parameters, data, and resolved data
|
|
5174
5227
|
* for all child routes.
|
|
5228
|
+
*
|
|
5229
|
+
* @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.
|
|
5230
|
+
* @see `withRouterConfig`
|
|
5231
|
+
* @see `provideRouter`
|
|
5232
|
+
* @see `RouterModule`
|
|
5175
5233
|
*/
|
|
5176
5234
|
this.paramsInheritanceStrategy = 'emptyOnly';
|
|
5177
5235
|
/**
|
|
@@ -5180,6 +5238,11 @@ class Router {
|
|
|
5180
5238
|
* Set to `'eager'` to update the browser URL at the beginning of navigation.
|
|
5181
5239
|
* You can choose to update early so that, if navigation fails,
|
|
5182
5240
|
* you can show an error message with the URL that failed.
|
|
5241
|
+
*
|
|
5242
|
+
* @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.
|
|
5243
|
+
* @see `withRouterConfig`
|
|
5244
|
+
* @see `provideRouter`
|
|
5245
|
+
* @see `RouterModule`
|
|
5183
5246
|
*/
|
|
5184
5247
|
this.urlUpdateStrategy = 'deferred';
|
|
5185
5248
|
/**
|
|
@@ -5203,6 +5266,10 @@ class Router {
|
|
|
5203
5266
|
*
|
|
5204
5267
|
* The default value is `replace`.
|
|
5205
5268
|
*
|
|
5269
|
+
* @deprecated Configure this through `provideRouter` or `RouterModule.forRoot` instead.
|
|
5270
|
+
* @see `withRouterConfig`
|
|
5271
|
+
* @see `provideRouter`
|
|
5272
|
+
* @see `RouterModule`
|
|
5206
5273
|
*/
|
|
5207
5274
|
this.canceledNavigationResolution = 'replace';
|
|
5208
5275
|
this.navigationTransitions = inject(NavigationTransitions);
|
|
@@ -5674,9 +5741,9 @@ class Router {
|
|
|
5674
5741
|
return { navigationId };
|
|
5675
5742
|
}
|
|
5676
5743
|
}
|
|
5677
|
-
Router.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5678
|
-
Router.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
5679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
5744
|
+
Router.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: Router, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
5745
|
+
Router.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: Router, providedIn: 'root', useFactory: setupRouter });
|
|
5746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: Router, decorators: [{
|
|
5680
5747
|
type: Injectable,
|
|
5681
5748
|
args: [{
|
|
5682
5749
|
providedIn: 'root',
|
|
@@ -5972,9 +6039,9 @@ class RouterLink {
|
|
|
5972
6039
|
});
|
|
5973
6040
|
}
|
|
5974
6041
|
}
|
|
5975
|
-
RouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
5976
|
-
RouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
5977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6042
|
+
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 });
|
|
6043
|
+
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 });
|
|
6044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterLink, decorators: [{
|
|
5978
6045
|
type: Directive,
|
|
5979
6046
|
args: [{
|
|
5980
6047
|
selector: '[routerLink]',
|
|
@@ -6199,9 +6266,9 @@ class RouterLinkActive {
|
|
|
6199
6266
|
return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);
|
|
6200
6267
|
}
|
|
6201
6268
|
}
|
|
6202
|
-
RouterLinkActive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6203
|
-
RouterLinkActive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
6204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6269
|
+
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 });
|
|
6270
|
+
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 });
|
|
6271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6205
6272
|
type: Directive,
|
|
6206
6273
|
args: [{
|
|
6207
6274
|
selector: '[routerLinkActive]',
|
|
@@ -6261,9 +6328,9 @@ class PreloadAllModules {
|
|
|
6261
6328
|
return fn().pipe(catchError(() => of(null)));
|
|
6262
6329
|
}
|
|
6263
6330
|
}
|
|
6264
|
-
PreloadAllModules.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6265
|
-
PreloadAllModules.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6331
|
+
PreloadAllModules.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6332
|
+
PreloadAllModules.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreloadAllModules, providedIn: 'root' });
|
|
6333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6267
6334
|
type: Injectable,
|
|
6268
6335
|
args: [{ providedIn: 'root' }]
|
|
6269
6336
|
}] });
|
|
@@ -6281,9 +6348,9 @@ class NoPreloading {
|
|
|
6281
6348
|
return of(null);
|
|
6282
6349
|
}
|
|
6283
6350
|
}
|
|
6284
|
-
NoPreloading.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6285
|
-
NoPreloading.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6351
|
+
NoPreloading.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6352
|
+
NoPreloading.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NoPreloading, providedIn: 'root' });
|
|
6353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6287
6354
|
type: Injectable,
|
|
6288
6355
|
args: [{ providedIn: 'root' }]
|
|
6289
6356
|
}] });
|
|
@@ -6377,9 +6444,9 @@ class RouterPreloader {
|
|
|
6377
6444
|
});
|
|
6378
6445
|
}
|
|
6379
6446
|
}
|
|
6380
|
-
RouterPreloader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6381
|
-
RouterPreloader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6447
|
+
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 });
|
|
6448
|
+
RouterPreloader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterPreloader, providedIn: 'root' });
|
|
6449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6383
6450
|
type: Injectable,
|
|
6384
6451
|
args: [{ providedIn: 'root' }]
|
|
6385
6452
|
}], ctorParameters: function () { return [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }]; } });
|
|
@@ -6474,9 +6541,9 @@ class RouterScroller {
|
|
|
6474
6541
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6475
6542
|
}
|
|
6476
6543
|
}
|
|
6477
|
-
RouterScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
6478
|
-
RouterScroller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
6479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
6544
|
+
RouterScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable });
|
|
6545
|
+
RouterScroller.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterScroller });
|
|
6546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6480
6547
|
type: Injectable
|
|
6481
6548
|
}], ctorParameters: function () { return [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }]; } });
|
|
6482
6549
|
|
|
@@ -7019,10 +7086,10 @@ class RouterModule {
|
|
|
7019
7086
|
};
|
|
7020
7087
|
}
|
|
7021
7088
|
}
|
|
7022
|
-
RouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
7023
|
-
RouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.
|
|
7024
|
-
RouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.
|
|
7025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
7089
|
+
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 });
|
|
7090
|
+
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] });
|
|
7091
|
+
RouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterModule, imports: [ɵEmptyOutletComponent] });
|
|
7092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: RouterModule, decorators: [{
|
|
7026
7093
|
type: NgModule,
|
|
7027
7094
|
args: [{
|
|
7028
7095
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7108,7 +7175,7 @@ function provideRouterInitializer() {
|
|
|
7108
7175
|
/**
|
|
7109
7176
|
* @publicApi
|
|
7110
7177
|
*/
|
|
7111
|
-
const VERSION = new Version('15.0.
|
|
7178
|
+
const VERSION = new Version('15.1.0-next.1');
|
|
7112
7179
|
|
|
7113
7180
|
/**
|
|
7114
7181
|
* @license
|
|
@@ -7147,5 +7214,5 @@ const VERSION = new Version('15.0.2');
|
|
|
7147
7214
|
* Generated bundle index. Do not edit.
|
|
7148
7215
|
*/
|
|
7149
7216
|
|
|
7150
|
-
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 };
|
|
7217
|
+
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 };
|
|
7151
7218
|
//# sourceMappingURL=router.mjs.map
|