feat: implement file transfer functionality with multi-select, sorting, and directory traversal support

This commit is contained in:
2026-06-09 11:41:49 +01:00
parent 13848fb227
commit c0ab7acdf2
11 changed files with 466 additions and 35 deletions
+23
View File
@@ -60,6 +60,29 @@ export namespace explorer {
}
export namespace main {
export class TransferItem {
path: string;
name: string;
is_dir: boolean;
size: number;
static createFrom(source: any = {}) {
return new TransferItem(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.path = source["path"];
this.name = source["name"];
this.is_dir = source["is_dir"];
this.size = source["size"];
}
}
}
export namespace transfer {
export class Transfer {