@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.
- package/bundle.scss +6 -6
- package/bundles/datorama-core.umd.js +45 -17
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +38 -38
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +9 -1
- package/esm2015/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +14 -5
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +26 -12
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +9 -1
- package/esm5/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.js +15 -5
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +25 -14
- package/fesm2015/datorama-core.js +46 -16
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +46 -18
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/grid-v2/grid/grid-v2.types.d.ts +8 -0
- package/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.d.ts +1 -0
- package/lib/grid-v2/grid-controller/grid-controller.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
package/lib/grid-v2/grid-column-cell-components/grid-status-cell/grid-status-cell.component.d.ts
CHANGED
|
@@ -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;
|