@angular/router 17.1.0-next.0 → 17.1.0-next.2
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/esm2022/src/components/empty_outlet.mjs +3 -3
- package/esm2022/src/directives/router_link.mjs +3 -3
- package/esm2022/src/directives/router_link_active.mjs +3 -3
- package/esm2022/src/directives/router_outlet.mjs +6 -6
- package/esm2022/src/navigation_transition.mjs +3 -3
- package/esm2022/src/operators/check_guards.mjs +7 -6
- package/esm2022/src/operators/resolve_data.mjs +19 -14
- package/esm2022/src/page_title_strategy.mjs +6 -6
- package/esm2022/src/provide_router.mjs +3 -3
- package/esm2022/src/route_reuse_strategy.mjs +6 -6
- package/esm2022/src/router.mjs +3 -3
- package/esm2022/src/router_config_loader.mjs +3 -3
- package/esm2022/src/router_module.mjs +4 -4
- package/esm2022/src/router_outlet_context.mjs +3 -3
- package/esm2022/src/router_preloader.mjs +9 -9
- package/esm2022/src/router_scroller.mjs +3 -3
- package/esm2022/src/statemanager/state_manager.mjs +6 -6
- package/esm2022/src/url_handling_strategy.mjs +6 -6
- package/esm2022/src/url_tree.mjs +3 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/router_testing_harness.mjs +6 -6
- package/esm2022/testing/src/router_testing_module.mjs +4 -4
- package/fesm2022/router.mjs +96 -92
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +11 -11
- package/fesm2022/upgrade.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +4 -4
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/fesm2022/router.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.1.0-next.
|
|
2
|
+
* @license Angular v17.1.0-next.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
|
-
import { ɵisPromise, ɵRuntimeError, Injectable, EventEmitter, inject, ViewContainerRef, ChangeDetectorRef, EnvironmentInjector, Directive, Input, Output, InjectionToken, reflectComponentType, Component, createEnvironmentInjector, ɵisNgModule, isStandalone, ɵisInjectable, Compiler, NgModuleFactory, NgZone,
|
|
8
|
+
import { ɵisPromise, ɵRuntimeError, Injectable, EventEmitter, inject, ViewContainerRef, ChangeDetectorRef, EnvironmentInjector, Directive, Input, Output, InjectionToken, reflectComponentType, Component, createEnvironmentInjector, ɵisNgModule, isStandalone, ɵisInjectable, runInInjectionContext, Compiler, NgModuleFactory, NgZone, afterNextRender, ɵConsole, ɵInitialRenderPendingTasks, ɵɵsanitizeUrlOrResourceUrl, booleanAttribute, Attribute, HostBinding, HostListener, Optional, ContentChildren, makeEnvironmentProviders, APP_BOOTSTRAP_LISTENER, ENVIRONMENT_INITIALIZER, Injector, ApplicationRef, InjectFlags, APP_INITIALIZER, SkipSelf, NgModule, Inject, Version } from '@angular/core';
|
|
9
9
|
import { isObservable, from, of, BehaviorSubject, combineLatest, EmptyError, concat, defer, pipe, throwError, EMPTY, ConnectableObservable, Subject, Subscription } from 'rxjs';
|
|
10
10
|
import * as i3 from '@angular/common';
|
|
11
11
|
import { DOCUMENT, Location, ViewportScroller, LOCATION_INITIALIZED, LocationStrategy, HashLocationStrategy, PathLocationStrategy } from '@angular/common';
|
|
@@ -425,10 +425,10 @@ function mapChildrenIntoArray(segment, fn) {
|
|
|
425
425
|
* @publicApi
|
|
426
426
|
*/
|
|
427
427
|
class UrlSerializer {
|
|
428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
429
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
429
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }); }
|
|
430
430
|
}
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
432
432
|
type: Injectable,
|
|
433
433
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
434
434
|
}] });
|
|
@@ -1855,10 +1855,10 @@ class ChildrenOutletContexts {
|
|
|
1855
1855
|
getContext(childName) {
|
|
1856
1856
|
return this.contexts.get(childName) || null;
|
|
1857
1857
|
}
|
|
1858
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
1859
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
1858
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1859
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' }); }
|
|
1860
1860
|
}
|
|
1861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
1861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
1862
1862
|
type: Injectable,
|
|
1863
1863
|
args: [{ providedIn: 'root' }]
|
|
1864
1864
|
}] });
|
|
@@ -2578,10 +2578,10 @@ class RouterOutlet {
|
|
|
2578
2578
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2579
2579
|
this.activateEvents.emit(this.activated.instance);
|
|
2580
2580
|
}
|
|
2581
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2582
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.
|
|
2581
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2582
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.2", 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 }); }
|
|
2583
2583
|
}
|
|
2584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2585
2585
|
type: Directive,
|
|
2586
2586
|
args: [{
|
|
2587
2587
|
selector: 'router-outlet',
|
|
@@ -2684,10 +2684,10 @@ class RoutedComponentInputBinder {
|
|
|
2684
2684
|
});
|
|
2685
2685
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
2686
2686
|
}
|
|
2687
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2688
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2687
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2688
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RoutedComponentInputBinder }); }
|
|
2689
2689
|
}
|
|
2690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
2691
2691
|
type: Injectable
|
|
2692
2692
|
}] });
|
|
2693
2693
|
|
|
@@ -2767,10 +2767,10 @@ function isNavigationCancelingError$1(error) {
|
|
|
2767
2767
|
* to this `EmptyOutletComponent`.
|
|
2768
2768
|
*/
|
|
2769
2769
|
class ɵEmptyOutletComponent {
|
|
2770
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2771
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0-next.
|
|
2770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2771
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0-next.2", 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"] }] }); }
|
|
2772
2772
|
}
|
|
2773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
2773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2774
2774
|
type: Component,
|
|
2775
2775
|
args: [{
|
|
2776
2776
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -3425,7 +3425,7 @@ function runCanActivate(futureRSS, futureARS, injector) {
|
|
|
3425
3425
|
const guard = getTokenOrFunctionIdentity(canActivate, closestInjector);
|
|
3426
3426
|
const guardVal = isCanActivate(guard) ?
|
|
3427
3427
|
guard.canActivate(futureARS, futureRSS) :
|
|
3428
|
-
closestInjector
|
|
3428
|
+
runInInjectionContext(closestInjector, () => guard(futureARS, futureRSS));
|
|
3429
3429
|
return wrapIntoObservable(guardVal).pipe(first());
|
|
3430
3430
|
});
|
|
3431
3431
|
});
|
|
@@ -3444,7 +3444,7 @@ function runCanActivateChild(futureRSS, path, injector) {
|
|
|
3444
3444
|
const guard = getTokenOrFunctionIdentity(canActivateChild, closestInjector);
|
|
3445
3445
|
const guardVal = isCanActivateChild(guard) ?
|
|
3446
3446
|
guard.canActivateChild(futureARS, futureRSS) :
|
|
3447
|
-
closestInjector
|
|
3447
|
+
runInInjectionContext(closestInjector, () => guard(futureARS, futureRSS));
|
|
3448
3448
|
return wrapIntoObservable(guardVal).pipe(first());
|
|
3449
3449
|
});
|
|
3450
3450
|
return of(guardsMapped).pipe(prioritizedGuardValue());
|
|
@@ -3461,7 +3461,7 @@ function runCanDeactivate(component, currARS, currRSS, futureRSS, injector) {
|
|
|
3461
3461
|
const guard = getTokenOrFunctionIdentity(c, closestInjector);
|
|
3462
3462
|
const guardVal = isCanDeactivate(guard) ?
|
|
3463
3463
|
guard.canDeactivate(component, currARS, currRSS, futureRSS) :
|
|
3464
|
-
closestInjector
|
|
3464
|
+
runInInjectionContext(closestInjector, () => guard(component, currARS, currRSS, futureRSS));
|
|
3465
3465
|
return wrapIntoObservable(guardVal).pipe(first());
|
|
3466
3466
|
});
|
|
3467
3467
|
return of(canDeactivateObservables).pipe(prioritizedGuardValue());
|
|
@@ -3475,7 +3475,7 @@ function runCanLoadGuards(injector, route, segments, urlSerializer) {
|
|
|
3475
3475
|
const guard = getTokenOrFunctionIdentity(injectionToken, injector);
|
|
3476
3476
|
const guardVal = isCanLoad(guard) ?
|
|
3477
3477
|
guard.canLoad(route, segments) :
|
|
3478
|
-
injector
|
|
3478
|
+
runInInjectionContext(injector, () => guard(route, segments));
|
|
3479
3479
|
return wrapIntoObservable(guardVal);
|
|
3480
3480
|
});
|
|
3481
3481
|
return of(canLoadObservables)
|
|
@@ -3496,7 +3496,7 @@ function runCanMatchGuards(injector, route, segments, urlSerializer) {
|
|
|
3496
3496
|
const guard = getTokenOrFunctionIdentity(injectionToken, injector);
|
|
3497
3497
|
const guardVal = isCanMatch(guard) ?
|
|
3498
3498
|
guard.canMatch(route, segments) :
|
|
3499
|
-
injector
|
|
3499
|
+
runInInjectionContext(injector, () => guard(route, segments));
|
|
3500
3500
|
return wrapIntoObservable(guardVal);
|
|
3501
3501
|
});
|
|
3502
3502
|
return of(canMatchObservables)
|
|
@@ -4079,27 +4079,31 @@ function resolveData(paramsInheritanceStrategy, injector) {
|
|
|
4079
4079
|
if (!canActivateChecks.length) {
|
|
4080
4080
|
return of(t);
|
|
4081
4081
|
}
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
.
|
|
4082
|
+
// Iterating a Set in javascript happens in insertion order so it is safe to use a `Set` to
|
|
4083
|
+
// preserve the correct order that the resolvers should run in.
|
|
4084
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set#description
|
|
4085
|
+
const routesWithResolversToRun = new Set(canActivateChecks.map(check => check.route));
|
|
4086
|
+
const routesNeedingDataUpdates = new Set();
|
|
4087
|
+
for (const route of routesWithResolversToRun) {
|
|
4088
|
+
if (routesNeedingDataUpdates.has(route)) {
|
|
4089
|
+
continue;
|
|
4090
|
+
}
|
|
4091
|
+
// All children under the route with a resolver to run need to recompute inherited data.
|
|
4092
|
+
for (const newRoute of flattenRouteTree(route)) {
|
|
4093
|
+
routesNeedingDataUpdates.add(newRoute);
|
|
4094
|
+
}
|
|
4095
|
+
}
|
|
4092
4096
|
let routesProcessed = 0;
|
|
4093
4097
|
return from(routesNeedingDataUpdates)
|
|
4094
4098
|
.pipe(concatMap(route => {
|
|
4095
|
-
if (
|
|
4099
|
+
if (routesWithResolversToRun.has(route)) {
|
|
4096
4100
|
return runResolve(route, targetSnapshot, paramsInheritanceStrategy, injector);
|
|
4097
4101
|
}
|
|
4098
4102
|
else {
|
|
4099
4103
|
route.data = getInherited(route, route.parent, paramsInheritanceStrategy).resolve;
|
|
4100
4104
|
return of(void 0);
|
|
4101
4105
|
}
|
|
4102
|
-
}), tap(() => routesProcessed++), takeLast(1), mergeMap(_ => routesProcessed === routesNeedingDataUpdates.
|
|
4106
|
+
}), tap(() => routesProcessed++), takeLast(1), mergeMap(_ => routesProcessed === routesNeedingDataUpdates.size ? of(t) : EMPTY));
|
|
4103
4107
|
});
|
|
4104
4108
|
}
|
|
4105
4109
|
/**
|
|
@@ -4137,7 +4141,7 @@ function getResolver(injectionToken, futureARS, futureRSS, injector) {
|
|
|
4137
4141
|
const resolver = getTokenOrFunctionIdentity(injectionToken, closestInjector);
|
|
4138
4142
|
const resolverValue = resolver.resolve ?
|
|
4139
4143
|
resolver.resolve(futureARS, futureRSS) :
|
|
4140
|
-
closestInjector
|
|
4144
|
+
runInInjectionContext(closestInjector, () => resolver(futureARS, futureRSS));
|
|
4141
4145
|
return wrapIntoObservable(resolverValue);
|
|
4142
4146
|
}
|
|
4143
4147
|
|
|
@@ -4200,10 +4204,10 @@ class TitleStrategy {
|
|
|
4200
4204
|
getResolvedTitleForRoute(snapshot) {
|
|
4201
4205
|
return snapshot.data[RouteTitleKey];
|
|
4202
4206
|
}
|
|
4203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4204
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4207
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4208
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }); }
|
|
4205
4209
|
}
|
|
4206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4207
4211
|
type: Injectable,
|
|
4208
4212
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4209
4213
|
}] });
|
|
@@ -4226,10 +4230,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4226
4230
|
this.title.setTitle(title);
|
|
4227
4231
|
}
|
|
4228
4232
|
}
|
|
4229
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4230
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4234
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' }); }
|
|
4231
4235
|
}
|
|
4232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4233
4237
|
type: Injectable,
|
|
4234
4238
|
args: [{ providedIn: 'root' }]
|
|
4235
4239
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4307,10 +4311,10 @@ class RouterConfigLoader {
|
|
|
4307
4311
|
this.childrenLoaders.set(route, loader);
|
|
4308
4312
|
return loader;
|
|
4309
4313
|
}
|
|
4310
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4311
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4315
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' }); }
|
|
4312
4316
|
}
|
|
4313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4314
4318
|
type: Injectable,
|
|
4315
4319
|
args: [{ providedIn: 'root' }]
|
|
4316
4320
|
}] });
|
|
@@ -4378,10 +4382,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4378
4382
|
* @publicApi
|
|
4379
4383
|
*/
|
|
4380
4384
|
class UrlHandlingStrategy {
|
|
4381
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4382
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4385
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4386
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }); }
|
|
4383
4387
|
}
|
|
4384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4385
4389
|
type: Injectable,
|
|
4386
4390
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4387
4391
|
}] });
|
|
@@ -4398,10 +4402,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4398
4402
|
merge(newUrlPart, wholeUrl) {
|
|
4399
4403
|
return newUrlPart;
|
|
4400
4404
|
}
|
|
4401
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4402
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4405
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4406
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' }); }
|
|
4403
4407
|
}
|
|
4404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4405
4409
|
type: Injectable,
|
|
4406
4410
|
args: [{ providedIn: 'root' }]
|
|
4407
4411
|
}] });
|
|
@@ -4810,10 +4814,10 @@ class NavigationTransitions {
|
|
|
4810
4814
|
return extractedBrowserUrl.toString() !== this.currentTransition?.extractedUrl.toString() &&
|
|
4811
4815
|
!this.currentTransition?.extras.skipLocationChange;
|
|
4812
4816
|
}
|
|
4813
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4814
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4817
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4818
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: NavigationTransitions, providedIn: 'root' }); }
|
|
4815
4819
|
}
|
|
4816
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4817
4821
|
type: Injectable,
|
|
4818
4822
|
args: [{ providedIn: 'root' }]
|
|
4819
4823
|
}], ctorParameters: () => [] });
|
|
@@ -4829,10 +4833,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
4829
4833
|
* @publicApi
|
|
4830
4834
|
*/
|
|
4831
4835
|
class RouteReuseStrategy {
|
|
4832
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4833
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4836
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4837
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }); }
|
|
4834
4838
|
}
|
|
4835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4836
4840
|
type: Injectable,
|
|
4837
4841
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4838
4842
|
}] });
|
|
@@ -4883,19 +4887,19 @@ class BaseRouteReuseStrategy {
|
|
|
4883
4887
|
}
|
|
4884
4888
|
}
|
|
4885
4889
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4886
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4887
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4891
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' }); }
|
|
4888
4892
|
}
|
|
4889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4890
4894
|
type: Injectable,
|
|
4891
4895
|
args: [{ providedIn: 'root' }]
|
|
4892
4896
|
}] });
|
|
4893
4897
|
|
|
4894
4898
|
class StateManager {
|
|
4895
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4896
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4899
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4900
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) }); }
|
|
4897
4901
|
}
|
|
4898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
4902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: StateManager, decorators: [{
|
|
4899
4903
|
type: Injectable,
|
|
4900
4904
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
4901
4905
|
}] });
|
|
@@ -5072,10 +5076,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5072
5076
|
}
|
|
5073
5077
|
return { navigationId };
|
|
5074
5078
|
}
|
|
5075
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5076
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5079
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5080
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: HistoryStateManager, providedIn: 'root' }); }
|
|
5077
5081
|
}
|
|
5078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5079
5083
|
type: Injectable,
|
|
5080
5084
|
args: [{ providedIn: 'root' }]
|
|
5081
5085
|
}] });
|
|
@@ -5648,10 +5652,10 @@ class Router {
|
|
|
5648
5652
|
return Promise.reject(e);
|
|
5649
5653
|
});
|
|
5650
5654
|
}
|
|
5651
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5652
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5656
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: Router, providedIn: 'root' }); }
|
|
5653
5657
|
}
|
|
5654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: Router, decorators: [{
|
|
5655
5659
|
type: Injectable,
|
|
5656
5660
|
args: [{ providedIn: 'root' }]
|
|
5657
5661
|
}], ctorParameters: () => [] });
|
|
@@ -5922,10 +5926,10 @@ class RouterLink {
|
|
|
5922
5926
|
preserveFragment: this.preserveFragment,
|
|
5923
5927
|
});
|
|
5924
5928
|
}
|
|
5925
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5926
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.
|
|
5929
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", 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 }); }
|
|
5930
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.2", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", relativeTo: "relativeTo", preserveFragment: ["preserveFragment", "preserveFragment", booleanAttribute], skipLocationChange: ["skipLocationChange", "skipLocationChange", booleanAttribute], replaceUrl: ["replaceUrl", "replaceUrl", booleanAttribute], 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 }); }
|
|
5927
5931
|
}
|
|
5928
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
5932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterLink, decorators: [{
|
|
5929
5933
|
type: Directive,
|
|
5930
5934
|
args: [{
|
|
5931
5935
|
selector: '[routerLink]',
|
|
@@ -6148,10 +6152,10 @@ class RouterLinkActive {
|
|
|
6148
6152
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
6149
6153
|
return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);
|
|
6150
6154
|
}
|
|
6151
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6152
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.
|
|
6155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6156
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.2", 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 }); }
|
|
6153
6157
|
}
|
|
6154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6155
6159
|
type: Directive,
|
|
6156
6160
|
args: [{
|
|
6157
6161
|
selector: '[routerLinkActive]',
|
|
@@ -6203,10 +6207,10 @@ class PreloadAllModules {
|
|
|
6203
6207
|
preload(route, fn) {
|
|
6204
6208
|
return fn().pipe(catchError(() => of(null)));
|
|
6205
6209
|
}
|
|
6206
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6207
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6210
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6211
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: PreloadAllModules, providedIn: 'root' }); }
|
|
6208
6212
|
}
|
|
6209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6210
6214
|
type: Injectable,
|
|
6211
6215
|
args: [{ providedIn: 'root' }]
|
|
6212
6216
|
}] });
|
|
@@ -6223,10 +6227,10 @@ class NoPreloading {
|
|
|
6223
6227
|
preload(route, fn) {
|
|
6224
6228
|
return of(null);
|
|
6225
6229
|
}
|
|
6226
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6227
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6230
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6231
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: NoPreloading, providedIn: 'root' }); }
|
|
6228
6232
|
}
|
|
6229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6230
6234
|
type: Injectable,
|
|
6231
6235
|
args: [{ providedIn: 'root' }]
|
|
6232
6236
|
}] });
|
|
@@ -6319,10 +6323,10 @@ class RouterPreloader {
|
|
|
6319
6323
|
}
|
|
6320
6324
|
});
|
|
6321
6325
|
}
|
|
6322
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6323
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6327
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterPreloader, providedIn: 'root' }); }
|
|
6324
6328
|
}
|
|
6325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6326
6330
|
type: Injectable,
|
|
6327
6331
|
args: [{ providedIn: 'root' }]
|
|
6328
6332
|
}], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
|
|
@@ -6415,10 +6419,10 @@ class RouterScroller {
|
|
|
6415
6419
|
this.routerEventsSubscription?.unsubscribe();
|
|
6416
6420
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6417
6421
|
}
|
|
6418
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6419
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6422
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6423
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterScroller }); }
|
|
6420
6424
|
}
|
|
6421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
6425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6422
6426
|
type: Injectable
|
|
6423
6427
|
}], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
|
|
6424
6428
|
|
|
@@ -6874,7 +6878,7 @@ function withNavigationErrorHandler(fn) {
|
|
|
6874
6878
|
const injector = inject(EnvironmentInjector);
|
|
6875
6879
|
inject(Router).events.subscribe((e) => {
|
|
6876
6880
|
if (e instanceof NavigationError) {
|
|
6877
|
-
injector
|
|
6881
|
+
runInInjectionContext(injector, () => fn(e));
|
|
6878
6882
|
}
|
|
6879
6883
|
});
|
|
6880
6884
|
}
|
|
@@ -7059,11 +7063,11 @@ class RouterModule {
|
|
|
7059
7063
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
7060
7064
|
};
|
|
7061
7065
|
}
|
|
7062
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
7063
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.
|
|
7064
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
7066
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7067
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] }); }
|
|
7068
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterModule }); }
|
|
7065
7069
|
}
|
|
7066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
7070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: RouterModule, decorators: [{
|
|
7067
7071
|
type: NgModule,
|
|
7068
7072
|
args: [{
|
|
7069
7073
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7208,7 +7212,7 @@ function mapToResolve(provider) {
|
|
|
7208
7212
|
/**
|
|
7209
7213
|
* @publicApi
|
|
7210
7214
|
*/
|
|
7211
|
-
const VERSION = new Version('17.1.0-next.
|
|
7215
|
+
const VERSION = new Version('17.1.0-next.2');
|
|
7212
7216
|
|
|
7213
7217
|
/**
|
|
7214
7218
|
* @module
|