@angular/router 13.2.0-next.1 → 13.2.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/esm2020/src/components/empty_outlet.mjs +3 -3
- package/esm2020/src/config.mjs +1 -1
- package/esm2020/src/directives/router_link.mjs +6 -6
- package/esm2020/src/directives/router_link_active.mjs +3 -3
- package/esm2020/src/directives/router_outlet.mjs +3 -3
- package/esm2020/src/operators/resolve_data.mjs +7 -4
- package/esm2020/src/router.mjs +3 -3
- package/esm2020/src/router_module.mjs +8 -9
- package/esm2020/src/router_preloader.mjs +3 -3
- package/esm2020/src/router_scroller.mjs +3 -3
- package/esm2020/src/url_tree.mjs +1 -1
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/router_testing_module.mjs +4 -4
- package/fesm2015/router.mjs +40 -38
- package/fesm2015/router.mjs.map +1 -1
- package/fesm2015/testing.mjs +6 -6
- package/fesm2015/upgrade.mjs +2 -2
- package/fesm2020/router.mjs +40 -38
- package/fesm2020/router.mjs.map +1 -1
- package/fesm2020/testing.mjs +6 -6
- package/fesm2020/upgrade.mjs +2 -2
- package/package.json +4 -4
- package/router.d.ts +6 -6
- package/testing/testing.d.ts +2 -2
- package/upgrade/upgrade.d.ts +2 -2
package/fesm2020/testing.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.2.0
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v13.2.0
|
|
3
|
+
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -93,9 +93,9 @@ class RouterTestingModule {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
RouterTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0
|
|
97
|
-
RouterTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0
|
|
98
|
-
RouterTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0
|
|
96
|
+
RouterTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: RouterTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
97
|
+
RouterTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: RouterTestingModule, exports: [RouterModule] });
|
|
98
|
+
RouterTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: RouterTestingModule, providers: [
|
|
99
99
|
ɵROUTER_PROVIDERS,
|
|
100
100
|
EXTRA_ROUTER_TESTING_PROVIDERS,
|
|
101
101
|
{ provide: Location, useClass: SpyLocation },
|
|
@@ -112,7 +112,7 @@ RouterTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
112
112
|
{ provide: PreloadingStrategy, useExisting: NoPreloading },
|
|
113
113
|
provideRoutes([]),
|
|
114
114
|
], imports: [RouterModule] });
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: RouterTestingModule, decorators: [{
|
|
116
116
|
type: NgModule,
|
|
117
117
|
args: [{
|
|
118
118
|
exports: [RouterModule],
|
package/fesm2020/upgrade.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/router",
|
|
3
|
-
"version": "13.2.0
|
|
3
|
+
"version": "13.2.0",
|
|
4
4
|
"description": "Angular - the routing library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"tslib": "^2.3.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/core": "13.2.0
|
|
28
|
-
"@angular/common": "13.2.0
|
|
29
|
-
"@angular/platform-browser": "13.2.0
|
|
27
|
+
"@angular/core": "13.2.0",
|
|
28
|
+
"@angular/common": "13.2.0",
|
|
29
|
+
"@angular/platform-browser": "13.2.0",
|
|
30
30
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
31
31
|
},
|
|
32
32
|
"ng-update": {
|
package/router.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.2.0
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v13.2.0
|
|
3
|
+
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -649,7 +649,7 @@ export declare function convertToParamMap(params: Params): ParamMap;
|
|
|
649
649
|
* @publicApi
|
|
650
650
|
*/
|
|
651
651
|
export declare type Data = {
|
|
652
|
-
[
|
|
652
|
+
[key: string | symbol]: any;
|
|
653
653
|
};
|
|
654
654
|
|
|
655
655
|
/**
|
|
@@ -1076,7 +1076,7 @@ export declare interface IsActiveMatchOptions {
|
|
|
1076
1076
|
*/
|
|
1077
1077
|
paths: 'exact' | 'subset';
|
|
1078
1078
|
/**
|
|
1079
|
-
* - 'exact'`: indicates that the `UrlTree` fragments must be equal.
|
|
1079
|
+
* - `'exact'`: indicates that the `UrlTree` fragments must be equal.
|
|
1080
1080
|
* - `'ignored'`: the fragments will not be compared when determining if a
|
|
1081
1081
|
* `UrlTree` is active.
|
|
1082
1082
|
*/
|
|
@@ -1623,7 +1623,7 @@ export declare interface Resolve<T> {
|
|
|
1623
1623
|
* @publicApi
|
|
1624
1624
|
*/
|
|
1625
1625
|
export declare type ResolveData = {
|
|
1626
|
-
[
|
|
1626
|
+
[key: string | symbol]: any;
|
|
1627
1627
|
};
|
|
1628
1628
|
|
|
1629
1629
|
/**
|
|
@@ -1918,7 +1918,7 @@ export declare interface Route {
|
|
|
1918
1918
|
* matches a given path and stops when there is a config match. Importantly there must still be a
|
|
1919
1919
|
* config match for each segment of the URL. For example, '/team/11/user' matches the prefix
|
|
1920
1920
|
* 'team/:id' if one of the route's children matches the segment 'user'. That is, the URL
|
|
1921
|
-
* '/team/11/user
|
|
1921
|
+
* '/team/11/user' matches the config
|
|
1922
1922
|
* `{path: 'team/:id', children: [{path: ':user', component: User}]}`
|
|
1923
1923
|
* but does not match when there are no children as in `{path: 'team/:id', component: Team}`.
|
|
1924
1924
|
*
|
package/testing/testing.d.ts
CHANGED
package/upgrade/upgrade.d.ts
CHANGED