From 71bf1c7e0db5eb52e5abb860a1993d3daeba308e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Micha=C5=82owski?= Date: Fri, 2 Aug 2024 12:42:04 +0200 Subject: [PATCH] fix(frontend): WiP migration --- frontend/package.json | 9 +- frontend/src/App.vue | 1 + .../src/assets/scss/gradido-template.scss | 30 +- frontend/src/assets/scss/gradido.scss | 1 + frontend/src/components/ContentFooter.vue | 36 +- .../src/components/GdtTransactionList.vue | 8 +- frontend/src/components/Inputs/InputEmail.vue | 11 +- .../src/components/Inputs/InputPassword.vue | 32 +- frontend/src/components/LanguageSwitch2.vue | 213 ++++++--- frontend/src/components/Menu/Sidebar.vue | 68 +-- .../src/components/Overview/CommunityNews.vue | 34 +- .../src/components/SessionLogoutTimeout.vue | 217 ++++++--- .../ContentHeader/CommunityMember.vue | 18 +- .../Template/ContentHeader/GddAmount.vue | 163 ++++--- .../Template/ContentHeader/GdtAmount.vue | 157 +++--- .../Template/RightSide/LastTransactions.vue | 30 +- .../src/components/TransactionRows/Name.vue | 4 +- frontend/src/composables/useToast.js | 49 ++ frontend/src/filters/amount.js | 2 +- frontend/src/layouts/AuthLayout.vue | 14 +- frontend/src/layouts/DashboardLayout.vue | 450 +++++++++++------- .../layouts/templates/CommunityTemplate.vue | 27 +- frontend/src/layouts/templates/RightSide.vue | 4 +- frontend/src/locales/de.json | 1 + frontend/src/locales/en.json | 1 + frontend/src/locales/es.json | 1 + frontend/src/locales/fr.json | 1 + frontend/src/locales/nl.json | 1 + frontend/src/locales/tr.json | 1 + frontend/src/main.js | 19 +- frontend/src/pages/InfoStatistic.vue | 12 +- frontend/src/pages/Login.vue | 86 ++-- frontend/src/pages/NotFoundPage.vue | 8 +- frontend/src/pages/Transactions.vue | 231 ++++++--- frontend/src/plugins/apolloProvider.js | 3 + frontend/src/store/store.js | 8 +- frontend/src/validation-rules.js | 428 +++++++++++------ frontend/vite.config.js | 10 +- frontend/yarn.lock | 270 ++++++++++- 39 files changed, 1771 insertions(+), 888 deletions(-) create mode 100644 frontend/src/composables/useToast.js diff --git a/frontend/package.json b/frontend/package.json index c0df24cf6..f17559caf 100755 --- a/frontend/package.json +++ b/frontend/package.json @@ -18,9 +18,11 @@ "@babel/core": "^7.13.13", "@babel/node": "^7.13.13", "@babel/preset-env": "^7.13.12", + "@vee-validate/i18n": "^4.13.2", "@vee-validate/rules": "^4.13.2", "@vee-validate/yup": "^4.13.2", "@vitejs/plugin-vue": "3.2.0", + "@vue/apollo-composable": "^4.0.2", "@vue/apollo-option": "^4.0.0", "@vue/compat": "^3.4.31", "@vue/test-utils": "^1.1.3", @@ -47,7 +49,8 @@ "express": "^4.17.1", "flatpickr": "^4.5.7", "flush-promises": "^1.0.2", - "graphql": "^15.5.1", + "graphql": "^16.9.0", + "graphql-tag": "^2.12.6", "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", "jest-canvas-mock": "^2.5.0", @@ -68,6 +71,7 @@ "vue-jest": "^3.0.7", "vue-loading-overlay": "^3.4.2", "vue-router": "^4.4.0", + "vue-timer-hook": "^1.0.84", "vue-timers": "^2.0.4", "vue2-transitions": "^0.2.3", "vuex": "^4.1.0", @@ -76,7 +80,9 @@ }, "devDependencies": { "@apollo/client": "^3.10.8", + "@iconify-json/bi": "^1.1.23", "@intlify/eslint-plugin-vue-i18n": "^1.4.0", + "@vue/compiler-sfc": "^3.4.35", "@vue/eslint-config-prettier": "^4.0.1", "babel-plugin-component": "^1.1.0", "babel-plugin-transform-require-context": "^0.1.1", @@ -90,6 +96,7 @@ "stylelint": "^14.5.3", "stylelint-config-recommended-vue": "^1.3.0", "stylelint-config-standard-scss": "^3.0.0", + "unplugin-icons": "^0.19.1", "unplugin-vue-components": "^0.27.3", "vue-html-webpack-plugin": "^3.2.2" }, diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 663c9e7d4..c3ef4ce14 100755 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,5 +1,6 @@