@c10t/nice-component-library 0.0.7-beta → 0.0.9-beta
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.
|
@@ -9,7 +9,9 @@ export declare class CvaHeaderExpandButtonComponent implements OnInit {
|
|
|
9
9
|
expandHeaderButton?: ButtonModel;
|
|
10
10
|
columns: ColumnModel[];
|
|
11
11
|
moduleName: string;
|
|
12
|
-
onChange: EventEmitter<
|
|
12
|
+
onChange: EventEmitter<{
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}>;
|
|
13
15
|
expandDisplayCols: {
|
|
14
16
|
[key: string]: any;
|
|
15
17
|
};
|
|
@@ -28,7 +28,9 @@ export declare class CvaTableComponent implements OnInit, AfterViewChecked {
|
|
|
28
28
|
pagingChange: EventEmitter<TablePagingRequestModel>;
|
|
29
29
|
clickAction: EventEmitter<ButtonClickEvent>;
|
|
30
30
|
onRowClickAction: EventEmitter<ButtonClickEvent>;
|
|
31
|
-
onChangeDisplayColumn: EventEmitter<
|
|
31
|
+
onChangeDisplayColumn: EventEmitter<{
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>;
|
|
32
34
|
selectAllChecked: boolean;
|
|
33
35
|
goToPageNumber: number;
|
|
34
36
|
errorMsg: Map<string, () => string>;
|
|
@@ -2285,7 +2285,7 @@ class CvaHeaderExpandButtonComponent {
|
|
|
2285
2285
|
<mat-checkbox style="width: 100%"
|
|
2286
2286
|
[(ngModel)]="expandDisplayCols[col.columnDef]"
|
|
2287
2287
|
[value]="col.columnDef"
|
|
2288
|
-
(change)="this.onChange.emit()">
|
|
2288
|
+
(change)="this.onChange.emit(this.expandDisplayCols)">
|
|
2289
2289
|
{{ (moduleName + '.table.header.' + col.header) | translate }}
|
|
2290
2290
|
</mat-checkbox>
|
|
2291
2291
|
</ng-container>
|
|
@@ -2326,7 +2326,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
2326
2326
|
<mat-checkbox style="width: 100%"
|
|
2327
2327
|
[(ngModel)]="expandDisplayCols[col.columnDef]"
|
|
2328
2328
|
[value]="col.columnDef"
|
|
2329
|
-
(change)="this.onChange.emit()">
|
|
2329
|
+
(change)="this.onChange.emit(this.expandDisplayCols)">
|
|
2330
2330
|
{{ (moduleName + '.table.header.' + col.header) | translate }}
|
|
2331
2331
|
</mat-checkbox>
|
|
2332
2332
|
</ng-container>
|
|
@@ -2538,7 +2538,7 @@ class CvaTableComponent {
|
|
|
2538
2538
|
<div class="table-responsive">
|
|
2539
2539
|
<ng-container *ngIf="!!expandHeaderButton">
|
|
2540
2540
|
<cva-header-expand-button [moduleName]="moduleName" [expandHeaderButton]="expandHeaderButton"
|
|
2541
|
-
[columns]="columns" (onChange)="this.onChangeDisplayColumn.emit(
|
|
2541
|
+
[columns]="columns" (onChange)="this.onChangeDisplayColumn.emit($event)">
|
|
2542
2542
|
</cva-header-expand-button>
|
|
2543
2543
|
</ng-container>
|
|
2544
2544
|
<table mat-table #table [dataSource]="results" class="mat-elevation-z8 cva-table">
|
|
@@ -2736,7 +2736,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
2736
2736
|
<div class="table-responsive">
|
|
2737
2737
|
<ng-container *ngIf="!!expandHeaderButton">
|
|
2738
2738
|
<cva-header-expand-button [moduleName]="moduleName" [expandHeaderButton]="expandHeaderButton"
|
|
2739
|
-
[columns]="columns" (onChange)="this.onChangeDisplayColumn.emit(
|
|
2739
|
+
[columns]="columns" (onChange)="this.onChangeDisplayColumn.emit($event)">
|
|
2740
2740
|
</cva-header-expand-button>
|
|
2741
2741
|
</ng-container>
|
|
2742
2742
|
<table mat-table #table [dataSource]="results" class="mat-elevation-z8 cva-table">
|