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"> <script setup lang="ts">
import { type Ref, ref, computed, useTemplateRef } from 'vue'; 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 { copyObjectTo } from '@/lib/common.ts';
import type { MapInstance, MapPosition } from '@/lib/map/base.ts'; import type { MapInstance, MapPosition } from '@/lib/map/base.ts';
+1 -1
View File
@@ -17,7 +17,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { type Ref, ref, watch } from 'vue'; 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'; import { isString } from '@/lib/common.ts';
const props = defineProps<{ const props = defineProps<{
+1 -1
View File
@@ -12,7 +12,7 @@
import { type Ref, ref, watch } from 'vue'; import { type Ref, ref, watch } from 'vue';
import { isObject } from '@/lib/common.ts'; import { isObject } from '@/lib/common.ts';
import { useI18n } from '@/lib/i18n.js'; import { useI18n } from '@/locales/helper.js';
const emit = defineEmits<{ const emit = defineEmits<{
(e: 'update:show', value: boolean): void (e: 'update:show', value: boolean): void
+1 -1
View File
@@ -68,7 +68,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { type Ref, ref, computed } from 'vue'; 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 { useI18nUIComponents } from '@/lib/ui/mobile.js';
import { useUserStore } from '@/stores/user.ts'; import { useUserStore } from '@/stores/user.ts';
+1 -1
View File
@@ -76,7 +76,7 @@ import {
translateIf, translateIf,
translateError, translateError,
i18nFunctions i18nFunctions
} from '@/lib/i18n.js'; } from '@/locales/helper.js';
import PinCodeInput from '@/components/common/PinCodeInput.vue'; import PinCodeInput from '@/components/common/PinCodeInput.vue';
import MapView from '@/components/common/MapView.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 { f7, f7ready } from 'framework7-vue';
import { FontSize, FONT_SIZE_PREVIEW_CLASSNAME_PREFIX } from '@/core/font.ts'; import { FontSize, FONT_SIZE_PREVIEW_CLASSNAME_PREFIX } from '@/core/font.ts';
import { translateError } from '@/locales/helper';
import { isEnableAnimate } from '../settings.ts'; import { isEnableAnimate } from '../settings.ts';
import { translateError } from '../i18n.js';
export function showAlert(message, confirmCallback, translateFn) { export function showAlert(message, confirmCallback, translateFn) {
f7ready((f7) => { f7ready((f7) => {
+7 -7
View File
@@ -26,7 +26,7 @@ import {
isBoolean, isBoolean,
copyObjectTo, copyObjectTo,
copyArrayTo copyArrayTo
} from './common.ts'; } from '@/lib/common.ts';
import { import {
isPM, isPM,
@@ -43,7 +43,7 @@ import {
getRecentMonthDateRanges, getRecentMonthDateRanges,
isDateRangeMatchFullYears, isDateRangeMatchFullYears,
isDateRangeMatchFullMonths isDateRangeMatchFullMonths
} from './datetime.ts'; } from '@/lib/datetime.ts';
import { import {
appendDigitGroupingSymbol, appendDigitGroupingSymbol,
@@ -51,21 +51,21 @@ import {
formatAmount, formatAmount,
formatExchangeRateAmount, formatExchangeRateAmount,
getAdaptiveDisplayAmountRate getAdaptiveDisplayAmountRate
} from './numeral.ts'; } from '@/lib/numeral.ts';
import { import {
getCurrencyFraction, getCurrencyFraction,
appendCurrencySymbol, appendCurrencySymbol,
getAmountPrependAndAppendCurrencySymbol getAmountPrependAndAppendCurrencySymbol
} from './currency.ts'; } from '@/lib/currency.ts';
import { import {
getCategorizedAccountsMap, getCategorizedAccountsMap,
getAllFilteredAccountsBalance getAllFilteredAccountsBalance
} from './account.js'; } from '@/lib/account.js';
import logger from './logger.ts'; import logger from '@/lib/logger.ts';
import services from './services.ts'; import services from '@/lib/services.ts';
function getLanguageDisplayName(translateFn, languageName) { function getLanguageDisplayName(translateFn, languageName) {
return translateFn(`language.${languageName}`); return translateFn(`language.${languageName}`);
+1 -1
View File
@@ -84,7 +84,7 @@ import {
getI18nOptions, getI18nOptions,
translateIf, translateIf,
i18nFunctions i18nFunctions
} from '@/lib/i18n.js'; } from '@/locales/helper.js';
import { import {
showAlert, showAlert,
showConfirm, showConfirm,