@ministryofjustice/hmpps-digital-prison-reporting-frontend
Version:
The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.
43 lines (42 loc) • 973 B
TypeScript
import PollingClientClass from '../../../DprStatusPolling';
declare class DprMyReports extends PollingClientClass {
private rows;
private listType;
private maxRows;
private removing;
static getModuleName(): string;
initialise(): void;
/**
* Polls each row in the list
*/
private pollAllReports;
/**
* Poll an individual row
*/
private pollRow;
/**
* Checks if all rows are terminal
*/
private allTerminal;
/**
* Setup the remove action
*/
private initRemoveAction;
/**
* Handles the removal of report items
* - reloads the full list dynamically without a page reload
*
* @private
* @param {HTMLFormElement} form
* @memberof DprMyReports
*/
private handleRemove;
/**
* Updates the totals count in the tabs
*
* @private
* @memberof DprMyReports
*/
private updateTabCount;
}
export default DprMyReports;