ng-inail-common 2.0.28 → 2.0.29-beta.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.
@@ -2256,12 +2256,9 @@
2256
2256
  }
2257
2257
  };
2258
2258
  InailLayoutComponent.prototype.ngOnChanges = function (changes) {
2259
- var _a;
2260
2259
  this.emitDebug('changes');
2261
2260
  this.emitDebug(changes);
2262
- if ((_a = changes === null || changes === void 0 ? void 0 : changes.infoDipendente) === null || _a === void 0 ? void 0 : _a.currentValue) {
2263
- this.cdr.detectChanges();
2264
- }
2261
+ this.cdr.detectChanges();
2265
2262
  };
2266
2263
  InailLayoutComponent.prototype.ngOnInit = function () {
2267
2264
  _super.prototype.ngOnInit.call(this);
@@ -5750,8 +5747,10 @@
5750
5747
  }
5751
5748
  };
5752
5749
  TableComponent.prototype.setSortDirection = function (thLabel, direction) {
5750
+ var _a, _b;
5753
5751
  if (thLabel) {
5754
- switch (direction) {
5752
+ var dir = (_b = (_a = direction === null || direction === void 0 ? void 0 : direction.toString()) === null || _a === void 0 ? void 0 : _a.trim()) === null || _b === void 0 ? void 0 : _b.toLowerCase();
5753
+ switch (dir) {
5755
5754
  case "asc":
5756
5755
  thLabel.direction = ThLabelComponent.ASC;
5757
5756
  break;