@seniorsistemas/angular-components 14.16.6 → 14.16.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/bundles/seniorsistemas-angular-components.umd.js +13 -2
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- 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/esm2015/components/token-list/token-list.component.js +3 -3
- package/esm5/components/table/frozen-position/frozen-position.directive.js +13 -2
- package/esm5/components/token-list/token-list.component.js +3 -3
- package/fesm2015/seniorsistemas-angular-components.js +13 -2
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +13 -2
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +2 -2
- 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) {
|
|
@@ -4470,8 +4481,8 @@
|
|
|
4470
4481
|
TokenListComponent = TokenListComponent_1 = __decorate([
|
|
4471
4482
|
core.Component({
|
|
4472
4483
|
selector: "s-token-list",
|
|
4473
|
-
template: "<div
|
|
4474
|
-
styles: ["
|
|
4484
|
+
template: "<div\n [id]=\"id\"\n class=\"token-list\">\n <ng-container *ngFor=\"let token of tokens\">\n <span\n [id]=\"token.id\"\n class=\"token\"\n [ngClass]=\"{ 'no-pointer-events': hidePointerEvents }\">\n <a\n [id]=\"(token.id || 'token') + '-label'\"\n class=\"token-label\"\n (click)=\"tokenSelected.next(token)\">\n {{ token.label }}\n </a>\n <span\n *ngIf=\"removableTokens\"\n [id]=\"token.id + '-remove'\"\n class=\"token-icon fa fa-fw fa-close\"\n (click)=\"tokenRemoved.next(token)\">\n </span>\n </span>\n </ng-container>\n</div>",
|
|
4485
|
+
styles: [".no-pointer-events{pointer-events:none}.token-list{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0 10px;text-transform:none}.token-list .token{-ms-flex-align:center;align-items:center;background-color:#ccc;border-radius:4px;color:#333;display:-ms-flexbox;display:flex;font:400 12px/150% \"Open Sans\",sans-serif;margin:2px 5px 0 0;max-width:100%;padding:2px 8px}.token-list .token-label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.token-list .token:focus,.token-list .token:hover{background-color:#e5eaea}.token-list .token a{text-decoration:none;color:#333}"]
|
|
4475
4486
|
})
|
|
4476
4487
|
], TokenListComponent);
|
|
4477
4488
|
return TokenListComponent;
|