@coolon/angular-ui-powerups 13.7.7 → 13.7.9
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/lib/place/place-router.mjs +7 -18
- package/fesm2015/coolon-angular-ui-powerups.mjs +5 -15
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +5 -15
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6964,7 +6964,7 @@ class PlaceRouter extends GarbageCollector {
|
|
|
6964
6964
|
}
|
|
6965
6965
|
}
|
|
6966
6966
|
navigateByUrl(urlSnapshot, navigationExtras) {
|
|
6967
|
-
console.log(`### navigationByUrl -> ${urlSnapshot.urlTree.toString()}`);
|
|
6967
|
+
// console.log(`### navigationByUrl -> ${urlSnapshot.urlTree.toString()}`);
|
|
6968
6968
|
return this.angularRouter.navigateByUrl(urlSnapshot.urlTree, navigationExtras);
|
|
6969
6969
|
}
|
|
6970
6970
|
get activeVisits$() {
|
|
@@ -7002,6 +7002,7 @@ class PlaceRouter extends GarbageCollector {
|
|
|
7002
7002
|
}
|
|
7003
7003
|
next.notifyActive();
|
|
7004
7004
|
}
|
|
7005
|
+
// @Trace()
|
|
7005
7006
|
routingSessionFinished(visits) {
|
|
7006
7007
|
if (visits && visits.length > 0) {
|
|
7007
7008
|
assert.isTruthy(this.navigationInProgress$.value);
|
|
@@ -7014,7 +7015,7 @@ class PlaceRouter extends GarbageCollector {
|
|
|
7014
7015
|
const session = this.currentSession;
|
|
7015
7016
|
session.dispose();
|
|
7016
7017
|
this.navigationSession$.value = null;
|
|
7017
|
-
console.log(`### Router Session Finished (was ${session.toString()})`);
|
|
7018
|
+
// console.log(`### Router Session Finished (was ${session.toString()})`);
|
|
7018
7019
|
this.sessionFinishedJobs.forEach(job => job());
|
|
7019
7020
|
this.sessionFinishedJobs = [];
|
|
7020
7021
|
}
|
|
@@ -7027,6 +7028,7 @@ class PlaceRouter extends GarbageCollector {
|
|
|
7027
7028
|
* to be able to capture the back button on the first page. If we don't then the back click will exit
|
|
7028
7029
|
* the app directly and we don't get to ask.
|
|
7029
7030
|
*/
|
|
7031
|
+
// @Trace()
|
|
7030
7032
|
syncInteractionContextIdsWithRouter(onSyncComplete = () => { }) {
|
|
7031
7033
|
if (this.navigationSession) {
|
|
7032
7034
|
// console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);
|
|
@@ -7063,24 +7065,12 @@ class PlaceRouter extends GarbageCollector {
|
|
|
7063
7065
|
}
|
|
7064
7066
|
PlaceRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: PlaceRouter, deps: [{ token: i1$b.Router }, { token: i4.Location }, { token: InteractionService }, { token: UrlService }, { token: PlaceHistory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7065
7067
|
PlaceRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: PlaceRouter, providedIn: "root" });
|
|
7066
|
-
__decorate([
|
|
7067
|
-
Trace(),
|
|
7068
|
-
__metadata("design:type", Function),
|
|
7069
|
-
__metadata("design:paramtypes", [Array]),
|
|
7070
|
-
__metadata("design:returntype", void 0)
|
|
7071
|
-
], PlaceRouter.prototype, "routingSessionFinished", null);
|
|
7072
|
-
__decorate([
|
|
7073
|
-
Trace(),
|
|
7074
|
-
__metadata("design:type", Function),
|
|
7075
|
-
__metadata("design:paramtypes", [Function]),
|
|
7076
|
-
__metadata("design:returntype", Promise)
|
|
7077
|
-
], PlaceRouter.prototype, "syncInteractionContextIdsWithRouter", null);
|
|
7078
7068
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: PlaceRouter, decorators: [{
|
|
7079
7069
|
type: Injectable,
|
|
7080
7070
|
args: [{
|
|
7081
7071
|
providedIn: "root"
|
|
7082
7072
|
}]
|
|
7083
|
-
}], ctorParameters: function () { return [{ type: i1$b.Router }, { type: i4.Location }, { type: InteractionService }, { type: UrlService }, { type: PlaceHistory }]; }
|
|
7073
|
+
}], ctorParameters: function () { return [{ type: i1$b.Router }, { type: i4.Location }, { type: InteractionService }, { type: UrlService }, { type: PlaceHistory }]; } });
|
|
7084
7074
|
(function (PlaceRouter) {
|
|
7085
7075
|
class State {
|
|
7086
7076
|
constructor(activeVisits) {
|