Open source personal finance application
chore: update swiper dependency and refactor imports
Ilya Komichev05b7355984e0
diff --git a/app/components/trnForm/Bottom.vue b/app/components/trnForm/Bottom.vueindex fc0283a1..bda4b148 100644--- a/app/components/trnForm/Bottom.vue+++ b/app/components/trnForm/Bottom.vue@@ -1,5 +1,6 @@<script setup lang="ts">-import Swiper, { Pagination } from 'swiper'+import Swiper from 'swiper'+import { Pagination } from 'swiper/modules'import { useCategoriesStore } from '~/components/categories/useCategoriesStore'import { useTrnsFormStore } from '~/components/trnForm/useTrnsFormStore'@@ -82,7 +83,7 @@ onMounted(init)<div class="swiper-wrapper"><!-- History --><div- class="swiper-slide bg-foreground-1"+ class="swiper-slide h-full overflow-y-auto bg-foreground-1":style="{ height: maxHeight }"><TrnFormTrnsSlide@@ -94,7 +95,7 @@ onMounted(init)<!-- Main --><div class="swiper-slide getHeight bg-foreground-1">- <div class="scroll scrollerBlock">+ <div class="scrollerBlock h-full overflow-y-auto"><div class="max-h-[98dvh]"><TrnFormMain :maxHeight /></div>@@ -106,7 +107,7 @@ onMounted(init)class="swiper-slide bg-foreground-1":style="{ height: maxHeight }">- <div class="scroll scrollerBlock">+ <div class="scrollerBlock h-full overflow-y-auto"><div class="pb-4"><TrnFormSelectionWalletsFastclass="pb-6"diff --git a/app/components/trnForm/Selection.vue b/app/components/trnForm/Selection.vueindex ab57420e..05c1f41e 100644--- a/app/components/trnForm/Selection.vue+++ b/app/components/trnForm/Selection.vue@@ -1,5 +1,6 @@<script setup lang="ts">-import Swiper, { Pagination } from 'swiper'+import Swiper from 'swiper'+import { Pagination } from 'swiper/modules'import type { CategoryId } from '~/components/categories/types'import type { WalletId } from '~/components/wallets/types'diff --git a/app/components/trnForm/Sidebar.vue b/app/components/trnForm/Sidebar.vueindex 7dbcaa3c..82984605 100644--- a/app/components/trnForm/Sidebar.vue+++ b/app/components/trnForm/Sidebar.vue@@ -1,5 +1,6 @@<script setup lang="ts">-import Swiper, { Pagination } from 'swiper'+import Swiper from 'swiper'+import { Pagination } from 'swiper/modules'import { useTrnsFormStore } from '~/components/trnForm/useTrnsFormStore'@@ -58,7 +59,7 @@ watch(isShow, (v) => {<div class="swiper-wrapper"><!-- Main --><div class="swiper-slide h-full bg-foreground-1">- <div class="scroll scrollerBlock grid grid-rows-[auto,1fr] gap-4">+ <div class="scrollerBlock grid h-full grid-rows-[auto,1fr] gap-4 overflow-y-auto"><TrnFormMain maxHeight="100vh" class="!pb-0" /><!-- History -->@@ -75,7 +76,7 @@ watch(isShow, (v) => {class="swiper-slide bg-foreground-1":style="{ height: '100%' }">- <div class="scroll scrollerBlock">+ <div class="scrollerBlock h-full overflow-y-auto"><div class="py-4"><TrnFormSelectionWalletsFast class="pb-6" /><TrnFormSelectionCategoriesFastdiff --git a/package.json b/package.jsonindex 23911e2e..3c71933d 100644--- a/package.json+++ b/package.json@@ -33,7 +33,7 @@"firebase": "^11.1.0","localforage": "^1.10.0","pinia": "^2.3.0",- "swiper": "8.4.7",+ "swiper": "11.2.0","v-calendar": "^3.1.2","vite": "^6.0.7","vue-deepunref": "^1.0.1",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c7072f10..f8a6c730 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -36,8 +36,8 @@ importers:specifier: ^2.3.0swiper:- specifier: 8.4.7- version: 8.4.7+ specifier: 11.2.0+ version: 11.2.0v-calendar:specifier: ^3.1.2@@ -3168,9 +3168,6 @@ packages:resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}- resolution: {integrity: sha512-emjdpPLhpNubapLFdjNL9tP06Sr+GZkrIHEXLWvOGsytACUrkbeIdjO5g77m00BrHTznnlcNqgmn7pCN192TBA==}-resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}@@ -5632,9 +5629,6 @@ packages:resolution: {integrity: sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==}engines: {node: '>=0.10.0'}- resolution: {integrity: sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ==}-resolution: {integrity: sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==}@@ -5763,8 +5757,8 @@ packages:engines: {node: '>=14.0.0'}hasBin: true- resolution: {integrity: sha512-VwO/KU3i9IV2Sf+W2NqyzwWob4yX9Qdedq6vBtS0rFqJ6Fa5iLUJwxQkuD4I38w0WDJwmFl8ojkdcRFPHWD+2g==}+ resolution: {integrity: sha512-rjjAKgDEs+grR2eQshVDCcE4KNPC7CI294nfcbV9gE8WCsLdvOYXDeZKUYevqAZZp8j5hE7kpT3dAGVKFBWlxQ==}engines: {node: '>= 4.7.0'}@@ -10265,10 +10259,6 @@ snapshots:domhandler: 5.0.3entities: 4.5.0- dependencies:- ssr-window: 4.0.2-@@ -13375,8 +13365,6 @@ snapshots:- [email protected]: {}-@@ -13537,10 +13525,7 @@ snapshots:csso: 5.0.5picocolors: 1.1.1- dependencies:- dom7: 4.0.6- ssr-window: 4.0.2+ [email protected]: {}dependencies: