From 6f059c78b89c89132fda28554928fc9d18919fdb Mon Sep 17 00:00:00 2001 From: arabcoders Date: Thu, 24 Jul 2025 18:51:12 +0300 Subject: [PATCH 1/2] nuxt4 migration --- ui/{ => app}/assets/css/all.css | 0 ui/{ => app}/assets/css/bulma-switch.css | 0 ui/{ => app}/assets/css/bulma.css | 0 ui/{ => app}/assets/css/style.css | 0 .../webfonts/JetBrainsMono-Regular.woff2 | Bin .../assets/webfonts/fa-brands-400.ttf | Bin .../assets/webfonts/fa-brands-400.woff2 | Bin .../assets/webfonts/fa-regular-400.ttf | Bin .../assets/webfonts/fa-regular-400.woff2 | Bin ui/{ => app}/assets/webfonts/fa-solid-900.ttf | Bin .../assets/webfonts/fa-solid-900.woff2 | Bin .../assets/webfonts/fa-v4compatibility.ttf | Bin .../assets/webfonts/fa-v4compatibility.woff2 | Bin ui/{ => app}/components/ConditionForm.vue | 2 - ui/{ => app}/components/ConfirmDialog.vue | 0 ui/{ => app}/components/Dropdown.vue | 2 - ui/{ => app}/components/EmbedPlayer.vue | 0 ui/{ => app}/components/FloatingImage.vue | 13 ++- ui/{ => app}/components/GetInfo.vue | 3 - ui/{ => app}/components/History.vue | 4 - ui/{ => app}/components/ImageView.vue | 2 - ui/{ => app}/components/LateLoader.vue | 1 - ui/{ => app}/components/Message.vue | 0 ui/{ => app}/components/Modal.vue | 0 ui/{ => app}/components/NewDownload.vue | 1 - ui/{ => app}/components/NotificationForm.vue | 1 - ui/{ => app}/components/NotifyDropdown.vue | 0 ui/{ => app}/components/PresetForm.vue | 1 - ui/{ => app}/components/Queue.vue | 2 - ui/{ => app}/components/Settings.vue | 1 - ui/{ => app}/components/TaskForm.vue | 1 - ui/{ => app}/components/VideoPlayer.vue | 1 - ui/{ => app}/composables/useConfirm.ts | 0 ui/{ => app}/composables/useNotification.ts | 0 ui/{ => app}/layouts/default.vue | 3 + ui/{ => app}/layouts/empty.vue | 0 ui/{ => app}/layouts/errorLayout.vue | 0 ui/{ => app}/pages/browser/[...slug].vue | 1 - ui/{ => app}/pages/changelog.vue | 0 ui/{ => app}/pages/conditions.vue | 2 - ui/{ => app}/pages/console.vue | 0 ui/{ => app}/pages/index.vue | 1 - ui/{ => app}/pages/logs.vue | 2 - ui/{ => app}/pages/notifications.vue | 3 - ui/{ => app}/pages/presets.vue | 2 - ui/{ => app}/pages/tasks.vue | 16 ++-- ui/app/plugins/autoscroll.ts | 38 +++++++++ ui/app/plugins/rtime.ts | 54 +++++++++++++ ui/app/plugins/toast.ts | 12 +++ ui/{ => app}/stores/ConfigStore.ts | 1 + ui/{ => app}/stores/NotificationStore.ts | 0 ui/{ => app}/stores/SocketStore.ts | 6 +- ui/{ => app}/stores/StateStore.ts | 14 ++-- ui/{ => app}/types/changelogs.d.ts | 0 ui/{ => app}/types/conditions.d.ts | 0 ui/{ => app}/types/config.d.ts | 0 ui/{ => app}/types/globals.d.ts | 0 ui/{ => app}/types/item.d.ts | 0 ui/{ => app}/types/logs.ts | 0 ui/{ => app}/types/responses.d.ts | 0 ui/{ => app}/types/sockets.d.ts | 0 ui/{ => app}/types/store.d.ts | 0 ui/{ => app}/types/tasks.ts | 0 ui/{ => app}/utils/cache.ts | 0 ui/{ => app}/utils/embedable.ts | 0 ui/{ => app}/utils/index.ts | 74 +++++++++++++++--- ui/{ => app}/utils/ytdlp.ts | 0 ui/nuxt.config.ts | 6 +- ui/plugins/autoscroll.js | 33 -------- ui/plugins/rtime.js | 49 ------------ ui/plugins/toast.js | 9 --- ui/tsconfig.json | 2 +- ui/utils/awaiter.ts | 34 -------- ui/utils/importer.ts | 21 ----- 74 files changed, 200 insertions(+), 218 deletions(-) rename ui/{ => app}/assets/css/all.css (100%) rename ui/{ => app}/assets/css/bulma-switch.css (100%) rename ui/{ => app}/assets/css/bulma.css (100%) rename ui/{ => app}/assets/css/style.css (100%) rename ui/{ => app}/assets/webfonts/JetBrainsMono-Regular.woff2 (100%) rename ui/{ => app}/assets/webfonts/fa-brands-400.ttf (100%) rename ui/{ => app}/assets/webfonts/fa-brands-400.woff2 (100%) rename ui/{ => app}/assets/webfonts/fa-regular-400.ttf (100%) rename ui/{ => app}/assets/webfonts/fa-regular-400.woff2 (100%) rename ui/{ => app}/assets/webfonts/fa-solid-900.ttf (100%) rename ui/{ => app}/assets/webfonts/fa-solid-900.woff2 (100%) rename ui/{ => app}/assets/webfonts/fa-v4compatibility.ttf (100%) rename ui/{ => app}/assets/webfonts/fa-v4compatibility.woff2 (100%) rename ui/{ => app}/components/ConditionForm.vue (99%) rename ui/{ => app}/components/ConfirmDialog.vue (100%) rename ui/{ => app}/components/Dropdown.vue (97%) rename ui/{ => app}/components/EmbedPlayer.vue (100%) rename ui/{ => app}/components/FloatingImage.vue (93%) rename ui/{ => app}/components/GetInfo.vue (96%) rename ui/{ => app}/components/History.vue (99%) rename ui/{ => app}/components/ImageView.vue (97%) rename ui/{ => app}/components/LateLoader.vue (97%) rename ui/{ => app}/components/Message.vue (100%) rename ui/{ => app}/components/Modal.vue (100%) rename ui/{ => app}/components/NewDownload.vue (99%) rename ui/{ => app}/components/NotificationForm.vue (99%) rename ui/{ => app}/components/NotifyDropdown.vue (100%) rename ui/{ => app}/components/PresetForm.vue (99%) rename ui/{ => app}/components/Queue.vue (99%) rename ui/{ => app}/components/Settings.vue (99%) rename ui/{ => app}/components/TaskForm.vue (99%) rename ui/{ => app}/components/VideoPlayer.vue (99%) rename ui/{ => app}/composables/useConfirm.ts (100%) rename ui/{ => app}/composables/useNotification.ts (100%) rename ui/{ => app}/layouts/default.vue (99%) rename ui/{ => app}/layouts/empty.vue (100%) rename ui/{ => app}/layouts/errorLayout.vue (100%) rename ui/{ => app}/pages/browser/[...slug].vue (99%) rename ui/{ => app}/pages/changelog.vue (100%) rename ui/{ => app}/pages/conditions.vue (99%) rename ui/{ => app}/pages/console.vue (100%) rename ui/{ => app}/pages/index.vue (99%) rename ui/{ => app}/pages/logs.vue (98%) rename ui/{ => app}/pages/notifications.vue (99%) rename ui/{ => app}/pages/presets.vue (99%) rename ui/{ => app}/pages/tasks.vue (98%) create mode 100644 ui/app/plugins/autoscroll.ts create mode 100644 ui/app/plugins/rtime.ts create mode 100644 ui/app/plugins/toast.ts rename ui/{ => app}/stores/ConfigStore.ts (99%) rename ui/{ => app}/stores/NotificationStore.ts (100%) rename ui/{ => app}/stores/SocketStore.ts (97%) rename ui/{ => app}/stores/StateStore.ts (70%) rename ui/{ => app}/types/changelogs.d.ts (100%) rename ui/{ => app}/types/conditions.d.ts (100%) rename ui/{ => app}/types/config.d.ts (100%) rename ui/{ => app}/types/globals.d.ts (100%) rename ui/{ => app}/types/item.d.ts (100%) rename ui/{ => app}/types/logs.ts (100%) rename ui/{ => app}/types/responses.d.ts (100%) rename ui/{ => app}/types/sockets.d.ts (100%) rename ui/{ => app}/types/store.d.ts (100%) rename ui/{ => app}/types/tasks.ts (100%) rename ui/{ => app}/utils/cache.ts (100%) rename ui/{ => app}/utils/embedable.ts (100%) rename ui/{ => app}/utils/index.ts (89%) rename ui/{ => app}/utils/ytdlp.ts (100%) delete mode 100644 ui/plugins/autoscroll.js delete mode 100644 ui/plugins/rtime.js delete mode 100644 ui/plugins/toast.js delete mode 100644 ui/utils/awaiter.ts delete mode 100644 ui/utils/importer.ts diff --git a/ui/assets/css/all.css b/ui/app/assets/css/all.css similarity index 100% rename from ui/assets/css/all.css rename to ui/app/assets/css/all.css diff --git a/ui/assets/css/bulma-switch.css b/ui/app/assets/css/bulma-switch.css similarity index 100% rename from ui/assets/css/bulma-switch.css rename to ui/app/assets/css/bulma-switch.css diff --git a/ui/assets/css/bulma.css b/ui/app/assets/css/bulma.css similarity index 100% rename from ui/assets/css/bulma.css rename to ui/app/assets/css/bulma.css diff --git a/ui/assets/css/style.css b/ui/app/assets/css/style.css similarity index 100% rename from ui/assets/css/style.css rename to ui/app/assets/css/style.css diff --git a/ui/assets/webfonts/JetBrainsMono-Regular.woff2 b/ui/app/assets/webfonts/JetBrainsMono-Regular.woff2 similarity index 100% rename from ui/assets/webfonts/JetBrainsMono-Regular.woff2 rename to ui/app/assets/webfonts/JetBrainsMono-Regular.woff2 diff --git a/ui/assets/webfonts/fa-brands-400.ttf b/ui/app/assets/webfonts/fa-brands-400.ttf similarity index 100% rename from ui/assets/webfonts/fa-brands-400.ttf rename to ui/app/assets/webfonts/fa-brands-400.ttf diff --git a/ui/assets/webfonts/fa-brands-400.woff2 b/ui/app/assets/webfonts/fa-brands-400.woff2 similarity index 100% rename from ui/assets/webfonts/fa-brands-400.woff2 rename to ui/app/assets/webfonts/fa-brands-400.woff2 diff --git a/ui/assets/webfonts/fa-regular-400.ttf b/ui/app/assets/webfonts/fa-regular-400.ttf similarity index 100% rename from ui/assets/webfonts/fa-regular-400.ttf rename to ui/app/assets/webfonts/fa-regular-400.ttf diff --git a/ui/assets/webfonts/fa-regular-400.woff2 b/ui/app/assets/webfonts/fa-regular-400.woff2 similarity index 100% rename from ui/assets/webfonts/fa-regular-400.woff2 rename to ui/app/assets/webfonts/fa-regular-400.woff2 diff --git a/ui/assets/webfonts/fa-solid-900.ttf b/ui/app/assets/webfonts/fa-solid-900.ttf similarity index 100% rename from ui/assets/webfonts/fa-solid-900.ttf rename to ui/app/assets/webfonts/fa-solid-900.ttf diff --git a/ui/assets/webfonts/fa-solid-900.woff2 b/ui/app/assets/webfonts/fa-solid-900.woff2 similarity index 100% rename from ui/assets/webfonts/fa-solid-900.woff2 rename to ui/app/assets/webfonts/fa-solid-900.woff2 diff --git a/ui/assets/webfonts/fa-v4compatibility.ttf b/ui/app/assets/webfonts/fa-v4compatibility.ttf similarity index 100% rename from ui/assets/webfonts/fa-v4compatibility.ttf rename to ui/app/assets/webfonts/fa-v4compatibility.ttf diff --git a/ui/assets/webfonts/fa-v4compatibility.woff2 b/ui/app/assets/webfonts/fa-v4compatibility.woff2 similarity index 100% rename from ui/assets/webfonts/fa-v4compatibility.woff2 rename to ui/app/assets/webfonts/fa-v4compatibility.woff2 diff --git a/ui/components/ConditionForm.vue b/ui/app/components/ConditionForm.vue similarity index 99% rename from ui/components/ConditionForm.vue rename to ui/app/components/ConditionForm.vue index 83b23b5b..0993ce81 100644 --- a/ui/components/ConditionForm.vue +++ b/ui/app/components/ConditionForm.vue @@ -207,8 +207,6 @@