21 lines
758 B
TypeScript
21 lines
758 B
TypeScript
export declare enum EStatus {
|
|
executing = "Executing",
|
|
executed = "Executed",
|
|
execution_error = "Execution error"
|
|
}
|
|
export declare class ProgressBarUI {
|
|
htmlIdCrystoolsRoot: string;
|
|
htmlIdCrystoolsProgressBarContainer: string;
|
|
private centerNode;
|
|
htmlProgressSliderRef: HTMLDivElement;
|
|
htmlProgressLabelRef: HTMLDivElement;
|
|
queueButtonElement: HTMLElement | null;
|
|
currentStatus: EStatus;
|
|
timeStart: number;
|
|
currentProgress: number;
|
|
constructor(htmlIdCrystoolsRoot: string, htmlIdCrystoolsProgressBarContainer: string, centerNode: () => void);
|
|
createVertical: () => void;
|
|
refreshDisplay: () => void;
|
|
updateDisplay: (currentStatus: EStatus, timeStart: number, currentProgress: number) => void;
|
|
}
|