@angular/router 17.1.0-rc.0 → 17.1.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/create_url_tree.mjs +2 -4
- 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/page_title_strategy.mjs +6 -6
- package/esm2022/src/route_reuse_strategy.mjs +6 -6
- package/esm2022/src/router.mjs +12 -14
- 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 +6 -6
- package/esm2022/src/router_state.mjs +6 -14
- package/esm2022/src/statemanager/state_manager.mjs +6 -6
- package/esm2022/src/url_handling_strategy.mjs +6 -6
- package/esm2022/src/url_tree.mjs +6 -10
- 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/esm2022/upgrade/src/upgrade.mjs +2 -4
- package/fesm2022/router.mjs +90 -106
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +11 -11
- package/fesm2022/upgrade.mjs +2 -4
- package/fesm2022/upgrade.mjs.map +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
|
@@ -25,18 +25,18 @@ export 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: "17.1.0
|
|
29
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RootFixtureService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
29
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RootFixtureService, providedIn: 'root' }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RootFixtureService, decorators: [{
|
|
32
32
|
type: Injectable,
|
|
33
33
|
args: [{ providedIn: 'root' }]
|
|
34
34
|
}] });
|
|
35
35
|
export class RootCmp {
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
37
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RootCmp, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.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"] }] }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RootCmp, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
41
|
args: [{
|
|
42
42
|
standalone: true,
|
|
@@ -46,16 +46,16 @@ export class RouterTestingModule {
|
|
|
46
46
|
]
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
50
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0
|
|
51
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
50
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: RouterTestingModule, exports: [RouterModule] }); }
|
|
51
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterTestingModule, providers: [
|
|
52
52
|
ROUTER_PROVIDERS,
|
|
53
53
|
provideLocationMocks(),
|
|
54
54
|
withPreloading(NoPreloading).ɵproviders,
|
|
55
55
|
{ provide: ROUTES, multi: true, useValue: [] },
|
|
56
56
|
], imports: [RouterModule] }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterTestingModule, decorators: [{
|
|
59
59
|
type: NgModule,
|
|
60
60
|
args: [{
|
|
61
61
|
exports: [RouterModule],
|
|
@@ -115,9 +115,7 @@ export function setUpLocationSync(ngUpgrade, urlType = 'path') {
|
|
|
115
115
|
*/
|
|
116
116
|
let anchor;
|
|
117
117
|
function resolveUrl(url) {
|
|
118
|
-
|
|
119
|
-
anchor = document.createElement('a');
|
|
120
|
-
}
|
|
118
|
+
anchor ??= document.createElement('a');
|
|
121
119
|
anchor.setAttribute('href', url);
|
|
122
120
|
anchor.setAttribute('href', anchor.href);
|
|
123
121
|
return {
|
|
@@ -127,4 +125,4 @@ function resolveUrl(url) {
|
|
|
127
125
|
hash: anchor.hash
|
|
128
126
|
};
|
|
129
127
|
}
|
|
130
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
128
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBncmFkZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3JvdXRlci91cGdyYWRlL3NyYy91cGdyYWRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUN6QyxPQUFPLEVBQUMsc0JBQXNCLEVBQStCLE1BQU0sZUFBZSxDQUFDO0FBQ25GLE9BQU8sRUFBQyxNQUFNLEVBQWtDLE1BQU0saUJBQWlCLENBQUM7QUFDeEUsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBRXREOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBc0JHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sd0JBQXdCLEdBQUc7SUFDdEMsT0FBTyxFQUFFLHNCQUFzQjtJQUMvQixLQUFLLEVBQUUsSUFBSTtJQUNYLFVBQVUsRUFBRSw2QkFBeUU7SUFDckYsSUFBSSxFQUFFLENBQUMsYUFBYSxDQUFDO0NBQ3RCLENBQUM7QUFFRjs7R0FFRztBQUNILE1BQU0sVUFBVSw2QkFBNkIsQ0FBQyxTQUF3QjtJQUN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zdHJpbmcpOiB7cGF0aG5hbWU6IHN0cmluZywgc2VhcmNoOiBzdHJpbmcsIGhhc2g6IHN0cmluZ30ge1xuICBhbmNob3IgPz89IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2EnKTtcblxuICBhbmNob3Iuc2V0QXR0cmlidXRlKCdocmVmJywgdXJsKTtcbiAgYW5jaG9yLnNldEF0dHJpYnV0ZSgnaHJlZicsIGFuY2hvci5ocmVmKTtcblxuICByZXR1cm4ge1xuICAgIC8vIElFIGRvZXMgbm90IHN0YXJ0IGBwYXRobmFtZWAgd2l0aCBgL2AgbGlrZSBvdGhlciBicm93c2Vycy5cbiAgICBwYXRobmFtZTogYC8ke2FuY2hvci5wYXRobmFtZS5yZXBsYWNlKC9eXFwvLywgJycpfWAsXG4gICAgc2VhcmNoOiBhbmNob3Iuc2VhcmNoLFxuICAgIGhhc2g6IGFuY2hvci5oYXNoXG4gIH07XG59XG4iXX0=
|
package/fesm2022/router.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.1.0
|
|
2
|
+
* @license Angular v17.1.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -294,9 +294,7 @@ class UrlTree {
|
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
get queryParamMap() {
|
|
297
|
-
|
|
298
|
-
this._queryParamMap = convertToParamMap(this.queryParams);
|
|
299
|
-
}
|
|
297
|
+
this._queryParamMap ??= convertToParamMap(this.queryParams);
|
|
300
298
|
return this._queryParamMap;
|
|
301
299
|
}
|
|
302
300
|
/** @docsNotRequired */
|
|
@@ -374,9 +372,7 @@ class UrlSegment {
|
|
|
374
372
|
this.parameters = parameters;
|
|
375
373
|
}
|
|
376
374
|
get parameterMap() {
|
|
377
|
-
|
|
378
|
-
this._parameterMap = convertToParamMap(this.parameters);
|
|
379
|
-
}
|
|
375
|
+
this._parameterMap ??= convertToParamMap(this.parameters);
|
|
380
376
|
return this._parameterMap;
|
|
381
377
|
}
|
|
382
378
|
/** @docsNotRequired */
|
|
@@ -419,10 +415,10 @@ function mapChildrenIntoArray(segment, fn) {
|
|
|
419
415
|
* @publicApi
|
|
420
416
|
*/
|
|
421
417
|
class UrlSerializer {
|
|
422
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
423
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: UrlSerializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
419
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: UrlSerializer, providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }); }
|
|
424
420
|
}
|
|
425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: UrlSerializer, decorators: [{
|
|
426
422
|
type: Injectable,
|
|
427
423
|
args: [{ providedIn: 'root', useFactory: () => new DefaultUrlSerializer() }]
|
|
428
424
|
}] });
|
|
@@ -1044,9 +1040,7 @@ function getOutlets(commands) {
|
|
|
1044
1040
|
return { [PRIMARY_OUTLET]: commands };
|
|
1045
1041
|
}
|
|
1046
1042
|
function updateSegmentGroup(segmentGroup, startIndex, commands) {
|
|
1047
|
-
|
|
1048
|
-
segmentGroup = new UrlSegmentGroup([], {});
|
|
1049
|
-
}
|
|
1043
|
+
segmentGroup ??= new UrlSegmentGroup([], {});
|
|
1050
1044
|
if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {
|
|
1051
1045
|
return updateSegmentGroupChildren(segmentGroup, startIndex, commands);
|
|
1052
1046
|
}
|
|
@@ -1847,10 +1841,10 @@ class ChildrenOutletContexts {
|
|
|
1847
1841
|
getContext(childName) {
|
|
1848
1842
|
return this.contexts.get(childName) || null;
|
|
1849
1843
|
}
|
|
1850
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
1851
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
1844
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: ChildrenOutletContexts, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1845
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: ChildrenOutletContexts, providedIn: 'root' }); }
|
|
1852
1846
|
}
|
|
1853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
1847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: ChildrenOutletContexts, decorators: [{
|
|
1854
1848
|
type: Injectable,
|
|
1855
1849
|
args: [{ providedIn: 'root' }]
|
|
1856
1850
|
}] });
|
|
@@ -2087,9 +2081,7 @@ class ActivatedRoute {
|
|
|
2087
2081
|
* The map supports retrieving single and multiple values from the same parameter.
|
|
2088
2082
|
*/
|
|
2089
2083
|
get paramMap() {
|
|
2090
|
-
|
|
2091
|
-
this._paramMap = this.params.pipe(map((p) => convertToParamMap(p)));
|
|
2092
|
-
}
|
|
2084
|
+
this._paramMap ??= this.params.pipe(map((p) => convertToParamMap(p)));
|
|
2093
2085
|
return this._paramMap;
|
|
2094
2086
|
}
|
|
2095
2087
|
/**
|
|
@@ -2097,10 +2089,8 @@ class ActivatedRoute {
|
|
|
2097
2089
|
* The map supports retrieving single and multiple values from the query parameter.
|
|
2098
2090
|
*/
|
|
2099
2091
|
get queryParamMap() {
|
|
2100
|
-
|
|
2101
|
-
this.
|
|
2102
|
-
this.queryParams.pipe(map((p) => convertToParamMap(p)));
|
|
2103
|
-
}
|
|
2092
|
+
this._queryParamMap ??=
|
|
2093
|
+
this.queryParams.pipe(map((p) => convertToParamMap(p)));
|
|
2104
2094
|
return this._queryParamMap;
|
|
2105
2095
|
}
|
|
2106
2096
|
toString() {
|
|
@@ -2249,15 +2239,11 @@ class ActivatedRouteSnapshot {
|
|
|
2249
2239
|
return this._routerState.pathFromRoot(this);
|
|
2250
2240
|
}
|
|
2251
2241
|
get paramMap() {
|
|
2252
|
-
|
|
2253
|
-
this._paramMap = convertToParamMap(this.params);
|
|
2254
|
-
}
|
|
2242
|
+
this._paramMap ??= convertToParamMap(this.params);
|
|
2255
2243
|
return this._paramMap;
|
|
2256
2244
|
}
|
|
2257
2245
|
get queryParamMap() {
|
|
2258
|
-
|
|
2259
|
-
this._queryParamMap = convertToParamMap(this.queryParams);
|
|
2260
|
-
}
|
|
2246
|
+
this._queryParamMap ??= convertToParamMap(this.queryParams);
|
|
2261
2247
|
return this._queryParamMap;
|
|
2262
2248
|
}
|
|
2263
2249
|
toString() {
|
|
@@ -2570,10 +2556,10 @@ class RouterOutlet {
|
|
|
2570
2556
|
this.inputBinder?.bindActivatedRouteToOutletComponent(this);
|
|
2571
2557
|
this.activateEvents.emit(this.activated.instance);
|
|
2572
2558
|
}
|
|
2573
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
2574
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0
|
|
2559
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2560
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.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 }); }
|
|
2575
2561
|
}
|
|
2576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
2562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterOutlet, decorators: [{
|
|
2577
2563
|
type: Directive,
|
|
2578
2564
|
args: [{
|
|
2579
2565
|
selector: 'router-outlet',
|
|
@@ -2676,10 +2662,10 @@ class RoutedComponentInputBinder {
|
|
|
2676
2662
|
});
|
|
2677
2663
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
2678
2664
|
}
|
|
2679
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
2680
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
2665
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2666
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RoutedComponentInputBinder }); }
|
|
2681
2667
|
}
|
|
2682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
2668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
2683
2669
|
type: Injectable
|
|
2684
2670
|
}] });
|
|
2685
2671
|
|
|
@@ -2759,10 +2745,10 @@ function isNavigationCancelingError$1(error) {
|
|
|
2759
2745
|
* to this `EmptyOutletComponent`.
|
|
2760
2746
|
*/
|
|
2761
2747
|
class ɵEmptyOutletComponent {
|
|
2762
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
2763
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0
|
|
2748
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: ɵEmptyOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2749
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.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"] }] }); }
|
|
2764
2750
|
}
|
|
2765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
2751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: ɵEmptyOutletComponent, decorators: [{
|
|
2766
2752
|
type: Component,
|
|
2767
2753
|
args: [{
|
|
2768
2754
|
template: `<router-outlet></router-outlet>`,
|
|
@@ -4188,10 +4174,10 @@ class TitleStrategy {
|
|
|
4188
4174
|
getResolvedTitleForRoute(snapshot) {
|
|
4189
4175
|
return snapshot.data[RouteTitleKey];
|
|
4190
4176
|
}
|
|
4191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
4192
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
4177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4178
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TitleStrategy, providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }); }
|
|
4193
4179
|
}
|
|
4194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
4180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TitleStrategy, decorators: [{
|
|
4195
4181
|
type: Injectable,
|
|
4196
4182
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultTitleStrategy) }]
|
|
4197
4183
|
}] });
|
|
@@ -4214,10 +4200,10 @@ class DefaultTitleStrategy extends TitleStrategy {
|
|
|
4214
4200
|
this.title.setTitle(title);
|
|
4215
4201
|
}
|
|
4216
4202
|
}
|
|
4217
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
4218
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
4203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DefaultTitleStrategy, deps: [{ token: i1.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4204
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DefaultTitleStrategy, providedIn: 'root' }); }
|
|
4219
4205
|
}
|
|
4220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
4206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DefaultTitleStrategy, decorators: [{
|
|
4221
4207
|
type: Injectable,
|
|
4222
4208
|
args: [{ providedIn: 'root' }]
|
|
4223
4209
|
}], ctorParameters: () => [{ type: i1.Title }] });
|
|
@@ -4295,10 +4281,10 @@ class RouterConfigLoader {
|
|
|
4295
4281
|
this.childrenLoaders.set(route, loader);
|
|
4296
4282
|
return loader;
|
|
4297
4283
|
}
|
|
4298
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
4299
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
4284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterConfigLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4285
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterConfigLoader, providedIn: 'root' }); }
|
|
4300
4286
|
}
|
|
4301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
4287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterConfigLoader, decorators: [{
|
|
4302
4288
|
type: Injectable,
|
|
4303
4289
|
args: [{ providedIn: 'root' }]
|
|
4304
4290
|
}] });
|
|
@@ -4366,10 +4352,10 @@ function maybeUnwrapDefaultExport(input) {
|
|
|
4366
4352
|
* @publicApi
|
|
4367
4353
|
*/
|
|
4368
4354
|
class UrlHandlingStrategy {
|
|
4369
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
4370
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
4355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: UrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4356
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: UrlHandlingStrategy, providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }); }
|
|
4371
4357
|
}
|
|
4372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
4358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: UrlHandlingStrategy, decorators: [{
|
|
4373
4359
|
type: Injectable,
|
|
4374
4360
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultUrlHandlingStrategy) }]
|
|
4375
4361
|
}] });
|
|
@@ -4386,10 +4372,10 @@ class DefaultUrlHandlingStrategy {
|
|
|
4386
4372
|
merge(newUrlPart, wholeUrl) {
|
|
4387
4373
|
return newUrlPart;
|
|
4388
4374
|
}
|
|
4389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
4390
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
4375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DefaultUrlHandlingStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4376
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DefaultUrlHandlingStrategy, providedIn: 'root' }); }
|
|
4391
4377
|
}
|
|
4392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
4378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DefaultUrlHandlingStrategy, decorators: [{
|
|
4393
4379
|
type: Injectable,
|
|
4394
4380
|
args: [{ providedIn: 'root' }]
|
|
4395
4381
|
}] });
|
|
@@ -4812,10 +4798,10 @@ class NavigationTransitions {
|
|
|
4812
4798
|
return extractedBrowserUrl.toString() !== this.currentTransition?.extractedUrl.toString() &&
|
|
4813
4799
|
!this.currentTransition?.extras.skipLocationChange;
|
|
4814
4800
|
}
|
|
4815
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
4816
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
4801
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: NavigationTransitions, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4802
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: NavigationTransitions, providedIn: 'root' }); }
|
|
4817
4803
|
}
|
|
4818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
4804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: NavigationTransitions, decorators: [{
|
|
4819
4805
|
type: Injectable,
|
|
4820
4806
|
args: [{ providedIn: 'root' }]
|
|
4821
4807
|
}], ctorParameters: () => [] });
|
|
@@ -4831,10 +4817,10 @@ function isBrowserTriggeredNavigation(source) {
|
|
|
4831
4817
|
* @publicApi
|
|
4832
4818
|
*/
|
|
4833
4819
|
class RouteReuseStrategy {
|
|
4834
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
4835
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
4820
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouteReuseStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4821
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouteReuseStrategy, providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }); }
|
|
4836
4822
|
}
|
|
4837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
4823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouteReuseStrategy, decorators: [{
|
|
4838
4824
|
type: Injectable,
|
|
4839
4825
|
args: [{ providedIn: 'root', useFactory: () => inject(DefaultRouteReuseStrategy) }]
|
|
4840
4826
|
}] });
|
|
@@ -4885,19 +4871,19 @@ class BaseRouteReuseStrategy {
|
|
|
4885
4871
|
}
|
|
4886
4872
|
}
|
|
4887
4873
|
class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {
|
|
4888
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
4889
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
4874
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DefaultRouteReuseStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4875
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DefaultRouteReuseStrategy, providedIn: 'root' }); }
|
|
4890
4876
|
}
|
|
4891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
4877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: DefaultRouteReuseStrategy, decorators: [{
|
|
4892
4878
|
type: Injectable,
|
|
4893
4879
|
args: [{ providedIn: 'root' }]
|
|
4894
4880
|
}] });
|
|
4895
4881
|
|
|
4896
4882
|
class StateManager {
|
|
4897
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
4898
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
4883
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: StateManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4884
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: StateManager, providedIn: 'root', useFactory: () => inject(HistoryStateManager) }); }
|
|
4899
4885
|
}
|
|
4900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
4886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: StateManager, decorators: [{
|
|
4901
4887
|
type: Injectable,
|
|
4902
4888
|
args: [{ providedIn: 'root', useFactory: () => inject(HistoryStateManager) }]
|
|
4903
4889
|
}] });
|
|
@@ -5074,10 +5060,10 @@ class HistoryStateManager extends StateManager {
|
|
|
5074
5060
|
}
|
|
5075
5061
|
return { navigationId };
|
|
5076
5062
|
}
|
|
5077
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
5078
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
5063
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: HistoryStateManager, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5064
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: HistoryStateManager, providedIn: 'root' }); }
|
|
5079
5065
|
}
|
|
5080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
5066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: HistoryStateManager, decorators: [{
|
|
5081
5067
|
type: Injectable,
|
|
5082
5068
|
args: [{ providedIn: 'root' }]
|
|
5083
5069
|
}] });
|
|
@@ -5315,16 +5301,14 @@ class Router {
|
|
|
5315
5301
|
// Don't need to use Zone.wrap any more, because zone.js
|
|
5316
5302
|
// already patch onPopState, so location change callback will
|
|
5317
5303
|
// run into ngZone
|
|
5318
|
-
|
|
5319
|
-
this.
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
});
|
|
5327
|
-
}
|
|
5304
|
+
this.nonRouterCurrentEntryChangeSubscription ??=
|
|
5305
|
+
this.stateManager.registerNonRouterCurrentEntryChangeListener((url, state) => {
|
|
5306
|
+
// The `setTimeout` was added in #12160 and is likely to support Angular/AngularJS
|
|
5307
|
+
// hybrid apps.
|
|
5308
|
+
setTimeout(() => {
|
|
5309
|
+
this.navigateToSyncWithBrowser(url, 'popstate', state);
|
|
5310
|
+
}, 0);
|
|
5311
|
+
});
|
|
5328
5312
|
}
|
|
5329
5313
|
/**
|
|
5330
5314
|
* Schedules a router navigation to synchronize Router state with the browser state.
|
|
@@ -5651,10 +5635,10 @@ class Router {
|
|
|
5651
5635
|
return Promise.reject(e);
|
|
5652
5636
|
});
|
|
5653
5637
|
}
|
|
5654
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
5655
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
5638
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: Router, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5639
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: Router, providedIn: 'root' }); }
|
|
5656
5640
|
}
|
|
5657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
5641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: Router, decorators: [{
|
|
5658
5642
|
type: Injectable,
|
|
5659
5643
|
args: [{ providedIn: 'root' }]
|
|
5660
5644
|
}], ctorParameters: () => [] });
|
|
@@ -5926,10 +5910,10 @@ class RouterLink {
|
|
|
5926
5910
|
preserveFragment: this.preserveFragment,
|
|
5927
5911
|
});
|
|
5928
5912
|
}
|
|
5929
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
5930
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0
|
|
5913
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.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 }); }
|
|
5914
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0", type: RouterLink, isStandalone: true, selector: "[routerLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", state: "state", info: "info", 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 }); }
|
|
5931
5915
|
}
|
|
5932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
5916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterLink, decorators: [{
|
|
5933
5917
|
type: Directive,
|
|
5934
5918
|
args: [{
|
|
5935
5919
|
selector: '[routerLink]',
|
|
@@ -6154,10 +6138,10 @@ class RouterLinkActive {
|
|
|
6154
6138
|
const isActiveCheckFn = this.isLinkActive(this.router);
|
|
6155
6139
|
return this.link && isActiveCheckFn(this.link) || this.links.some(isActiveCheckFn);
|
|
6156
6140
|
}
|
|
6157
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
6158
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0
|
|
6141
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.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 }); }
|
|
6142
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.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 }); }
|
|
6159
6143
|
}
|
|
6160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
6144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterLinkActive, decorators: [{
|
|
6161
6145
|
type: Directive,
|
|
6162
6146
|
args: [{
|
|
6163
6147
|
selector: '[routerLinkActive]',
|
|
@@ -6209,10 +6193,10 @@ class PreloadAllModules {
|
|
|
6209
6193
|
preload(route, fn) {
|
|
6210
6194
|
return fn().pipe(catchError(() => of(null)));
|
|
6211
6195
|
}
|
|
6212
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
6213
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
6196
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: PreloadAllModules, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6197
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: PreloadAllModules, providedIn: 'root' }); }
|
|
6214
6198
|
}
|
|
6215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
6199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: PreloadAllModules, decorators: [{
|
|
6216
6200
|
type: Injectable,
|
|
6217
6201
|
args: [{ providedIn: 'root' }]
|
|
6218
6202
|
}] });
|
|
@@ -6229,10 +6213,10 @@ class NoPreloading {
|
|
|
6229
6213
|
preload(route, fn) {
|
|
6230
6214
|
return of(null);
|
|
6231
6215
|
}
|
|
6232
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
6233
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
6216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: NoPreloading, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6217
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: NoPreloading, providedIn: 'root' }); }
|
|
6234
6218
|
}
|
|
6235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
6219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: NoPreloading, decorators: [{
|
|
6236
6220
|
type: Injectable,
|
|
6237
6221
|
args: [{ providedIn: 'root' }]
|
|
6238
6222
|
}] });
|
|
@@ -6325,10 +6309,10 @@ class RouterPreloader {
|
|
|
6325
6309
|
}
|
|
6326
6310
|
});
|
|
6327
6311
|
}
|
|
6328
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
6329
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
6312
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterPreloader, deps: [{ token: Router }, { token: i0.Compiler }, { token: i0.EnvironmentInjector }, { token: PreloadingStrategy }, { token: RouterConfigLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6313
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterPreloader, providedIn: 'root' }); }
|
|
6330
6314
|
}
|
|
6331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
6315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterPreloader, decorators: [{
|
|
6332
6316
|
type: Injectable,
|
|
6333
6317
|
args: [{ providedIn: 'root' }]
|
|
6334
6318
|
}], ctorParameters: () => [{ type: Router }, { type: i0.Compiler }, { type: i0.EnvironmentInjector }, { type: PreloadingStrategy }, { type: RouterConfigLoader }] });
|
|
@@ -6347,8 +6331,8 @@ class RouterScroller {
|
|
|
6347
6331
|
this.restoredId = 0;
|
|
6348
6332
|
this.store = {};
|
|
6349
6333
|
// Default both options to 'disabled'
|
|
6350
|
-
options.scrollPositionRestoration
|
|
6351
|
-
options.anchorScrolling
|
|
6334
|
+
options.scrollPositionRestoration ||= 'disabled';
|
|
6335
|
+
options.anchorScrolling ||= 'disabled';
|
|
6352
6336
|
}
|
|
6353
6337
|
init() {
|
|
6354
6338
|
// we want to disable the automatic scrolling because having two places
|
|
@@ -6421,10 +6405,10 @@ class RouterScroller {
|
|
|
6421
6405
|
this.routerEventsSubscription?.unsubscribe();
|
|
6422
6406
|
this.scrollEventsSubscription?.unsubscribe();
|
|
6423
6407
|
}
|
|
6424
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
6425
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0
|
|
6408
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterScroller, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6409
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterScroller }); }
|
|
6426
6410
|
}
|
|
6427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
6411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterScroller, decorators: [{
|
|
6428
6412
|
type: Injectable
|
|
6429
6413
|
}], ctorParameters: () => [{ type: UrlSerializer }, { type: NavigationTransitions }, { type: i3.ViewportScroller }, { type: i0.NgZone }, { type: undefined }] });
|
|
6430
6414
|
|
|
@@ -7065,11 +7049,11 @@ class RouterModule {
|
|
|
7065
7049
|
providers: [{ provide: ROUTES, multi: true, useValue: routes }],
|
|
7066
7050
|
};
|
|
7067
7051
|
}
|
|
7068
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0
|
|
7069
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0
|
|
7070
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0
|
|
7052
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterModule, deps: [{ token: ROUTER_FORROOT_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7053
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: RouterModule, imports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent], exports: [RouterOutlet, RouterLink, RouterLinkActive, ɵEmptyOutletComponent] }); }
|
|
7054
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterModule }); }
|
|
7071
7055
|
}
|
|
7072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0
|
|
7056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RouterModule, decorators: [{
|
|
7073
7057
|
type: NgModule,
|
|
7074
7058
|
args: [{
|
|
7075
7059
|
imports: ROUTER_DIRECTIVES,
|
|
@@ -7214,7 +7198,7 @@ function mapToResolve(provider) {
|
|
|
7214
7198
|
/**
|
|
7215
7199
|
* @publicApi
|
|
7216
7200
|
*/
|
|
7217
|
-
const VERSION = new Version('17.1.0
|
|
7201
|
+
const VERSION = new Version('17.1.0');
|
|
7218
7202
|
|
|
7219
7203
|
/**
|
|
7220
7204
|
* @module
|