@datorama/core 22.9.9-rc.3 → 22.9.10

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.
@@ -36,6 +36,7 @@ export declare type DatoGridCustomCellConfig = {
36
36
  initialsConfig?: DatoGridInitialsCellConfig;
37
37
  getIsVisible?: (data: any) => boolean;
38
38
  getItems?: (data: any) => string[];
39
+ status?: GridStatusColumnTypes;
39
40
  };
40
41
  export declare type DatoGridInitialsCellConfig = {
41
42
  firstNameField?: string;
@@ -159,3 +160,10 @@ export declare type GridChangeEvent = {
159
160
  filter: DatoGridExternalFilter[];
160
161
  sort: DatoGridSort;
161
162
  };
163
+ export declare enum GridStatusColumnTypes {
164
+ SUCCESS = "SUCCESS",
165
+ FAILURE = "FAILURE",
166
+ IN_PROGRESS = "IN_PROGRESS",
167
+ PENDING = "PENDING",
168
+ WAITING = "WAITING"
169
+ }
@@ -12,6 +12,7 @@ export declare class DatoGridStatusCellComponent implements ICellRendererAngular
12
12
  showSpinner: boolean;
13
13
  isGroup: boolean;
14
14
  isVisible: boolean;
15
+ private defaultConfigByStatus;
15
16
  constructor(cdr: ChangeDetectorRef);
16
17
  agInit(params: ICellRendererParams): void;
17
18
  private initCellData;
@@ -44,6 +44,7 @@ export declare class DatoGridControllerComponent implements OnDestroy, AfterCont
44
44
  private lastHoveredRow;
45
45
  private gridElements;
46
46
  private readonly treeGridClass;
47
+ private cellMouseOutTimer;
47
48
  constructor(gridService: GridService, gridQuery: GridQuery, cdr: ChangeDetectorRef, iconRegistry: IconRegistry, translate: DatoTranslateService, host: ElementRef, injector: Injector, resolver: ComponentFactoryResolver, hotkeys: DatoHotkeys, storageAPI: GridStorageAPI);
48
49
  ngOnDestroy(): void;
49
50
  ngAfterContentInit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datorama/core",
3
- "version": "22.9.9-rc.3",
3
+ "version": "22.9.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "8.2.14",
6
6
  "@angular/core": "8.2.14",