@tilde-nlp/ngx-common 2.0.20 → 2.0.21
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/esm2020/lib/filter-bar/filter-bar.component.mjs +3 -1
- package/esm2020/lib/multi-functional-table/multi-functional-table.component.mjs +8 -10
- package/esm2020/lib/pipes/sort-translations-by-property/sort-translations-by-property.pipe.mjs +3 -1
- package/fesm2015/tilde-nlp-ngx-common.mjs +12 -10
- package/fesm2015/tilde-nlp-ngx-common.mjs.map +1 -1
- package/fesm2020/tilde-nlp-ngx-common.mjs +11 -9
- package/fesm2020/tilde-nlp-ngx-common.mjs.map +1 -1
- package/lib/multi-functional-table/multi-functional-table.component.d.ts +3 -5
- package/package.json +1 -1
|
@@ -4,7 +4,6 @@ import { MatSort } from '@angular/material/sort';
|
|
|
4
4
|
import { MatColumnDef, MatHeaderRowDef, MatNoDataRow, MatRowDef, MatTable } from '@angular/material/table';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { FilterBarSettings } from '../filter-bar';
|
|
8
7
|
import { FilterBarChangeEvent } from '../filter-bar/models/filter-bar-change-event.model';
|
|
9
8
|
import { DOMService } from '../services';
|
|
10
9
|
import { NoDataRowConfig } from './models';
|
|
@@ -16,6 +15,7 @@ export declare class MultiFunctionalTableComponent<T> implements OnInit, AfterCo
|
|
|
16
15
|
private readonly translateService;
|
|
17
16
|
readonly matSelection: SelectionModel<T>;
|
|
18
17
|
config: MultiFunctionalTableConfig<T>;
|
|
18
|
+
filterEnabled: boolean;
|
|
19
19
|
highlightedElements: T[];
|
|
20
20
|
set selection(value: T[]);
|
|
21
21
|
filterBarChange: EventEmitter<FilterBarChangeEvent>;
|
|
@@ -34,9 +34,7 @@ export declare class MultiFunctionalTableComponent<T> implements OnInit, AfterCo
|
|
|
34
34
|
get filterActive(): boolean | undefined;
|
|
35
35
|
exportActive: boolean;
|
|
36
36
|
noDataRowActive: boolean;
|
|
37
|
-
filterEnabled: boolean;
|
|
38
37
|
filterBarVisible: boolean;
|
|
39
|
-
filterSettings: FilterBarSettings;
|
|
40
38
|
noDataRowConfig: NoDataRowConfig;
|
|
41
39
|
noDataRowIcon: string;
|
|
42
40
|
configurableColumns: ColumnConfig[];
|
|
@@ -60,9 +58,9 @@ export declare class MultiFunctionalTableComponent<T> implements OnInit, AfterCo
|
|
|
60
58
|
private updateLocalStorage;
|
|
61
59
|
private readFromLocalStorage;
|
|
62
60
|
private setColumnSelectProperties;
|
|
63
|
-
private
|
|
61
|
+
private setFilterVisibility;
|
|
64
62
|
private setNoDataRowProperties;
|
|
65
63
|
private setExportProperties;
|
|
66
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiFunctionalTableComponent<any>, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiFunctionalTableComponent<any>, "tld-multi-functional-table", never, { "config": "config"; "highlightedElements": "highlightedElements"; "selection": "selection"; }, { "filterBarChange": "filterBarChange"; "exported": "exported"; "selectionChange": "selectionChange"; }, ["noDataRow", "headerRowDefs", "rowDefs", "columnDefs"], ["[additionalActions]", "*"], false>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiFunctionalTableComponent<any>, "tld-multi-functional-table", never, { "config": "config"; "filterEnabled": "filterEnabled"; "highlightedElements": "highlightedElements"; "selection": "selection"; }, { "filterBarChange": "filterBarChange"; "exported": "exported"; "selectionChange": "selectionChange"; }, ["noDataRow", "headerRowDefs", "rowDefs", "columnDefs"], ["[additionalActions]", "*"], false>;
|
|
68
66
|
}
|