@datorama/core 21.4.0-rc.10 → 21.4.0-rc.13

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.
@@ -50,7 +50,7 @@ export declare class DatoGridControllerComponent implements OnDestroy, AfterCont
50
50
  _initializeGrid(agGrid: AgGridNg2, agGridEl: HTMLElement): void;
51
51
  private normalizeOptions;
52
52
  setGridRows<T>(data: T[]): void;
53
- setColumnFilters(filters: DatoGridExternalFilter[]): void;
53
+ setGridFilters(filters: DatoGridExternalFilter[]): void;
54
54
  onFilterChanged(): Observable<DatoGridExternalFilter[]>;
55
55
  onSortChanged(): Observable<DatoGridSort>;
56
56
  private getGridIcons;
@@ -55,6 +55,7 @@ export declare type DatoGridFilterCondition = {
55
55
  value: StringOrNumber;
56
56
  };
57
57
  export declare type DatoGridFilter = {
58
+ colId?: string;
58
59
  byValue?: {
59
60
  condition: DatoFilterConditions.IN_LIST | DatoFilterConditions.NOT_IN_LIST;
60
61
  values: StringOrNumber[];
@@ -69,7 +70,6 @@ export declare type DatoGridConditionalFilter = {
69
70
  conditions: (DatoGridFilterCondition | DatoGridRangeFilterCondition)[];
70
71
  };
71
72
  export declare type DatoGridExternalFilter = {
72
- colId: string;
73
73
  field: string;
74
74
  filter: DatoGridFilter;
75
75
  pivotFieldsMap?: HashMap<string>;
@@ -81,7 +81,7 @@ export declare class GridService implements OnDestroy {
81
81
  clearAllFilters(): void;
82
82
  clearColumnFilter(columnField: string): void;
83
83
  setColumnFilter(column: Column, filter: DatoGridFilter, notifyGrid?: boolean): void;
84
- setExternalFilters(filters: DatoGridExternalFilter[]): void;
84
+ setGridFilters(filters: DatoGridExternalFilter[]): void;
85
85
  private updateFilter;
86
86
  setSearchTerm(searchTerm: string): void;
87
87
  setServerSidePagination(config: Partial<ServerSidePaginationConfig>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datorama/core",
3
- "version": "21.4.0-rc.10",
3
+ "version": "21.4.0-rc.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "8.2.14",
6
6
  "@angular/core": "8.2.14",