@seniorsistemas/angular-components 14.16.6 → 14.16.7
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/seniorsistemas-angular-components.umd.js +11 -0
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/table/frozen-position/frozen-position.directive.d.ts +5 -2
- package/esm2015/components/table/frozen-position/frozen-position.directive.js +13 -2
- package/esm5/components/table/frozen-position/frozen-position.directive.js +13 -2
- package/fesm2015/seniorsistemas-angular-components.js +11 -0
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +11 -0
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -3978,7 +3978,9 @@
|
|
|
3978
3978
|
this.el = el;
|
|
3979
3979
|
this.host = host;
|
|
3980
3980
|
this.sTableFrozenPosition = "left";
|
|
3981
|
+
this.isTableVisible = false;
|
|
3981
3982
|
this.onColumnsChanged = new core.EventEmitter();
|
|
3983
|
+
this.table = host;
|
|
3982
3984
|
this.host.onColResize.subscribe(function () {
|
|
3983
3985
|
_this.handleColResize();
|
|
3984
3986
|
});
|
|
@@ -4014,6 +4016,15 @@
|
|
|
4014
4016
|
this.applyStylesForTable();
|
|
4015
4017
|
this.setUpColumnMonitoring();
|
|
4016
4018
|
};
|
|
4019
|
+
TableFrozenPositionDirective.prototype.ngAfterContentChecked = function () {
|
|
4020
|
+
if (!this.isTableVisible && !!this.table.el.nativeElement.offsetParent) {
|
|
4021
|
+
this.isTableVisible = true;
|
|
4022
|
+
this.synchronizeRowHeight();
|
|
4023
|
+
}
|
|
4024
|
+
else if (this.isTableVisible && !this.table.el.nativeElement.offsetParent) {
|
|
4025
|
+
this.isTableVisible = false;
|
|
4026
|
+
}
|
|
4027
|
+
};
|
|
4017
4028
|
TableFrozenPositionDirective.prototype.ngOnDestroy = function () {
|
|
4018
4029
|
window.removeEventListener("resize", this.handleWindowResize.bind(this));
|
|
4019
4030
|
if (this.tableHeadObservable) {
|