@coolon/angular-ui-powerups 3.7.3 → 3.7.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [3.7.4](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.7.3...v3.7.4) (2021-02-01)
6
+
5
7
  ### [3.7.3](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.7.2...v3.7.3) (2021-01-28)
6
8
 
7
9
 
@@ -5525,14 +5525,14 @@
5525
5525
  // Important: I tried to perform this fix at a later point int he routing cycle but it created all kinds of
5526
5526
  // strangeness.
5527
5527
  pectin.Logger.get(this).info('WORK-AROUND: Updating browser location after pop state - see angular issue #13586');
5528
- console.log("replacing " + this.urlService.getCurrentLocationUrlSnapshot().url + " with " + poppedHistoryToReplace);
5528
+ // console.log(`replacing ${this.urlService.getCurrentLocationUrlSnapshot().url} with ${poppedHistoryToReplace}`);
5529
5529
  this.urlService.resetBrowserLocation(poppedHistoryToReplace, { replaceCurrent: true });
5530
- console.log("pushing " + activeUrl + " back onto the history.");
5530
+ // console.log(`pushing ${activeUrl} back onto the history.`);
5531
5531
  this.urlService.resetBrowserLocation(activeUrl, { replaceCurrent: false });
5532
5532
  };
5533
5533
  NavigationSession.prototype.ignore = function (event, reason) {
5534
5534
  reason = reason ? " -> " + reason : '';
5535
- pectin.Logger.get(this).info("Ignoring router event" + reason + ": " + event.constructor.name + " -> " + event.url + " :: " + this.toString());
5535
+ // Logger.get(this).info(`Ignoring router event${reason}: ${event.constructor.name} -> ${event.url} :: ${this.toString()}`);
5536
5536
  };
5537
5537
  NavigationSession.prototype.toString = function () {
5538
5538
  return this.constructor.name + "(" + this.debugState() + ")";
@@ -6590,6 +6590,7 @@
6590
6590
  enumerable: false,
6591
6591
  configurable: true
6592
6592
  });
6593
+ // @Trace()
6593
6594
  PlaceRouter.prototype.configureAuth = function (accessGrant, redirections) {
6594
6595
  // We need a shitty mutable model until setDelegate is clever enough to work with readonly models.
6595
6596
  var hackyMutableModel = new pectin.MutableValueModel();
@@ -6770,7 +6771,7 @@
6770
6771
  this.placeHistory.notifyNavigationStarted();
6771
6772
  }
6772
6773
  pectin.assert.isTruthy(next !== previous);
6773
- pectin.Logger.get(this).info("### Router State Transition: " + (previous ? previous.toString() : 'null') + " -> " + next.toString());
6774
+ // Logger.get(this).info(`### Router State Transition: ${previous ? previous.toString() : 'null'} -> ${next.toString()}`);
6774
6775
  this.navigationSessionModel.value = next;
6775
6776
  if (!!previous) {
6776
6777
  previous.dispose();
@@ -6790,7 +6791,7 @@
6790
6791
  var session = this.currentSession;
6791
6792
  session.dispose();
6792
6793
  this.navigationSessionModel.value = null;
6793
- console.log("### Router Session Finished (was " + session.toString() + ")");
6794
+ // console.log(`### Router Session Finished (was ${session.toString()})`);
6794
6795
  this.sessionFinishedJobs.forEach(function (job) { return job(); });
6795
6796
  this.sessionFinishedJobs = [];
6796
6797
  };
@@ -6847,12 +6848,6 @@
6847
6848
  { type: UrlService },
6848
6849
  { type: exports.PlaceHistory }
6849
6850
  ]; };
6850
- __decorate([
6851
- pectin.Trace(),
6852
- __metadata("design:type", Function),
6853
- __metadata("design:paramtypes", [pectin.ValueModel, Object]),
6854
- __metadata("design:returntype", void 0)
6855
- ], PlaceRouter.prototype, "configureAuth", null);
6856
6851
 
6857
6852
  var Visit = /** @class */ (function () {
6858
6853
  function Visit(placeDefinition, visitParameters) {
@@ -6918,7 +6913,7 @@
6918
6913
  };
6919
6914
  Visit.prototype.toDebugString = function () {
6920
6915
  var _this = this;
6921
- return Object.keys(this.visitParameters).map(function (k) { return k + "=" + _this.visitParameters[k]; }).join(",");
6916
+ return Object.keys(this.visitParameters).map(function (k) { return k + "=" + _this.visitParameters[k]; }).join(',');
6922
6917
  };
6923
6918
  return Visit;
6924
6919
  }());
@@ -7093,6 +7088,7 @@
7093
7088
  }
7094
7089
  }
7095
7090
  };
7091
+ // @Trace()
7096
7092
  PlaceOutletComponent.prototype.onOutletDeactivated = function () {
7097
7093
  this.outletActivated.value = false;
7098
7094
  this._activePlaceModel.value = null;
@@ -7195,12 +7191,6 @@
7195
7191
  pectin.StoreInListModel('customPlaceAnimationOrderModel'),
7196
7192
  __metadata("design:type", Array)
7197
7193
  ], PlaceOutletComponent.prototype, "customPlaceAnimationOrder", void 0);
7198
- __decorate([
7199
- pectin.Trace(),
7200
- __metadata("design:type", Function),
7201
- __metadata("design:paramtypes", []),
7202
- __metadata("design:returntype", void 0)
7203
- ], PlaceOutletComponent.prototype, "onOutletDeactivated", null);
7204
7194
 
7205
7195
  var AbstractPlaceNavigationComponent = /** @class */ (function (_super) {
7206
7196
  __extends(AbstractPlaceNavigationComponent, _super);