@nettyapps/ntybase 21.1.23 → 21.1.25
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.
|
@@ -21,9 +21,9 @@ import * as i1$1 from '@ngx-translate/core';
|
|
|
21
21
|
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
22
22
|
import { Title } from '@angular/platform-browser';
|
|
23
23
|
import { Mutex } from 'async-mutex';
|
|
24
|
-
import { themeQuartz, StatusBarModule, ClipboardModule, ExcelExportModule, ColumnMenuModule, ContextMenuModule, CellSelectionModule, RowSelectionModule } from 'ag-grid-enterprise';
|
|
24
|
+
import { themeQuartz, StatusBarModule, ClipboardModule, ExcelExportModule, ColumnMenuModule, ContextMenuModule, CellSelectionModule, RowSelectionModule, SetFilterModule, MultiFilterModule } from 'ag-grid-enterprise';
|
|
25
25
|
import { toSignal } from '@angular/core/rxjs-interop';
|
|
26
|
-
import { ModuleRegistry, AllCommunityModule, ClientSideRowModelModule, HighlightChangesModule } from 'ag-grid-community';
|
|
26
|
+
import { ModuleRegistry, AllCommunityModule, ClientSideRowModelModule, HighlightChangesModule, TextFilterModule, NumberFilterModule, DateFilterModule } from 'ag-grid-community';
|
|
27
27
|
import * as i2$2 from '@angular/material/tooltip';
|
|
28
28
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
29
29
|
import * as i2$3 from '@angular/material/menu';
|
|
@@ -1425,6 +1425,7 @@ class NettyAgGridBase extends NettyAppsBase {
|
|
|
1425
1425
|
* @param hideWarning hide the warning message if no records found
|
|
1426
1426
|
*/
|
|
1427
1427
|
setData(data, hideWarning = false) {
|
|
1428
|
+
this.gridApi?.setGridOption("rowData", []);
|
|
1428
1429
|
this.recordList.set(data);
|
|
1429
1430
|
if (this.columnDefs() == null || this.columnDefs().length == 0) {
|
|
1430
1431
|
this.initAgGrid();
|
|
@@ -1934,7 +1935,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImpor
|
|
|
1934
1935
|
}] });
|
|
1935
1936
|
|
|
1936
1937
|
ModuleRegistry.registerModules([AllCommunityModule, StatusBarModule, ClientSideRowModelModule, ClipboardModule, ExcelExportModule, ColumnMenuModule,
|
|
1937
|
-
ContextMenuModule, CellSelectionModule, HighlightChangesModule, RowSelectionModule,]);
|
|
1938
|
+
ContextMenuModule, CellSelectionModule, HighlightChangesModule, RowSelectionModule, SetFilterModule, MultiFilterModule, TextFilterModule, NumberFilterModule, DateFilterModule]);
|
|
1938
1939
|
// AgGrid Dark Mode Row Style
|
|
1939
1940
|
class NettyAgGridListBase extends NettyAgGridBase {
|
|
1940
1941
|
// ********************************************
|