@coolon/angular-ui-powerups 0.0.107 → 0.0.108
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/coolon-angular-ui-powerups.umd.js +8 -4
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/esm2015/lib/place/guards/navigation-state.js +9 -5
- package/esm5/lib/place/guards/navigation-state.js +9 -5
- package/fesm2015/coolon-angular-ui-powerups.js +8 -4
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +8 -4
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/package.json +1 -1
|
@@ -4680,10 +4680,14 @@ if (false) {
|
|
|
4680
4680
|
*/
|
|
4681
4681
|
function (event) {
|
|
4682
4682
|
// Depending on the state of the router and what was done we get a different
|
|
4683
|
-
// sequence of events.
|
|
4684
|
-
// with the locationChangeTriggerUrl as the final event.
|
|
4685
|
-
//
|
|
4686
|
-
|
|
4683
|
+
// sequence of events.
|
|
4684
|
+
// If the navigation change was triggered by clicking a link we'll get a cancel with the locationChangeTriggerUrl as the final event.
|
|
4685
|
+
// If the navigation change was triggered with a pop state then we'll get an onPopState with the locationChangeTriggerUrl but no cancel event with it.
|
|
4686
|
+
if (this.gotPopStateWithLeavingUrl && this.interactionService.isActive()) {
|
|
4687
|
+
/** @type {?} */
|
|
4688
|
+
var interactionIds = this.interactionService.activeInteractionContextIds.value;
|
|
4689
|
+
this.resetBrowserLocation(this.placeRouter.parseUrl(this.startingUrl).updateInteractionIds(interactionIds).url);
|
|
4690
|
+
}
|
|
4687
4691
|
return this.gotPopStateWithLeavingUrl || this.locationChangeTriggerUrl === event.url ? this.createIdleState() : this.ignore(event);
|
|
4688
4692
|
};
|
|
4689
4693
|
/**
|