move file

This commit is contained in:
MaysWind
2025-01-07 00:08:27 +08:00
parent b0a9b2366e
commit cb142a65f3
8 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
<script setup lang="ts">
import { type Ref, ref, computed, useTemplateRef } from 'vue';
import { useI18n } from '@/lib/i18n.js';
import { useI18n } from '@/locales/helper.js';
import { copyObjectTo } from '@/lib/common.ts';
import type { MapInstance, MapPosition } from '@/lib/map/base.ts';
+1 -1
View File
@@ -17,7 +17,7 @@
<script setup lang="ts">
import { type Ref, ref, watch } from 'vue';
import { useI18n } from '@/lib/i18n.js';
import { useI18n } from '@/locales/helper.js';
import { isString } from '@/lib/common.ts';
const props = defineProps<{
+1 -1
View File
@@ -12,7 +12,7 @@
import { type Ref, ref, watch } from 'vue';
import { isObject } from '@/lib/common.ts';
import { useI18n } from '@/lib/i18n.js';
import { useI18n } from '@/locales/helper.js';
const emit = defineEmits<{
(e: 'update:show', value: boolean): void
+1 -1
View File
@@ -68,7 +68,7 @@
<script setup lang="ts">
import { type Ref, ref, computed } from 'vue';
import { useI18n } from '@/lib/i18n.js';
import { useI18n } from '@/locales/helper.js';
import { useI18nUIComponents } from '@/lib/ui/mobile.js';
import { useUserStore } from '@/stores/user.ts';
+1 -1
View File
@@ -76,7 +76,7 @@ import {
translateIf,
translateError,
i18nFunctions
} from '@/lib/i18n.js';
} from '@/locales/helper.js';
import PinCodeInput from '@/components/common/PinCodeInput.vue';
import MapView from '@/components/common/MapView.vue';
+2 -1
View File
@@ -2,8 +2,9 @@ import { useI18n as useVueI18n } from 'vue-i18n';
import { f7, f7ready } from 'framework7-vue';
import { FontSize, FONT_SIZE_PREVIEW_CLASSNAME_PREFIX } from '@/core/font.ts';
import { translateError } from '@/locales/helper';
import { isEnableAnimate } from '../settings.ts';
import { translateError } from '../i18n.js';
export function showAlert(message, confirmCallback, translateFn) {
f7ready((f7) => {
+7 -7
View File
@@ -26,7 +26,7 @@ import {
isBoolean,
copyObjectTo,
copyArrayTo
} from './common.ts';
} from '@/lib/common.ts';
import {
isPM,
@@ -43,7 +43,7 @@ import {
getRecentMonthDateRanges,
isDateRangeMatchFullYears,
isDateRangeMatchFullMonths
} from './datetime.ts';
} from '@/lib/datetime.ts';
import {
appendDigitGroupingSymbol,
@@ -51,21 +51,21 @@ import {
formatAmount,
formatExchangeRateAmount,
getAdaptiveDisplayAmountRate
} from './numeral.ts';
} from '@/lib/numeral.ts';
import {
getCurrencyFraction,
appendCurrencySymbol,
getAmountPrependAndAppendCurrencySymbol
} from './currency.ts';
} from '@/lib/currency.ts';
import {
getCategorizedAccountsMap,
getAllFilteredAccountsBalance
} from './account.js';
} from '@/lib/account.js';
import logger from './logger.ts';
import services from './services.ts';
import logger from '@/lib/logger.ts';
import services from '@/lib/services.ts';
function getLanguageDisplayName(translateFn, languageName) {
return translateFn(`language.${languageName}`);
+1 -1
View File
@@ -84,7 +84,7 @@ import {
getI18nOptions,
translateIf,
i18nFunctions
} from '@/lib/i18n.js';
} from '@/locales/helper.js';
import {
showAlert,
showConfirm,