From 281985827c10f37d64abb9d26c6ffa4627f41720 Mon Sep 17 00:00:00 2001 From: wvffle Date: Mon, 28 Nov 2022 12:53:30 +0000 Subject: [PATCH] WIP: Rewrite file uploading --- front/src/components/library/FileUpload.vue | 366 +++----------------- front/src/composables/files/imports.ts | 65 ++++ front/src/composables/files/upload.ts | 93 +++++ front/src/init/axios.ts | 4 + front/src/router/routes/library.ts | 5 +- front/src/store/ui.ts | 2 +- front/src/views/content/libraries/Quota.vue | 2 +- front/src/views/library/Upload.vue | 6 +- 8 files changed, 221 insertions(+), 322 deletions(-) create mode 100644 front/src/composables/files/imports.ts create mode 100644 front/src/composables/files/upload.ts diff --git a/front/src/components/library/FileUpload.vue b/front/src/components/library/FileUpload.vue index d8635b8d7..c61a2ec9f 100644 --- a/front/src/components/library/FileUpload.vue +++ b/front/src/components/library/FileUpload.vue @@ -1,43 +1,26 @@