33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
export declare enum EStatus {
|
|
executing = "Executing",
|
|
executed = "Executed",
|
|
execution_error = "Execution error"
|
|
}
|
|
export declare enum NewMenuOptions {
|
|
'Disabled' = "Disabled",
|
|
'Top' = "Top",
|
|
'Bottom' = "Bottom"
|
|
}
|
|
export declare abstract class ProgressBarUIBase {
|
|
protected htmlIdCrystoolsRoot: string;
|
|
protected htmlClassCrystoolsMonitorContainer: string;
|
|
protected htmlContainer: HTMLDivElement;
|
|
protected newMenu: NewMenuOptions;
|
|
protected constructor();
|
|
createRoot(): void;
|
|
abstract createDOM(): void;
|
|
}
|
|
export declare class ProgressBarUI extends ProgressBarUIBase {
|
|
private htmlIdCrystoolsProgressBarContainer;
|
|
private centerNode;
|
|
htmlProgressSliderRef: HTMLDivElement;
|
|
htmlProgressLabelRef: HTMLDivElement;
|
|
currentStatus: EStatus;
|
|
timeStart: number;
|
|
currentProgress: number;
|
|
constructor(htmlIdCrystoolsProgressBarContainer: string, centerNode: () => void);
|
|
createDOM: () => void;
|
|
refreshDisplay: () => void;
|
|
updateDisplay: (currentStatus: EStatus, timeStart: number, currentProgress: number) => void;
|
|
}
|