@datorama/core 22.2.2 → 22.2.4

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.
@@ -103,7 +103,8 @@ export declare type DatoGridSortDirection = 'asc' | 'desc';
103
103
  export declare type DatoGridSort = {
104
104
  colId: string;
105
105
  sort: DatoGridSortDirection;
106
- colField?: string;
106
+ field?: string;
107
+ sortIndex?: number;
107
108
  };
108
109
  export declare type DatoGridServerSortDirection = 'ASC' | 'DESC';
109
110
  export declare type DatoGridServerSort = {
@@ -147,3 +148,7 @@ export declare type GridRowsSelectionData = {
147
148
  selectedPageRowsCount: number;
148
149
  isAllPageRowsSelected: boolean;
149
150
  };
151
+ export declare type GridChangeEvent = {
152
+ type: string;
153
+ data: RowNode[];
154
+ } & Partial<DatoGridSettings>;
@@ -52,8 +52,6 @@ export declare class DatoGridControllerComponent implements OnDestroy, AfterCont
52
52
  setGridRows<T>(data: T[]): void;
53
53
  setGridFilters(filters: DatoGridExternalFilter[]): void;
54
54
  setGridSort(sort: DatoGridSort): void;
55
- onFilterChanged(): Observable<DatoGridExternalFilter[]>;
56
- onSortChanged(): Observable<DatoGridSort>;
57
55
  private getGridIcons;
58
56
  private registerSettingsListeners;
59
57
  private listenToColumnResize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datorama/core",
3
- "version": "22.2.2",
3
+ "version": "22.2.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "8.2.14",
6
6
  "@angular/core": "8.2.14",