basesite-shared-grid-lib 15.10.21 → 15.10.22
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/grid-library.component.mjs +8 -12
- package/esm2020/lib/grid-library.service.mjs +5 -5
- package/fesm2015/basesite-shared-grid-lib.mjs +9 -12
- package/fesm2015/basesite-shared-grid-lib.mjs.map +1 -1
- package/fesm2020/basesite-shared-grid-lib.mjs +9 -12
- package/fesm2020/basesite-shared-grid-lib.mjs.map +1 -1
- package/lib/grid-library.component.d.ts +2 -5
- package/lib/grid-library.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { AgGridAngular } from 'ag-grid-angular';
|
|
4
3
|
import { ColDef, GetContextMenuItemsParams, GetRowIdFunc, GridReadyEvent, MenuItemDef, PaginationNumberFormatterParams, RowModelType } from 'ag-grid-community';
|
|
5
4
|
import { GridLibraryService } from './grid-library.service';
|
|
@@ -8,10 +7,8 @@ import { TokenSharingService } from './token-sharing.service';
|
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class GridLibraryComponent implements OnInit, OnDestroy {
|
|
10
9
|
private gridService;
|
|
11
|
-
private datePipe;
|
|
12
10
|
private formatterService;
|
|
13
11
|
private _tokenSharingService;
|
|
14
|
-
private cd;
|
|
15
12
|
columnDefs: any;
|
|
16
13
|
rowData: any;
|
|
17
14
|
pageSize: number;
|
|
@@ -40,7 +37,7 @@ export declare class GridLibraryComponent implements OnInit, OnDestroy {
|
|
|
40
37
|
gridPageSize: number;
|
|
41
38
|
private excelAPI;
|
|
42
39
|
private unsubscribe$;
|
|
43
|
-
constructor(gridService: GridLibraryService,
|
|
40
|
+
constructor(gridService: GridLibraryService, formatterService: ColumnValueFormatter, _tokenSharingService: TokenSharingService);
|
|
44
41
|
onSortChangedEvent(): void;
|
|
45
42
|
defaultColDef: ColDef;
|
|
46
43
|
ngOnInit(): void;
|
|
@@ -12,7 +12,7 @@ export declare class GridLibraryService {
|
|
|
12
12
|
getColDef(gridId: any): Observable<any>;
|
|
13
13
|
saveColumnConfig(columnConfig: any): Observable<any>;
|
|
14
14
|
getGridState(gridId: number, loggedInUserId: number): Observable<any>;
|
|
15
|
-
getRequestHeader(
|
|
15
|
+
getRequestHeader(): any;
|
|
16
16
|
getDataForExport(serverUrl: any): Observable<any>;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridLibraryService, never>;
|
|
18
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<GridLibraryService>;
|