diff --git a/.eslintrc.js b/.eslintrc.js index e6ac97b1..5744a2ee 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -8,7 +8,6 @@ module.exports = { 'plugin:vue/vue3-essential' ], 'rules': { - 'vue/multi-word-component-names': 'off', 'vue/no-use-v-if-with-v-for': 'off' } } diff --git a/src/Desktop.vue b/src/DesktopApp.vue similarity index 100% rename from src/Desktop.vue rename to src/DesktopApp.vue diff --git a/src/Mobile.vue b/src/MobileApp.vue similarity index 100% rename from src/Mobile.vue rename to src/MobileApp.vue diff --git a/src/desktop-main.js b/src/desktop-main.js index 87eae606..96690e3a 100644 --- a/src/desktop-main.js +++ b/src/desktop-main.js @@ -1,6 +1,6 @@ import { createApp } from 'vue' -import App from './Desktop.vue'; +import App from './DesktopApp.vue'; const app = createApp(App); app.mount('#app'); diff --git a/src/mobile-main.js b/src/mobile-main.js index 993c624e..ff8daaef 100644 --- a/src/mobile-main.js +++ b/src/mobile-main.js @@ -139,7 +139,7 @@ import TransactionTagSelectionSheet from './components/mobile/TransactionTagSele import TextareaAutoSize from "./directives/mobile/textareaAutoSize.js"; -import App from './Mobile.vue'; +import App from './MobileApp.vue'; Framework7.use([ Framework7Dialog, diff --git a/src/router/mobile.js b/src/router/mobile.js index 109bbae0..614750a9 100644 --- a/src/router/mobile.js +++ b/src/router/mobile.js @@ -1,37 +1,37 @@ import userState from '../lib/userstate.js'; -import HomePage from '../views/mobile/Home.vue'; -import LoginPage from '../views/mobile/Login.vue'; -import SignUpPage from '../views/mobile/Signup.vue'; -import UnlockPage from '../views/mobile/Unlock.vue'; +import HomePage from '../views/mobile/HomePage.vue'; +import LoginPage from '../views/mobile/LoginPage.vue'; +import SignUpPage from '../views/mobile/SignupPage.vue'; +import UnlockPage from '../views/mobile/UnlockPage.vue'; -import TransactionListPage from '../views/mobile/transactions/List.vue'; -import TransactionEditPage from '../views/mobile/transactions/Edit.vue'; +import TransactionListPage from '../views/mobile/transactions/ListPage.vue'; +import TransactionEditPage from '../views/mobile/transactions/EditPage.vue'; -import AccountListPage from '../views/mobile/accounts/List.vue'; -import AccountEditPage from '../views/mobile/accounts/Edit.vue'; +import AccountListPage from '../views/mobile/accounts/ListPage.vue'; +import AccountEditPage from '../views/mobile/accounts/EditPage.vue'; -import StatisticsTransactionPage from '../views/mobile/statistics/Transaction.vue'; -import StatisticsSettingsPage from '../views/mobile/statistics/Settings.vue'; -import StatisticsAccountFilterSettingsPage from '../views/mobile/statistics/AccountFilterSettings.vue'; -import StatisticsCategoryFilterSettingsPage from '../views/mobile/statistics/CategoryFilterSettings.vue'; +import StatisticsTransactionPage from '../views/mobile/statistics/TransactionPage.vue'; +import StatisticsSettingsPage from '../views/mobile/statistics/SettingsPage.vue'; +import StatisticsAccountFilterSettingsPage from '../views/mobile/statistics/AccountFilterSettingsPage.vue'; +import StatisticsCategoryFilterSettingsPage from '../views/mobile/statistics/CategoryFilterSettingsPage.vue'; -import SettingsPage from '../views/mobile/Settings.vue'; -import ApplicationLockPage from '../views/mobile/ApplicationLock.vue'; -import ExchangeRatesPage from '../views/mobile/ExchangeRates.vue'; -import AboutPage from '../views/mobile/About.vue'; +import SettingsPage from '../views/mobile/SettingsPage.vue'; +import ApplicationLockPage from '../views/mobile/ApplicationLockPage.vue'; +import ExchangeRatesPage from '../views/mobile/ExchangeRatesPage.vue'; +import AboutPage from '../views/mobile/AboutPage.vue'; -import UserProfilePage from '../views/mobile/users/UserProfile.vue'; -import DataManagementPage from '../views/mobile/users/DataManagement.vue'; -import TwoFactorAuthPage from '../views/mobile/users/TwoFactorAuth.vue'; -import SessionListPage from '../views/mobile/users/SessionList.vue'; +import UserProfilePage from '../views/mobile/users/UserProfilePage.vue'; +import DataManagementPage from '../views/mobile/users/DataManagementPage.vue'; +import TwoFactorAuthPage from '../views/mobile/users/TwoFactorAuthPage.vue'; +import SessionListPage from '../views/mobile/users/SessionListPage.vue'; -import CategoryAllPage from '../views/mobile/categories/All.vue'; -import CategoryListPage from '../views/mobile/categories/List.vue'; -import CategoryEditPage from '../views/mobile/categories/Edit.vue'; -import CategoryPresetPage from '../views/mobile/categories/Preset.vue'; +import CategoryAllPage from '../views/mobile/categories/AllPage.vue'; +import CategoryListPage from '../views/mobile/categories/ListPage.vue'; +import CategoryEditPage from '../views/mobile/categories/EditPage.vue'; +import CategoryPresetPage from '../views/mobile/categories/PresetPage.vue'; -import TagListPage from '../views/mobile/tags/List.vue'; +import TagListPage from '../views/mobile/tags/ListPage.vue'; function asyncResolve(component) { return function({ resolve }) { diff --git a/src/views/mobile/About.vue b/src/views/mobile/AboutPage.vue similarity index 100% rename from src/views/mobile/About.vue rename to src/views/mobile/AboutPage.vue diff --git a/src/views/mobile/ApplicationLock.vue b/src/views/mobile/ApplicationLockPage.vue similarity index 100% rename from src/views/mobile/ApplicationLock.vue rename to src/views/mobile/ApplicationLockPage.vue diff --git a/src/views/mobile/ExchangeRates.vue b/src/views/mobile/ExchangeRatesPage.vue similarity index 100% rename from src/views/mobile/ExchangeRates.vue rename to src/views/mobile/ExchangeRatesPage.vue diff --git a/src/views/mobile/Home.vue b/src/views/mobile/HomePage.vue similarity index 100% rename from src/views/mobile/Home.vue rename to src/views/mobile/HomePage.vue diff --git a/src/views/mobile/Login.vue b/src/views/mobile/LoginPage.vue similarity index 100% rename from src/views/mobile/Login.vue rename to src/views/mobile/LoginPage.vue diff --git a/src/views/mobile/Settings.vue b/src/views/mobile/SettingsPage.vue similarity index 100% rename from src/views/mobile/Settings.vue rename to src/views/mobile/SettingsPage.vue diff --git a/src/views/mobile/Signup.vue b/src/views/mobile/SignupPage.vue similarity index 100% rename from src/views/mobile/Signup.vue rename to src/views/mobile/SignupPage.vue diff --git a/src/views/mobile/Unlock.vue b/src/views/mobile/UnlockPage.vue similarity index 100% rename from src/views/mobile/Unlock.vue rename to src/views/mobile/UnlockPage.vue diff --git a/src/views/mobile/accounts/Edit.vue b/src/views/mobile/accounts/EditPage.vue similarity index 100% rename from src/views/mobile/accounts/Edit.vue rename to src/views/mobile/accounts/EditPage.vue diff --git a/src/views/mobile/accounts/List.vue b/src/views/mobile/accounts/ListPage.vue similarity index 100% rename from src/views/mobile/accounts/List.vue rename to src/views/mobile/accounts/ListPage.vue diff --git a/src/views/mobile/categories/All.vue b/src/views/mobile/categories/AllPage.vue similarity index 100% rename from src/views/mobile/categories/All.vue rename to src/views/mobile/categories/AllPage.vue diff --git a/src/views/mobile/categories/Edit.vue b/src/views/mobile/categories/EditPage.vue similarity index 100% rename from src/views/mobile/categories/Edit.vue rename to src/views/mobile/categories/EditPage.vue diff --git a/src/views/mobile/categories/List.vue b/src/views/mobile/categories/ListPage.vue similarity index 100% rename from src/views/mobile/categories/List.vue rename to src/views/mobile/categories/ListPage.vue diff --git a/src/views/mobile/categories/Preset.vue b/src/views/mobile/categories/PresetPage.vue similarity index 100% rename from src/views/mobile/categories/Preset.vue rename to src/views/mobile/categories/PresetPage.vue diff --git a/src/views/mobile/statistics/AccountFilterSettings.vue b/src/views/mobile/statistics/AccountFilterSettingsPage.vue similarity index 100% rename from src/views/mobile/statistics/AccountFilterSettings.vue rename to src/views/mobile/statistics/AccountFilterSettingsPage.vue diff --git a/src/views/mobile/statistics/CategoryFilterSettings.vue b/src/views/mobile/statistics/CategoryFilterSettingsPage.vue similarity index 100% rename from src/views/mobile/statistics/CategoryFilterSettings.vue rename to src/views/mobile/statistics/CategoryFilterSettingsPage.vue diff --git a/src/views/mobile/statistics/Settings.vue b/src/views/mobile/statistics/SettingsPage.vue similarity index 100% rename from src/views/mobile/statistics/Settings.vue rename to src/views/mobile/statistics/SettingsPage.vue diff --git a/src/views/mobile/statistics/Transaction.vue b/src/views/mobile/statistics/TransactionPage.vue similarity index 100% rename from src/views/mobile/statistics/Transaction.vue rename to src/views/mobile/statistics/TransactionPage.vue diff --git a/src/views/mobile/tags/List.vue b/src/views/mobile/tags/ListPage.vue similarity index 100% rename from src/views/mobile/tags/List.vue rename to src/views/mobile/tags/ListPage.vue diff --git a/src/views/mobile/transactions/Edit.vue b/src/views/mobile/transactions/EditPage.vue similarity index 100% rename from src/views/mobile/transactions/Edit.vue rename to src/views/mobile/transactions/EditPage.vue diff --git a/src/views/mobile/transactions/List.vue b/src/views/mobile/transactions/ListPage.vue similarity index 100% rename from src/views/mobile/transactions/List.vue rename to src/views/mobile/transactions/ListPage.vue diff --git a/src/views/mobile/users/DataManagement.vue b/src/views/mobile/users/DataManagementPage.vue similarity index 100% rename from src/views/mobile/users/DataManagement.vue rename to src/views/mobile/users/DataManagementPage.vue diff --git a/src/views/mobile/users/SessionList.vue b/src/views/mobile/users/SessionListPage.vue similarity index 100% rename from src/views/mobile/users/SessionList.vue rename to src/views/mobile/users/SessionListPage.vue diff --git a/src/views/mobile/users/TwoFactorAuth.vue b/src/views/mobile/users/TwoFactorAuthPage.vue similarity index 100% rename from src/views/mobile/users/TwoFactorAuth.vue rename to src/views/mobile/users/TwoFactorAuthPage.vue diff --git a/src/views/mobile/users/UserProfile.vue b/src/views/mobile/users/UserProfilePage.vue similarity index 100% rename from src/views/mobile/users/UserProfile.vue rename to src/views/mobile/users/UserProfilePage.vue