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.
- package/bundles/ng-inail-common.umd.js +4 -5
- package/bundles/ng-inail-common.umd.js.map +1 -1
- package/bundles/ng-inail-common.umd.min.js +1 -1
- package/bundles/ng-inail-common.umd.min.js.map +1 -1
- package/esm2015/lib/components/core/layout/inail-layout/inail-layout.component.js +2 -5
- package/esm2015/lib/components/core/table/table/table.component.js +4 -2
- package/fesm2015/ng-inail-common.js +4 -5
- package/fesm2015/ng-inail-common.js.map +1 -1
- package/ng-inail-common.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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
|
-
|
|
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;
|