OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/app/components/wp-fast-table/wp-table.interfaces.ts

29 lines
714 B

import {WorkPackageResource} from '../api/api-v3/hal-resources/work-package-resource.service';
export interface WorkPackageTableRow {
object:WorkPackageResource;
workPackageId:string;
position:number;
element?:HTMLElement;
}
export interface WorkPackageTableRowsState {
[workPackageId:string]:WorkPackageTableRow;
}
export interface WorkPackageTableColumns {
selected: string[];
available: string[];
}
export interface WorkPackageTableGroupState {
[group: string]: boolean;
}
export interface WPTableRowSelectionState {
// Map of selected rows
selected: {[workPackageId: number]: boolean};
// Index of current selection
// required for shift-offsets
activeRowIndex: number | null;
}