@kris701/ez-ui 1.4.8 → 1.4.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.
@@ -4954,7 +4954,7 @@ class EzUITable {
4954
4954
  <div class="ezui-table">
4955
4955
  <tui-loader [inheritColor]="true" [overlay]="true" size="xxl" [loading]="isLoading()">
4956
4956
  @if(values === null || values.length == 0){
4957
- @if(showAdd || showRefresh){
4957
+ @if(showAdd || showRefresh || actionsHeader){
4958
4958
  <div class="ezui-table-header">
4959
4959
  @if(showRefresh){
4960
4960
  <button tuiButton iconStart="rotate-cw" size="s" appearance="info" (click)="onLoadItems.emit()" tuiHint="Refresh the table"></button>
@@ -4962,6 +4962,9 @@ class EzUITable {
4962
4962
  @if(showAdd){
4963
4963
  <button tuiButton iconStart="plus" size="s" appearance="info" (click)="onAddItem.emit()" tuiHint="Add new item"></button>
4964
4964
  }
4965
+ @if(actionsHeader){
4966
+ <ng-container [ngTemplateOutlet]="actionsHeader"></ng-container>
4967
+ }
4965
4968
  </div>
4966
4969
  }
4967
4970
  @if(!isLoading()){
@@ -5114,7 +5117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
5114
5117
  <div class="ezui-table">
5115
5118
  <tui-loader [inheritColor]="true" [overlay]="true" size="xxl" [loading]="isLoading()">
5116
5119
  @if(values === null || values.length == 0){
5117
- @if(showAdd || showRefresh){
5120
+ @if(showAdd || showRefresh || actionsHeader){
5118
5121
  <div class="ezui-table-header">
5119
5122
  @if(showRefresh){
5120
5123
  <button tuiButton iconStart="rotate-cw" size="s" appearance="info" (click)="onLoadItems.emit()" tuiHint="Refresh the table"></button>
@@ -5122,6 +5125,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
5122
5125
  @if(showAdd){
5123
5126
  <button tuiButton iconStart="plus" size="s" appearance="info" (click)="onAddItem.emit()" tuiHint="Add new item"></button>
5124
5127
  }
5128
+ @if(actionsHeader){
5129
+ <ng-container [ngTemplateOutlet]="actionsHeader"></ng-container>
5130
+ }
5125
5131
  </div>
5126
5132
  }
5127
5133
  @if(!isLoading()){