|
|
@ -3,18 +3,10 @@ import {File} from "../../../../../api/models/File";
|
|
|
|
import {ContextMenuComponent} from "../../app-common/context-menu/context-menu.component";
|
|
|
|
import {ContextMenuComponent} from "../../app-common/context-menu/context-menu.component";
|
|
|
|
import {FileService} from "../../../../services/file/file.service";
|
|
|
|
import {FileService} from "../../../../services/file/file.service";
|
|
|
|
import {LoggingService} from "../../../../services/logging/logging.service";
|
|
|
|
import {LoggingService} from "../../../../services/logging/logging.service";
|
|
|
|
import {MatDialog, MatDialogRef} from "@angular/material/dialog";
|
|
|
|
import {MatDialog} from "@angular/material/dialog";
|
|
|
|
import {BusyDialogComponent} from "../../app-common/busy-dialog/busy-dialog.component";
|
|
|
|
|
|
|
|
import {BehaviorSubject} from "rxjs";
|
|
|
|
|
|
|
|
import {FileActionBaseComponent} from "../../app-base/file-action-base/file-action-base.component";
|
|
|
|
import {FileActionBaseComponent} from "../../app-base/file-action-base/file-action-base.component";
|
|
|
|
import {FileStatus} from "../../../../../api/api-types/files";
|
|
|
|
import {FileStatus} from "../../../../../api/api-types/files";
|
|
|
|
|
|
|
|
|
|
|
|
type ProgressDialogContext = {
|
|
|
|
|
|
|
|
dialog: MatDialogRef<BusyDialogComponent>,
|
|
|
|
|
|
|
|
progress: BehaviorSubject<number>,
|
|
|
|
|
|
|
|
message: BehaviorSubject<string>,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
@Component({
|
|
|
|
selector: "app-file-context-menu",
|
|
|
|
selector: "app-file-context-menu",
|
|
|
|
templateUrl: "./file-context-menu.component.html",
|
|
|
|
templateUrl: "./file-context-menu.component.html",
|
|
|
|