From 96561ec2befd7cdc392126e1260cca97e44c3e7d Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 30 Nov 2025 03:22:53 +0800 Subject: [PATCH] upgrade framework7 to 9.0 --- package-lock.json | 34 +++--- package.json | 6 +- .../mobile/ListItemSelectionPopup.vue | 1 - .../mobile/ListItemSelectionSheet.vue | 1 - src/components/mobile/MapSheet.vue | 2 +- src/components/mobile/PasscodeInputSheet.vue | 4 +- src/components/mobile/PasswordInputSheet.vue | 4 +- .../mobile/TransactionTagSelectionSheet.vue | 32 ++--- .../mobile/TreeViewSelectionSheet.vue | 27 ++-- .../TwoColumnListItemSelectionSheet.vue | 22 ++-- src/styles/mobile/font-size-default.scss | 22 ++-- src/styles/mobile/font-size-large.scss | 22 ++-- src/styles/mobile/font-size-small.scss | 22 ++-- src/styles/mobile/font-size-x-large.scss | 22 ++-- src/styles/mobile/font-size-xx-large.scss | 20 +-- src/styles/mobile/font-size-xxx-large.scss | 20 +-- src/styles/mobile/font-size-xxxx-large.scss | 20 +-- src/styles/mobile/global.scss | 73 +++++++++-- src/views/mobile/AboutPage.vue | 21 ++-- src/views/mobile/HomePage.vue | 11 +- src/views/mobile/SettingsPage.vue | 32 +++-- src/views/mobile/accounts/ListPage.vue | 2 +- .../mobile/settings/PageSettingsPage.vue | 115 +++++++++++++----- src/views/mobile/statistics/SettingsPage.vue | 83 ++++++++++--- .../mobile/statistics/TransactionPage.vue | 15 ++- src/views/mobile/tags/ListPage.vue | 6 +- src/views/mobile/transactions/EditPage.vue | 10 +- src/views/mobile/transactions/ListPage.vue | 12 +- 28 files changed, 423 insertions(+), 238 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4133f310..03634d86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,9 +17,9 @@ "crypto-js": "^4.2.0", "dom7": "^4.0.6", "echarts": "^6.0.0", - "framework7": "^8.3.4", + "framework7": "^9.0.1", "framework7-icons": "^5.0.5", - "framework7-vue": "^8.3.4", + "framework7-vue": "^9.0.1", "jalaali-js": "^1.2.8", "leaflet": "^1.9.4", "line-awesome": "^1.3.0", @@ -28,7 +28,7 @@ "pinia": "^3.0.4", "register-service-worker": "^1.7.2", "skeleton-elements": "^4.0.1", - "swiper": "^10.2.0", + "swiper": "^12.0.3", "ua-parser-js": "^1.0.39", "vue": "^3.5.25", "vue-echarts": "^8.0.1", @@ -8599,17 +8599,17 @@ } }, "node_modules/framework7": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/framework7/-/framework7-8.3.4.tgz", - "integrity": "sha512-RKrEeNTxKEzhxJMaw8hLoIZbzHMzLZDFmQlpbxYFUqxyGDH8r6+NFGDCxOFnpkP1VI+L5UsDenrxo8vEzh929Q==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/framework7/-/framework7-9.0.1.tgz", + "integrity": "sha512-bKuq/6L5vp2Z9WApQ6KZA638hCqOaHIg0I9I+QybHcC1qIDV0p1LpCbaf8cJ218UGZwQALMAGxeYYqYaZh2wSg==", "license": "MIT", "dependencies": { "dom7": "^4.0.6", "htm": "^3.1.1", "path-to-regexp": "^6.2.0", "skeleton-elements": "^4.0.1", - "ssr-window": "^4.0.2", - "swiper": "^10.2.0" + "ssr-window": "^5.0.1", + "swiper": "^12.0.3" }, "funding": { "type": "patreon", @@ -8626,15 +8626,21 @@ } }, "node_modules/framework7-vue": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/framework7-vue/-/framework7-vue-8.3.4.tgz", - "integrity": "sha512-gy1rwwsJ2TQ1BU7wlyn2yGEdS/zpfE9kvRxZZqBKwjqR6Gej3/mJzmMsEQRSgYwsz6cN/sIrdO7sWW+BNDX3Yw==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/framework7-vue/-/framework7-vue-9.0.1.tgz", + "integrity": "sha512-9pC29mQmjRqa5pFdEzpe65kik4pGV2pnFCdTif2HUXfCycA64s2XoxI32uAGrcRBlS3wTzJtcSyaoFLHG2oX8A==", "license": "MIT", "funding": { "type": "patreon", "url": "https://www.patreon.com/framework7" } }, + "node_modules/framework7/node_modules/ssr-window": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-5.0.1.tgz", + "integrity": "sha512-WVXlhQsm54HC+FnJfEbccEgNF7mKXtnFUB8Xn7rx2dsWHOlBdqezdX88Vjh6pVGaa0ZvL+PoSu7rEcBuNmxt6g==", + "license": "MIT" + }, "node_modules/fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", @@ -13354,9 +13360,9 @@ } }, "node_modules/swiper": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/swiper/-/swiper-10.3.1.tgz", - "integrity": "sha512-24Wk3YUdZHxjc9faID97GTu6xnLNia+adMt6qMTZG/HgdSUt4fS0REsGUXJOgpTED0Amh/j+gRGQxsLayJUlBQ==", + "version": "12.0.3", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-12.0.3.tgz", + "integrity": "sha512-BHd6U1VPEIksrXlyXjMmRWO0onmdNPaTAFduzqR3pgjvi7KfmUCAm/0cj49u2D7B0zNjMw02TSeXfinC1hDCXg==", "funding": [ { "type": "patreon", diff --git a/package.json b/package.json index 1a8b67d6..4ebdf2d0 100644 --- a/package.json +++ b/package.json @@ -27,9 +27,9 @@ "crypto-js": "^4.2.0", "dom7": "^4.0.6", "echarts": "^6.0.0", - "framework7": "^8.3.4", + "framework7": "^9.0.1", "framework7-icons": "^5.0.5", - "framework7-vue": "^8.3.4", + "framework7-vue": "^9.0.1", "jalaali-js": "^1.2.8", "leaflet": "^1.9.4", "line-awesome": "^1.3.0", @@ -38,7 +38,7 @@ "pinia": "^3.0.4", "register-service-worker": "^1.7.2", "skeleton-elements": "^4.0.1", - "swiper": "^10.2.0", + "swiper": "^12.0.3", "ua-parser-js": "^1.0.39", "vue": "^3.5.25", "vue-echarts": "^8.0.1", diff --git a/src/components/mobile/ListItemSelectionPopup.vue b/src/components/mobile/ListItemSelectionPopup.vue index 34ce023a..a01c1c23 100644 --- a/src/components/mobile/ListItemSelectionPopup.vue +++ b/src/components/mobile/ListItemSelectionPopup.vue @@ -2,7 +2,6 @@ - diff --git a/src/components/mobile/ListItemSelectionSheet.vue b/src/components/mobile/ListItemSelectionSheet.vue index c163eaa8..fa141075 100644 --- a/src/components/mobile/ListItemSelectionSheet.vue +++ b/src/components/mobile/ListItemSelectionSheet.vue @@ -4,7 +4,6 @@ @sheet:open="onSheetOpen" @sheet:closed="onSheetClosed">
-
diff --git a/src/components/mobile/MapSheet.vue b/src/components/mobile/MapSheet.vue index 6572e909..d4a2b9a5 100644 --- a/src/components/mobile/MapSheet.vue +++ b/src/components/mobile/MapSheet.vue @@ -11,7 +11,7 @@
- + @@ -93,7 +93,7 @@ - + diff --git a/src/views/mobile/transactions/EditPage.vue b/src/views/mobile/transactions/EditPage.vue index 1275db65..fadfe495 100644 --- a/src/views/mobile/transactions/EditPage.vue +++ b/src/views/mobile/transactions/EditPage.vue @@ -9,20 +9,20 @@
- - + - - - diff --git a/src/views/mobile/transactions/ListPage.vue b/src/views/mobile/transactions/ListPage.vue index ca07bfda..288dd0f6 100644 --- a/src/views/mobile/transactions/ListPage.vue +++ b/src/views/mobile/transactions/ListPage.vue @@ -1572,9 +1572,17 @@ html[dir="rtl"] .list.transaction-info-list li.transaction-info .transaction-foo .date-popover-menu .popover-inner, .category-popover-menu .popover-inner, .account-popover-menu .popover-inner, -.more-popover-menu .popover-inner{ +.more-popover-menu .popover-inner { max-height: 400px; - overflow-y: auto; + + > .list { + overflow-y: auto; + } +} + +.transaction-calendar-container .dp__theme_light, +.transaction-calendar-container .dp__theme_dark { + --dp-background-color: var(--f7-list-strong-bg-color); } .transaction-calendar-container .dp__main .dp__menu {