@eherve/angular-material-datatable 19.26.0 → 19.27.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.
@@ -49,6 +49,9 @@ export declare class NgxMatDatatableComponent<Record = any> implements OnInit, O
49
49
  paginationPageSize: number;
50
50
  paginationPageIndex: number;
51
51
  searchFormGroup: FormGroup;
52
+ protected searchControlNames: {
53
+ [columnDef: string]: string;
54
+ };
52
55
  private subscriptions;
53
56
  private changeDetectorRef;
54
57
  private defaultOptions;
@@ -104,6 +107,8 @@ export declare class NgxMatDatatableComponent<Record = any> implements OnInit, O
104
107
  private updateHasMoreRecordsState;
105
108
  private updateIncrementalRowState;
106
109
  private buildSearchFormGroup;
110
+ private getSearchValues;
111
+ private getSearchControlName;
107
112
  private consolidateOrderIndex;
108
113
  private applyConfig;
109
114
  private applyState;
@@ -27,7 +27,11 @@ type BaseColumn = {
27
27
  };
28
28
  tooltip?: string;
29
29
  align?: 'start' | 'center' | 'end';
30
- export?: (exportRow: any, value: any, row: any) => void;
30
+ /**
31
+ * Adds one or more values to an export row. It may resolve asynchronous data
32
+ * before the next column or row is processed.
33
+ */
34
+ export?: (exportRow: any, value: any, row: any) => void | Promise<void>;
31
35
  searchUpdated?: (value: any) => void;
32
36
  };
33
37
  export type DatatableComponentColumn = BaseColumn & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eherve/angular-material-datatable",
3
- "version": "19.26.0",
3
+ "version": "19.27.0",
4
4
  "author": "Eric Herve <eric.herve.95@gmail.com>",
5
5
  "repository": {
6
6
  "type": "git",