Houjie
2025-04-11 1bf977929dd324f3ac64b70debd8a79443c54392
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export type OnFileSelected = (file: File) => void;
export declare class FileSelectionUi {
    private readonly fileBasedScanRegion;
    private readonly fileScanInput;
    private readonly fileSelectionButton;
    private constructor();
    hide(): void;
    show(): void;
    isShowing(): boolean;
    resetValue(): void;
    private createFileBasedScanRegion;
    private fileBasedScanRegionDefaultBorder;
    private fileBasedScanRegionActiveBorder;
    private createDragAndDropMessage;
    private setImageNameToButton;
    private setInitialValueToButton;
    private getFileScanInputId;
    static create(parentElement: HTMLDivElement, showOnRender: boolean, onFileSelected: OnFileSelected): FileSelectionUi;
}