51 lines
510 B
JavaScript
51 lines
510 B
JavaScript
|
|
|
||
|
|
import files from "./fileChooser.files.js";
|
||
|
|
|
||
|
|
import selectButton from "./fileChooser.select.button.js";
|
||
|
|
|
||
|
|
export default class fileChooser{
|
||
|
|
|
||
|
|
//selector = "#application";
|
||
|
|
|
||
|
|
zIndex = 1000;
|
||
|
|
|
||
|
|
left = 0;
|
||
|
|
|
||
|
|
top = 0;
|
||
|
|
|
||
|
|
width = "100vw"
|
||
|
|
|
||
|
|
height = "100vh"
|
||
|
|
|
||
|
|
flexDirection = "column"
|
||
|
|
|
||
|
|
display = "none"
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
#ifdef LIGHT
|
||
|
|
|
||
|
|
background = "white"
|
||
|
|
|
||
|
|
#endif
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
files = new files();
|
||
|
|
|
||
|
|
selectButton = new selectButton();
|
||
|
|
|
||
|
|
open() {
|
||
|
|
|
||
|
|
this.files.open();
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
async create() {
|
||
|
|
|
||
|
|
this.hide();
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|