@angular/router 8.2.8 → 8.2.12
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/bundles/router-testing.umd.js +1 -1
- package/bundles/router-testing.umd.min.js +1 -1
- package/bundles/router-testing.umd.min.js.map +1 -1
- package/bundles/router-upgrade.umd.js +1 -1
- package/bundles/router-upgrade.umd.min.js +1 -1
- package/bundles/router-upgrade.umd.min.js.map +1 -1
- package/bundles/router.umd.js +8 -5
- package/bundles/router.umd.js.map +1 -1
- package/bundles/router.umd.min.js +2 -2
- package/bundles/router.umd.min.js.map +1 -1
- package/esm2015/router.externs.js +2 -2
- package/esm2015/src/config.js +11 -13
- package/esm2015/src/directives/router_outlet.js +6 -3
- package/esm2015/src/index.js +1 -1
- package/esm2015/src/interfaces.js +23 -22
- package/esm2015/src/router.js +3 -3
- package/esm2015/src/router_module.js +1 -1
- package/esm2015/src/version.js +1 -1
- package/esm5/src/config.js +1 -1
- package/esm5/src/directives/router_outlet.js +6 -3
- package/esm5/src/index.js +1 -1
- package/esm5/src/interfaces.js +1 -1
- package/esm5/src/router.js +2 -2
- package/esm5/src/router_module.js +1 -1
- package/esm5/src/version.js +1 -1
- package/fesm2015/router.js +19 -18
- package/fesm2015/router.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm2015/upgrade.js +1 -1
- package/fesm5/router.js +8 -5
- package/fesm5/router.js.map +1 -1
- package/fesm5/testing.js +1 -1
- package/fesm5/upgrade.js +1 -1
- package/package.json +4 -4
- package/router.d.ts +60 -58
- package/router.metadata.json +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
- package/upgrade/upgrade.d.ts +1 -1
- package/upgrade.d.ts +1 -1
package/fesm2015/testing.js
CHANGED
package/fesm2015/upgrade.js
CHANGED
package/fesm5/router.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v8.2.
|
|
2
|
+
* @license Angular v8.2.12
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -3755,7 +3755,7 @@ var Router = /** @class */ (function () {
|
|
|
3755
3755
|
this.paramsInheritanceStrategy = 'emptyOnly';
|
|
3756
3756
|
/**
|
|
3757
3757
|
* Determines when the router updates the browser URL.
|
|
3758
|
-
* By default (`"deferred"`),
|
|
3758
|
+
* By default (`"deferred"`), updates the browser URL after navigation has finished.
|
|
3759
3759
|
* Set to `'eager'` to update the browser URL at the beginning of navigation.
|
|
3760
3760
|
* You can choose to update early so that, if navigation fails,
|
|
3761
3761
|
* you can show an error message with the URL that failed.
|
|
@@ -4962,14 +4962,17 @@ var ChildrenOutletContexts = /** @class */ (function () {
|
|
|
4962
4962
|
*
|
|
4963
4963
|
* Acts as a placeholder that Angular dynamically fills based on the current router state.
|
|
4964
4964
|
*
|
|
4965
|
+
* Each outlet can have a unique name, determined by the optional `name` attribute.
|
|
4966
|
+
* The name cannot be set or changed dynamically. If not set, default value is "primary".
|
|
4967
|
+
*
|
|
4965
4968
|
* ```
|
|
4966
4969
|
* <router-outlet></router-outlet>
|
|
4967
4970
|
* <router-outlet name='left'></router-outlet>
|
|
4968
4971
|
* <router-outlet name='right'></router-outlet>
|
|
4969
4972
|
* ```
|
|
4970
4973
|
*
|
|
4971
|
-
* A router outlet
|
|
4972
|
-
* and a deactivate event when
|
|
4974
|
+
* A router outlet emits an activate event when a new component is instantiated,
|
|
4975
|
+
* and a deactivate event when a component is destroyed.
|
|
4973
4976
|
*
|
|
4974
4977
|
* ```
|
|
4975
4978
|
* <router-outlet
|
|
@@ -5712,7 +5715,7 @@ function provideRouterInitializer() {
|
|
|
5712
5715
|
/**
|
|
5713
5716
|
* @publicApi
|
|
5714
5717
|
*/
|
|
5715
|
-
var VERSION = new Version('8.2.
|
|
5718
|
+
var VERSION = new Version('8.2.12');
|
|
5716
5719
|
|
|
5717
5720
|
/**
|
|
5718
5721
|
* @license
|