remove redundant content in function names
This commit is contained in:
@@ -16,7 +16,7 @@ export interface DayAndDisplayName {
|
|||||||
readonly displayName: string;
|
readonly displayName: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function useAccountEditPageBaseBase() {
|
export function useAccountEditPageBase() {
|
||||||
const { tt, getAllAccountCategories, getAllAccountTypes, getMonthdayShortName } = useI18n();
|
const { tt, getAllAccountCategories, getAllAccountTypes, getMonthdayShortName } = useI18n();
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import type { Account, CategorizedAccount } from '@/models/account.ts';
|
|||||||
|
|
||||||
import { isObject, isNumber, isString } from '@/lib/common.ts';
|
import { isObject, isNumber, isString } from '@/lib/common.ts';
|
||||||
|
|
||||||
export function useAccountListPageBaseBase() {
|
export function useAccountListPageBase() {
|
||||||
const { formatAmountToLocalizedNumeralsWithCurrency } = useI18n();
|
const { formatAmountToLocalizedNumeralsWithCurrency } = useI18n();
|
||||||
|
|
||||||
const settingsStore = useSettingsStore();
|
const settingsStore = useSettingsStore();
|
||||||
|
|||||||
@@ -312,7 +312,7 @@ import { ref, computed, useTemplateRef, watch } from 'vue';
|
|||||||
import { useDisplay } from 'vuetify';
|
import { useDisplay } from 'vuetify';
|
||||||
|
|
||||||
import { useI18n } from '@/locales/helpers.ts';
|
import { useI18n } from '@/locales/helpers.ts';
|
||||||
import { useAccountListPageBaseBase } from '@/views/base/accounts/AccountListPageBase.ts';
|
import { useAccountListPageBase } from '@/views/base/accounts/AccountListPageBase.ts';
|
||||||
|
|
||||||
import { useAccountsStore } from '@/stores/account.ts';
|
import { useAccountsStore } from '@/stores/account.ts';
|
||||||
|
|
||||||
@@ -364,7 +364,7 @@ const {
|
|||||||
totalLiabilities,
|
totalLiabilities,
|
||||||
accountCategoryTotalBalance,
|
accountCategoryTotalBalance,
|
||||||
accountBalance
|
accountBalance
|
||||||
} = useAccountListPageBaseBase();
|
} = useAccountListPageBase();
|
||||||
|
|
||||||
const accountsStore = useAccountsStore();
|
const accountsStore = useAccountsStore();
|
||||||
|
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ import SnackBar from '@/components/desktop/SnackBar.vue';
|
|||||||
import { ref, computed, useTemplateRef, watch } from 'vue';
|
import { ref, computed, useTemplateRef, watch } from 'vue';
|
||||||
|
|
||||||
import { useI18n } from '@/locales/helpers.ts';
|
import { useI18n } from '@/locales/helpers.ts';
|
||||||
import { useAccountEditPageBaseBase } from '@/views/base/accounts/AccountEditPageBase.ts';
|
import { useAccountEditPageBase } from '@/views/base/accounts/AccountEditPageBase.ts';
|
||||||
|
|
||||||
import { useUserStore } from '@/stores/user.ts';
|
import { useUserStore } from '@/stores/user.ts';
|
||||||
import { useAccountsStore } from '@/stores/account.ts';
|
import { useAccountsStore } from '@/stores/account.ts';
|
||||||
@@ -244,7 +244,7 @@ const {
|
|||||||
isNewAccount,
|
isNewAccount,
|
||||||
addSubAccount,
|
addSubAccount,
|
||||||
setAccount
|
setAccount
|
||||||
} = useAccountEditPageBaseBase();
|
} = useAccountEditPageBase();
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const accountsStore = useAccountsStore();
|
const accountsStore = useAccountsStore();
|
||||||
|
|||||||
@@ -522,7 +522,7 @@ import type { Router } from 'framework7/types';
|
|||||||
|
|
||||||
import { useI18n } from '@/locales/helpers.ts';
|
import { useI18n } from '@/locales/helpers.ts';
|
||||||
import { useI18nUIComponents, showLoading, hideLoading } from '@/lib/ui/mobile.ts';
|
import { useI18nUIComponents, showLoading, hideLoading } from '@/lib/ui/mobile.ts';
|
||||||
import { useAccountEditPageBaseBase } from '@/views/base/accounts/AccountEditPageBase.ts';
|
import { useAccountEditPageBase } from '@/views/base/accounts/AccountEditPageBase.ts';
|
||||||
|
|
||||||
import { useAccountsStore } from '@/stores/account.ts';
|
import { useAccountsStore } from '@/stores/account.ts';
|
||||||
|
|
||||||
@@ -587,7 +587,7 @@ const {
|
|||||||
isNewAccount,
|
isNewAccount,
|
||||||
addSubAccount,
|
addSubAccount,
|
||||||
setAccount
|
setAccount
|
||||||
} = useAccountEditPageBaseBase();
|
} = useAccountEditPageBase();
|
||||||
|
|
||||||
const accountsStore = useAccountsStore();
|
const accountsStore = useAccountsStore();
|
||||||
|
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ import type { Router } from 'framework7/types';
|
|||||||
|
|
||||||
import { useI18n } from '@/locales/helpers.ts';
|
import { useI18n } from '@/locales/helpers.ts';
|
||||||
import { useI18nUIComponents, showLoading, hideLoading } from '@/lib/ui/mobile.ts';
|
import { useI18nUIComponents, showLoading, hideLoading } from '@/lib/ui/mobile.ts';
|
||||||
import { useAccountListPageBaseBase } from '@/views/base/accounts/AccountListPageBase.ts';
|
import { useAccountListPageBase } from '@/views/base/accounts/AccountListPageBase.ts';
|
||||||
|
|
||||||
import { useRootStore } from '@/stores/index.ts';
|
import { useRootStore } from '@/stores/index.ts';
|
||||||
import { useAccountsStore } from '@/stores/account.ts';
|
import { useAccountsStore } from '@/stores/account.ts';
|
||||||
@@ -251,7 +251,7 @@ const {
|
|||||||
totalLiabilities,
|
totalLiabilities,
|
||||||
accountCategoryTotalBalance,
|
accountCategoryTotalBalance,
|
||||||
accountBalance
|
accountBalance
|
||||||
} = useAccountListPageBaseBase();
|
} = useAccountListPageBase();
|
||||||
|
|
||||||
const rootStore = useRootStore();
|
const rootStore = useRootStore();
|
||||||
const accountsStore = useAccountsStore();
|
const accountsStore = useAccountsStore();
|
||||||
|
|||||||
Reference in New Issue
Block a user