@angular/router 16.0.0-next.7 → 16.0.0-rc.0
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 +19 -12
- package/esm2022/src/navigation_transition.mjs +3 -3
- package/esm2022/src/page_title_strategy.mjs +6 -6
- 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/router_state.mjs +29 -23
- package/esm2022/src/url_handling_strategy.mjs +6 -6
- package/esm2022/src/url_tree.mjs +11 -6
- 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 +112 -94
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +11 -11
- package/fesm2022/upgrade.mjs +1 -1
- package/index.d.ts +9 -9
- package/package.json +5 -5
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/esm2022/src/version.mjs
CHANGED
|
@@ -14,5 +14,5 @@ import { Version } from '@angular/core';
|
|
|
14
14
|
/**
|
|
15
15
|
* @publicApi
|
|
16
16
|
*/
|
|
17
|
-
export const VERSION = new Version('16.0.0-
|
|
17
|
+
export const VERSION = new Version('16.0.0-rc.0');
|
|
18
18
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3JvdXRlci9zcmMvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSDs7OztHQUlHO0FBRUgsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV0Qzs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSByb3V0ZXIgcGFja2FnZS5cbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG4vKipcbiAqIEBwdWJsaWNBcGlcbiAqL1xuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
|
@@ -25,20 +25,20 @@ class RootFixtureService {
|
|
|
25
25
|
this.fixture.detectChanges();
|
|
26
26
|
return this.fixture;
|
|
27
27
|
}
|
|
28
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
29
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RootFixtureService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
29
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RootFixtureService, providedIn: 'root' }); }
|
|
30
30
|
}
|
|
31
31
|
export { RootFixtureService };
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RootFixtureService, decorators: [{
|
|
33
33
|
type: Injectable,
|
|
34
34
|
args: [{ providedIn: 'root' }]
|
|
35
35
|
}] });
|
|
36
36
|
class RootCmp {
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
38
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RootCmp, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-rc.0", type: RootCmp, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "outlet", first: true, predicate: RouterOutlet, descendants: true }], 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"] }] }); }
|
|
39
39
|
}
|
|
40
40
|
export { RootCmp };
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RootCmp, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{
|
|
44
44
|
standalone: true,
|
|
@@ -108,9 +108,9 @@ class RouterTestingModule {
|
|
|
108
108
|
]
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
112
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-
|
|
113
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-
|
|
111
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
112
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterTestingModule, exports: [RouterModule] }); }
|
|
113
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterTestingModule, providers: [
|
|
114
114
|
ROUTER_PROVIDERS,
|
|
115
115
|
provideLocationMocks(),
|
|
116
116
|
withPreloading(NoPreloading).ɵproviders,
|
|
@@ -118,7 +118,7 @@ class RouterTestingModule {
|
|
|
118
118
|
], imports: [RouterModule] }); }
|
|
119
119
|
}
|
|
120
120
|
export { RouterTestingModule };
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterTestingModule, decorators: [{
|
|
122
122
|
type: NgModule,
|
|
123
123
|
args: [{
|
|
124
124
|
exports: [RouterModule],
|
package/fesm2022/router.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.0-
|
|
2
|
+
* @license Angular v16.0.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -419,10 +419,10 @@ function mapChildrenIntoArray(segment, fn) {
|
|
|
419
419
|
* @publicApi
|
|
420
420
|
*/
|
|
421
421
|
class UrlSerializer {
|
|
422
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
423
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
422
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
423
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }); }
|
|
424
424
|
}
|
|
425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
426
426
|
type: Injectable,
|
|
427
427
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
428
428
|
}] });
|
|
@@ -560,11 +560,16 @@ function serializeQueryParams(params) {
|
|
|
560
560
|
.filter(s => !!s);
|
|
561
561
|
return strParams.length ? `?${strParams.join('&')}` : '';
|
|
562
562
|
}
|
|
563
|
-
const SEGMENT_RE = /^[^\/()
|
|
563
|
+
const SEGMENT_RE = /^[^\/()?;#]+/;
|
|
564
564
|
function matchSegments(str) {
|
|
565
565
|
const match = str.match(SEGMENT_RE);
|
|
566
566
|
return match ? match[0] : '';
|
|
567
567
|
}
|
|
568
|
+
const MATRIX_PARAM_SEGMENT_RE = /^[^\/()?;=#]+/;
|
|
569
|
+
function matchMatrixKeySegments(str) {
|
|
570
|
+
const match = str.match(MATRIX_PARAM_SEGMENT_RE);
|
|
571
|
+
return match ? match[0] : '';
|
|
572
|
+
}
|
|
568
573
|
const QUERY_PARAM_RE = /^[^=?&#]+/;
|
|
569
574
|
// Return the name of the query param at the start of the string or an empty string
|
|
570
575
|
function matchQueryParams(str) {
|
|
@@ -648,7 +653,7 @@ class UrlParser {
|
|
|
648
653
|
return params;
|
|
649
654
|
}
|
|
650
655
|
parseParam(params) {
|
|
651
|
-
const key =
|
|
656
|
+
const key = matchMatrixKeySegments(this.remaining);
|
|
652
657
|
if (!key) {
|
|
653
658
|
return;
|
|
654
659
|
}
|
|
@@ -1767,10 +1772,10 @@ class ChildrenOutletContexts {
|
|
|
1767
1772
|
getContext(childName) {
|
|
1768
1773
|
return this.contexts.get(childName) || null;
|
|
1769
1774
|
}
|
|
1770
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
1771
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
1775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1776
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' }); }
|
|
1772
1777
|
}
|
|
1773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
1778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
1774
1779
|
type: Injectable,
|
|
1775
1780
|
args: [{ providedIn: 'root' }]
|
|
1776
1781
|
}] });
|
|
@@ -1947,29 +1952,35 @@ function createEmptyStateSnapshot(urlTree, rootComponent) {
|
|
|
1947
1952
|
class ActivatedRoute {
|
|
1948
1953
|
/** @internal */
|
|
1949
1954
|
constructor(
|
|
1950
|
-
/**
|
|
1951
|
-
|
|
1952
|
-
/**
|
|
1953
|
-
|
|
1954
|
-
/**
|
|
1955
|
-
|
|
1956
|
-
/**
|
|
1957
|
-
|
|
1958
|
-
/**
|
|
1959
|
-
|
|
1955
|
+
/** @internal */
|
|
1956
|
+
urlSubject,
|
|
1957
|
+
/** @internal */
|
|
1958
|
+
paramsSubject,
|
|
1959
|
+
/** @internal */
|
|
1960
|
+
queryParamsSubject,
|
|
1961
|
+
/** @internal */
|
|
1962
|
+
fragmentSubject,
|
|
1963
|
+
/** @internal */
|
|
1964
|
+
dataSubject,
|
|
1960
1965
|
/** The outlet name of the route, a constant. */
|
|
1961
1966
|
outlet,
|
|
1962
1967
|
/** The component of the route, a constant. */
|
|
1963
1968
|
component, futureSnapshot) {
|
|
1964
|
-
this.
|
|
1965
|
-
this.
|
|
1966
|
-
this.
|
|
1967
|
-
this.
|
|
1968
|
-
this.
|
|
1969
|
+
this.urlSubject = urlSubject;
|
|
1970
|
+
this.paramsSubject = paramsSubject;
|
|
1971
|
+
this.queryParamsSubject = queryParamsSubject;
|
|
1972
|
+
this.fragmentSubject = fragmentSubject;
|
|
1973
|
+
this.dataSubject = dataSubject;
|
|
1969
1974
|
this.outlet = outlet;
|
|
1970
1975
|
this.component = component;
|
|
1971
1976
|
this._futureSnapshot = futureSnapshot;
|
|
1972
|
-
this.title = this.
|
|
1977
|
+
this.title = this.dataSubject?.pipe(map((d) => d[RouteTitleKey])) ?? of(undefined);
|
|
1978
|
+
// TODO(atscott): Verify that these can be changed to `.asObservable()` with TGP.
|
|
1979
|
+
this.url = urlSubject;
|
|
1980
|
+
this.params = paramsSubject;
|
|
1981
|
+
this.queryParams = queryParamsSubject;
|
|
1982
|
+
this.fragment = fragmentSubject;
|
|
1983
|
+
this.data = dataSubject;
|
|
1973
1984
|
}
|
|
1974
1985
|
/** The configuration used to match this route. */
|
|
1975
1986
|
get routeConfig() {
|
|
@@ -2229,25 +2240,25 @@ function advanceActivatedRoute(route) {
|
|
|
2229
2240
|
const nextSnapshot = route._futureSnapshot;
|
|
2230
2241
|
route.snapshot = nextSnapshot;
|
|
2231
2242
|
if (!shallowEqual(currentSnapshot.queryParams, nextSnapshot.queryParams)) {
|
|
2232
|
-
route.
|
|
2243
|
+
route.queryParamsSubject.next(nextSnapshot.queryParams);
|
|
2233
2244
|
}
|
|
2234
2245
|
if (currentSnapshot.fragment !== nextSnapshot.fragment) {
|
|
2235
|
-
route.
|
|
2246
|
+
route.fragmentSubject.next(nextSnapshot.fragment);
|
|
2236
2247
|
}
|
|
2237
2248
|
if (!shallowEqual(currentSnapshot.params, nextSnapshot.params)) {
|
|
2238
|
-
route.
|
|
2249
|
+
route.paramsSubject.next(nextSnapshot.params);
|
|
2239
2250
|
}
|
|
2240
2251
|
if (!shallowEqualArrays(currentSnapshot.url, nextSnapshot.url)) {
|
|
2241
|
-
route.
|
|
2252
|
+
route.urlSubject.next(nextSnapshot.url);
|
|
2242
2253
|
}
|
|
2243
2254
|
if (!shallowEqual(currentSnapshot.data, nextSnapshot.data)) {
|
|
2244
|
-
route.
|
|
2255
|
+
route.dataSubject.next(nextSnapshot.data);
|
|
2245
2256
|
}
|
|
2246
2257
|
}
|
|
2247
2258
|
else {
|
|
2248
2259
|
route.snapshot = route._futureSnapshot;
|
|
2249
2260
|
// this is for resolved data
|
|
2250
|
-
route.
|
|
2261
|
+
route.dataSubject.next(route._futureSnapshot.data);
|
|
2251
2262
|
}
|
|
2252
2263
|
}
|
|
2253
2264
|
function equalParamsAndUrlSegments(a, b) {
|
|
@@ -2471,10 +2482,10 @@ class RouterOutlet {
|
|
|
2471
2482
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2472
2483
|
this.activateEvents.emit(this.activated.instance);
|
|
2473
2484
|
}
|
|
2474
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
2475
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-
|
|
2485
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2486
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.0", 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 }); }
|
|
2476
2487
|
}
|
|
2477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
2488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2478
2489
|
type: Directive,
|
|
2479
2490
|
args: [{
|
|
2480
2491
|
selector: 'router-outlet',
|
|
@@ -2546,10 +2557,17 @@ class RoutedComponentInputBinder {
|
|
|
2546
2557
|
activatedRoute.params,
|
|
2547
2558
|
activatedRoute.data,
|
|
2548
2559
|
])
|
|
2549
|
-
.pipe(switchMap(([queryParams, params, data]) => {
|
|
2550
|
-
|
|
2551
|
-
// the
|
|
2552
|
-
|
|
2560
|
+
.pipe(switchMap(([queryParams, params, data], index) => {
|
|
2561
|
+
data = { ...queryParams, ...params, ...data };
|
|
2562
|
+
// Get the first result from the data subscription synchronously so it's available to
|
|
2563
|
+
// the component as soon as possible (and doesn't require a second change detection).
|
|
2564
|
+
if (index === 0) {
|
|
2565
|
+
return of(data);
|
|
2566
|
+
}
|
|
2567
|
+
// Promise.resolve is used to avoid synchronously writing the wrong data when
|
|
2568
|
+
// two of the Observables in the `combineLatest` stream emit one after
|
|
2569
|
+
// another.
|
|
2570
|
+
return Promise.resolve(data);
|
|
2553
2571
|
}))
|
|
2554
2572
|
.subscribe(data => {
|
|
2555
2573
|
// Outlet may have been deactivated or changed names to be associated with a different
|
|
@@ -2570,10 +2588,10 @@ class RoutedComponentInputBinder {
|
|
|
2570
2588
|
});
|
|
2571
2589
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
2572
2590
|
}
|
|
2573
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
2574
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
2591
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2592
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RoutedComponentInputBinder }); }
|
|
2575
2593
|
}
|
|
2576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
2594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
2577
2595
|
type: Injectable
|
|
2578
2596
|
}] });
|
|
2579
2597
|
|
|
@@ -2653,10 +2671,10 @@ function isNavigationCancelingError$1(error) {
|
|
|
2653
2671
|
* to this `EmptyOutletComponent`.
|
|
2654
2672
|
*/
|
|
2655
2673
|
class ɵEmptyOutletComponent {
|
|
2656
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
2657
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-
|
|
2674
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2675
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-rc.0", 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"] }] }); }
|
|
2658
2676
|
}
|
|
2659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
2677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2660
2678
|
type: Component,
|
|
2661
2679
|
args: [{
|
|
2662
2680
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -4130,10 +4148,10 @@ class RouterConfigLoader {
|
|
|
4130
4148
|
}
|
|
4131
4149
|
}));
|
|
4132
4150
|
}
|
|
4133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
4134
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
4151
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4152
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' }); }
|
|
4135
4153
|
}
|
|
4136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
4154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4137
4155
|
type: Injectable,
|
|
4138
4156
|
args: [{ providedIn: 'root' }]
|
|
4139
4157
|
}] });
|
|
@@ -4509,10 +4527,10 @@ class NavigationTransitions {
|
|
|
4509
4527
|
this.events.next(navCancel);
|
|
4510
4528
|
t.resolve(false);
|
|
4511
4529
|
}
|
|
4512
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
4513
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
4530
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4531
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: NavigationTransitions, providedIn: 'root' }); }
|
|
4514
4532
|
}
|
|
4515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
4533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4516
4534
|
type: Injectable,
|
|
4517
4535
|
args: [{ providedIn: 'root' }]
|
|
4518
4536
|
}], ctorParameters: function () { return []; } });
|
|
@@ -4563,10 +4581,10 @@ class TitleStrategy {
|
|
|
4563
4581
|
getResolvedTitleForRoute(snapshot) {
|
|
4564
4582
|
return snapshot.data[RouteTitleKey];
|
|
4565
4583
|
}
|
|
4566
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
4567
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
4584
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4585
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }); }
|
|
4568
4586
|
}
|
|
4569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
4587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4570
4588
|
type: Injectable,
|
|
4571
4589
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4572
4590
|
}] });
|
|
@@ -4589,10 +4607,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4589
4607
|
this.title.setTitle(title);
|
|
4590
4608
|
}
|
|
4591
4609
|
}
|
|
4592
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
4593
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
4610
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4611
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' }); }
|
|
4594
4612
|
}
|
|
4595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
4613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4596
4614
|
type: Injectable,
|
|
4597
4615
|
args: [{ providedIn: 'root' }]
|
|
4598
4616
|
}], ctorParameters: function () { return [{ type: i1.Title }]; } });
|
|
@@ -4605,10 +4623,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7",
|
|
|
4605
4623
|
* @publicApi
|
|
4606
4624
|
*/
|
|
4607
4625
|
class RouteReuseStrategy {
|
|
4608
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
4609
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
4626
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4627
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }); }
|
|
4610
4628
|
}
|
|
4611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
4629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4612
4630
|
type: Injectable,
|
|
4613
4631
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4614
4632
|
}] });
|
|
@@ -4659,10 +4677,10 @@ class BaseRouteReuseStrategy {
|
|
|
4659
4677
|
}
|
|
4660
4678
|
}
|
|
4661
4679
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4662
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
4663
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
4680
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4681
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' }); }
|
|
4664
4682
|
}
|
|
4665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
4683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4666
4684
|
type: Injectable,
|
|
4667
4685
|
args: [{ providedIn: 'root' }]
|
|
4668
4686
|
}] });
|
|
@@ -4685,10 +4703,10 @@ const ROUTER_CONFIGURATION = new InjectionToken((typeof ngDevMode === 'undefined
|
|
|
4685
4703
|
* @publicApi
|
|
4686
4704
|
*/
|
|
4687
4705
|
class UrlHandlingStrategy {
|
|
4688
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
4689
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
4706
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4707
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }); }
|
|
4690
4708
|
}
|
|
4691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
4709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4692
4710
|
type: Injectable,
|
|
4693
4711
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4694
4712
|
}] });
|
|
@@ -4705,10 +4723,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4705
4723
|
merge(newUrlPart, wholeUrl) {
|
|
4706
4724
|
return newUrlPart;
|
|
4707
4725
|
}
|
|
4708
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
4709
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
4726
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4727
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' }); }
|
|
4710
4728
|
}
|
|
4711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
4729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4712
4730
|
type: Injectable,
|
|
4713
4731
|
args: [{ providedIn: 'root' }]
|
|
4714
4732
|
}] });
|
|
@@ -5429,10 +5447,10 @@ class Router {
|
|
|
5429
5447
|
}
|
|
5430
5448
|
return { navigationId };
|
|
5431
5449
|
}
|
|
5432
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
5433
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
5450
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5451
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: Router, providedIn: 'root' }); }
|
|
5434
5452
|
}
|
|
5435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
5453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: Router, decorators: [{
|
|
5436
5454
|
type: Injectable,
|
|
5437
5455
|
args: [{ providedIn: 'root' }]
|
|
5438
5456
|
}], ctorParameters: function () { return []; } });
|
|
@@ -5718,10 +5736,10 @@ class RouterLink {
|
|
|
5718
5736
|
preserveFragment: this.preserveFragment,
|
|
5719
5737
|
});
|
|
5720
5738
|
}
|
|
5721
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
5722
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-
|
|
5739
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", 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 }); }
|
|
5740
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.0", 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 }); }
|
|
5723
5741
|
}
|
|
5724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
5742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterLink, decorators: [{
|
|
5725
5743
|
type: Directive,
|
|
5726
5744
|
args: [{
|
|
5727
5745
|
selector: '[routerLink]',
|
|
@@ -5941,10 +5959,10 @@ class RouterLinkActive {
|
|
|
5941
5959
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
5942
5960
|
return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);
|
|
5943
5961
|
}
|
|
5944
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
5945
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-
|
|
5962
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterLinkActive, deps: [{ token: Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5963
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-rc.0", 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 }); }
|
|
5946
5964
|
}
|
|
5947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
5965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
5948
5966
|
type: Directive,
|
|
5949
5967
|
args: [{
|
|
5950
5968
|
selector: '[routerLinkActive]',
|
|
@@ -5996,10 +6014,10 @@ class PreloadAllModules {
|
|
|
5996
6014
|
preload(route, fn) {
|
|
5997
6015
|
return fn().pipe(catchError(() => of(null)));
|
|
5998
6016
|
}
|
|
5999
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
6000
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
6017
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6018
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: PreloadAllModules, providedIn: 'root' }); }
|
|
6001
6019
|
}
|
|
6002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
6020
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6003
6021
|
type: Injectable,
|
|
6004
6022
|
args: [{ providedIn: 'root' }]
|
|
6005
6023
|
}] });
|
|
@@ -6016,10 +6034,10 @@ class NoPreloading {
|
|
|
6016
6034
|
preload(route, fn) {
|
|
6017
6035
|
return of(null);
|
|
6018
6036
|
}
|
|
6019
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
6020
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
6037
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6038
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: NoPreloading, providedIn: 'root' }); }
|
|
6021
6039
|
}
|
|
6022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
6040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6023
6041
|
type: Injectable,
|
|
6024
6042
|
args: [{ providedIn: 'root' }]
|
|
6025
6043
|
}] });
|
|
@@ -6112,10 +6130,10 @@ class RouterPreloader {
|
|
|
6112
6130
|
}
|
|
6113
6131
|
});
|
|
6114
6132
|
}
|
|
6115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
6116
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
6133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6134
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterPreloader, providedIn: 'root' }); }
|
|
6117
6135
|
}
|
|
6118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
6136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6119
6137
|
type: Injectable,
|
|
6120
6138
|
args: [{ providedIn: 'root' }]
|
|
6121
6139
|
}], ctorParameters: function () { return [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }]; } });
|
|
@@ -6208,10 +6226,10 @@ class RouterScroller {
|
|
|
6208
6226
|
this.routerEventsSubscription?.unsubscribe();
|
|
6209
6227
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6210
6228
|
}
|
|
6211
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
6212
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-
|
|
6229
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6230
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterScroller }); }
|
|
6213
6231
|
}
|
|
6214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
6232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6215
6233
|
type: Injectable
|
|
6216
6234
|
}], ctorParameters: function () { return [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }]; } });
|
|
6217
6235
|
|
|
@@ -6817,11 +6835,11 @@ class RouterModule {
|
|
|
6817
6835
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
6818
6836
|
};
|
|
6819
6837
|
}
|
|
6820
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-
|
|
6821
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-
|
|
6822
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-
|
|
6838
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6839
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] }); }
|
|
6840
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterModule, imports: [ɵEmptyOutletComponent] }); }
|
|
6823
6841
|
}
|
|
6824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-
|
|
6842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-rc.0", ngImport: i0, type: RouterModule, decorators: [{
|
|
6825
6843
|
type: NgModule,
|
|
6826
6844
|
args: [{
|
|
6827
6845
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -6966,7 +6984,7 @@ function mapToResolve(provider) {
|
|
|
6966
6984
|
/**
|
|
6967
6985
|
* @publicApi
|
|
6968
6986
|
*/
|
|
6969
|
-
const VERSION = new Version('16.0.0-
|
|
6987
|
+
const VERSION = new Version('16.0.0-rc.0');
|
|
6970
6988
|
|
|
6971
6989
|
/**
|
|
6972
6990
|
* @module
|