@tilde-nlp/ngx-common 6.1.95 → 6.1.96
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/esm2022/lib/multi-functional-table/models/multi-functional-table-config.model.mjs +1 -1
- package/esm2022/lib/multi-functional-table/multi-functional-table.component.mjs +65 -64
- package/fesm2022/tilde-nlp-ngx-common.mjs +64 -63
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/lib/multi-functional-table/models/multi-functional-table-config.model.d.ts +11 -11
- package/lib/multi-functional-table/multi-functional-table.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MatTableDataSource } from
|
|
2
|
-
import { BatchConfig } from
|
|
3
|
-
import { ColumnSelectConfig } from
|
|
4
|
-
import { ExportConfig } from
|
|
5
|
-
import { FilterConfig } from
|
|
6
|
-
import { StatusDisplayConfig } from
|
|
7
|
-
import { PaginatorConfig } from
|
|
1
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
2
|
+
import { BatchConfig } from './batch-config.model';
|
|
3
|
+
import { ColumnSelectConfig } from './column-select-config.model';
|
|
4
|
+
import { ExportConfig } from './export-config.model';
|
|
5
|
+
import { FilterConfig } from './filter-config.model';
|
|
6
|
+
import { StatusDisplayConfig } from '../../status-display/models/status-display-config.model';
|
|
7
|
+
import { PaginatorConfig } from './paginator-config.model';
|
|
8
8
|
/**
|
|
9
9
|
* Configuration for table with multiple predefined actoins against mat table.
|
|
10
10
|
*/
|
|
@@ -43,11 +43,11 @@ export interface MultiFunctionalTableConfig<T> {
|
|
|
43
43
|
/** Table pagination configuration. Disabled by default. */
|
|
44
44
|
paginator?: PaginatorConfig;
|
|
45
45
|
/**
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
* Callback function for row click.
|
|
47
|
+
*/
|
|
48
48
|
rowClickCallback?: (param: T) => void;
|
|
49
49
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
* Provide condition under which row clicking should be disabled.
|
|
51
|
+
*/
|
|
52
52
|
disableRowClick?: (param: T) => boolean;
|
|
53
53
|
}
|
|
@@ -112,5 +112,5 @@ export declare class MultiFunctionalTableComponent<T> implements OnInit, AfterCo
|
|
|
112
112
|
private updateDataSourceData;
|
|
113
113
|
private updatePaginator;
|
|
114
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiFunctionalTableComponent<any>, never>;
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiFunctionalTableComponent<any>, "tld-multi-functional-table", never, { "config": { "alias": "config"; "required": false; }; "highlightedElements": { "alias": "highlightedElements"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "highlightedErrorElements": { "alias": "highlightedErrorElements"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "isRowCheckboxAlwaysVisible": { "alias": "isRowCheckboxAlwaysVisible"; "required": false; }; "disablePreselectedItems": { "alias": "disablePreselectedItems"; "required": false; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "filterBarChange": "filterBarChange"; "paginatorUpdate": "paginatorUpdate"; "exported": "exported"; "selectionChange": "selectionChange"; }, ["noDataRow", "headerRowDefs", "rowDefs", "columnDefs"], ["[additionalActions]", "[batchActions]", "*"], false, never>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiFunctionalTableComponent<any>, "tld-multi-functional-table", never, { "config": { "alias": "config"; "required": false; }; "highlightedElements": { "alias": "highlightedElements"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "highlightedErrorElements": { "alias": "highlightedErrorElements"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "isRowCheckboxAlwaysVisible": { "alias": "isRowCheckboxAlwaysVisible"; "required": false; }; "disablePreselectedItems": { "alias": "disablePreselectedItems"; "required": false; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "filterBarChange": "filterBarChange"; "paginatorUpdate": "paginatorUpdate"; "exported": "exported"; "selectionChange": "selectionChange"; }, ["noDataRow", "headerRowDefs", "rowDefs", "columnDefs"], ["[tableTitleBlock]", "[additionalActions]", "[batchActions]", "*"], false, never>;
|
|
116
116
|
}
|