Open source personal finance application
refactor: apply eslint classnames sort
Ilya Komichev41e5f8e1e70d
diff --git a/app/components/stat/chart/Intervals.vue b/app/components/stat/chart/Intervals.vueindex 94cc599a..0a4f1f41 100644--- a/app/components/stat/chart/Intervals.vue+++ b/app/components/stat/chart/Intervals.vue@@ -40,7 +40,7 @@ const items = computed(() => {</script><template>- <div class="flex gap-0 min-h-8">+ <div class="flex min-h-8 gap-0"><StatChartButtonv-for="item in items":key="item.value"diff --git a/app/components/trnForm/Categories.vue b/app/components/trnForm/Categories.vueindex 5cba1daf..1959b9c9 100644--- a/app/components/trnForm/Categories.vue+++ b/app/components/trnForm/Categories.vue@@ -46,7 +46,7 @@ onMounted(() => {<!-- Recent --><div class="swiper-slide h-full"><div- class="scrollbar scrollerBlock bg-foreground-1 font-primary rounded-t-2xl px-3 py-4 text-center text-xl font-semibold"+ class="scrollbar scrollerBlock rounded-t-2xl bg-foreground-1 px-3 py-4 text-center font-primary text-xl font-semibold">{{ $t("categories.lastUsedTitle") }}</div>@@ -63,7 +63,7 @@ onMounted(() => {<!-- Main --><div class="swiper-slide h-full"><div- class="scrollbar scrollerBlock bg-foreground-1 font-primary rounded-t-2xl px-3 py-4 text-center text-xl font-semibold"+ class="scrollbar scrollerBlock rounded-t-2xl bg-foreground-1 px-3 py-4 text-center font-primary text-xl font-semibold">{{ $t("categories.title") }}</div>@@ -80,7 +80,7 @@ onMounted(() => {<!-- Favorite --><div class="swiper-slide h-full"><div- class="scrollbar scrollerBlock bg-foreground-1 font-primary rounded-t-2xl px-3 py-4 text-center text-xl font-semibold"+ class="scrollbar scrollerBlock rounded-t-2xl bg-foreground-1 px-3 py-4 text-center font-primary text-xl font-semibold">{{ $t("categories.favoriteTitle") }}</div>diff --git a/app/components/trnForm/main/AmountTransfer.vue b/app/components/trnForm/main/AmountTransfer.vueindex 580da9b7..57a7c528 100644--- a/app/components/trnForm/main/AmountTransfer.vue+++ b/app/components/trnForm/main/AmountTransfer.vue@@ -66,7 +66,7 @@ watch(<div class="flex items-center gap-2 whitespace-nowrap"><div:class="getStyles('item', ['link', 'rounded'])"- class=" text-1/70 flex min-h-[44px] w-1/2 grow items-center px-3 py-2 text-sm lg:min-h-[42px]"+ class=" flex min-h-[44px] w-1/2 grow items-center px-3 py-2 text-sm text-1/70 lg:min-h-[42px]">{{ t(slug) }}</div>diff --git a/app/components/trns/Item.vue b/app/components/trns/Item.vueindex 85585980..08f6962e 100644--- a/app/components/trns/Item.vue+++ b/app/components/trns/Item.vue@@ -35,7 +35,7 @@ const emit = defineEmits<{<template v-if="alt"><divv-if="date"- class="text-2xs min-w-10 truncate leading-none"+ class="min-w-10 truncate text-2xs leading-none">{{ date }}</div>@@ -49,7 +49,7 @@ const emit = defineEmits<{:color="props.trnItem.category?.color"size="16"/>- <div class="text-2 flex items-center gap-2 text-xs leading-none">+ <div class="flex items-center gap-2 text-xs leading-none text-2">{{ trnItem.category.name }}</div></div>@@ -58,7 +58,7 @@ const emit = defineEmits<{<div class="grid grow gap-1"><divv-if="!alt"- class="text-3 grid grow gap-0.5"+ class="grid grow gap-0.5 text-3"><CategoriesNamev-if="trnItem.type !== TrnType.Transfer"@@ -72,7 +72,7 @@ const emit = defineEmits<{v-if="trnItem.wallet"class="flex items-center gap-2">- <div class="text-4 text-xs leading-none">+ <div class="text-xs leading-none text-4">{{ trnItem.wallet.name }}</div></div>diff --git a/app/components/trns/List.vue b/app/components/trns/List.vueindex 4d874868..607ff8f2 100644--- a/app/components/trns/List.vue+++ b/app/components/trns/List.vue@@ -209,7 +209,7 @@ const groupedTrns = computed(() => paginatedTrnsIds.value<!-- Group Sum --><divv-if="isShowGroupSum && paginatedTrnsIds.length > 1"- class="border-item-5 border-b pb-2 pr-3"+ class="border-b border-item-5 pb-2 pr-3"><Amountv-if="getTotalOfTrnsIds(paginatedTrnsIds).income !== 0"@@ -252,7 +252,7 @@ const groupedTrns = computed(() => paginatedTrnsIds.value<divv-for="(groupTrnsIds, date) in groupedTrns":key="date"- class="bg-item-9 overflow-hidden rounded-lg"+ class="overflow-hidden rounded-lg bg-item-9"><div:class="{ 'border-item-5': isShowGroupSum && groupTrnsIds.length > 1 }"@@ -311,7 +311,7 @@ const groupedTrns = computed(() => paginatedTrnsIds.valueclass="flex-center pt-1"><div- class="flex-center bg-item-5 text-2 hocus:bg-item-6 rounded-full px-5 py-2 text-sm"+ class="flex-center rounded-full bg-item-5 px-5 py-2 text-sm text-2 hocus:bg-item-6"@click="pageNumber = ++pageNumber">{{ t("trns.more") }} {{ paginatedTrnsIds.length }} /