add selection of files to be exported

This commit is contained in:
marlon-erler
2026-08-30 00:03:16 +02:00
parent 7aee3742ba
commit 42110585f6
4 changed files with 751 additions and 604 deletions
File diff suppressed because it is too large Load Diff
+1
View File
@@ -109,6 +109,7 @@ const englishTranslations = {
exportHeadline: "Export Data",
importHeadline: "Import Data",
selectionDescription: "Select the data that you want to transfer.",
exportSelectionDescription: "Select the data that you want to export.",
dataEntryDescription: "Enter this data on the other device.",
dataEntryInputDescription:
"Enter the data displayed on the other device.",
@@ -157,12 +157,16 @@ export default class FileTransferViewModel extends Context {
this.presentedModal.value = FileTransferModals.TransferDataInput;
};
showExportSelectionModal = (): void => {
this.presentedModal.value = FileTransferModals.ExportFileSelection;
};
showExportModal = (): void => {
this.presentedModal.value = FileTransferModals.ExportModal;
this.presentedModal.value = FileTransferModals.Export;
};
showImportModal = (): void => {
this.presentedModal.value = FileTransferModals.ImportModal;
this.presentedModal.value = FileTransferModals.Import;
};
prepareReceivingData = (): void => {
@@ -223,6 +227,7 @@ export enum FileTransferModals {
ReceptionDisplay,
// export
ExportModal,
ImportModal,
ExportFileSelection,
Export,
Import,
}