feat: 新增基础代谢详情页面并优化HRV数据获取逻辑

- 新增基础代谢详情页面,包含图表展示、数据缓存和防抖机制
- 优化HRV数据获取逻辑,支持实时、近期和历史数据的智能获取
- 移除WaterIntakeCard和WaterSettings中的登录验证逻辑
- 更新饮水数据管理hook,直接使用HealthKit数据
- 添加饮水目标存储和获取功能
- 更新依赖包版本
This commit is contained in:
richarjiang
2025-09-25 14:15:42 +08:00
parent 83e534c4a7
commit 79ab354f31
12 changed files with 1563 additions and 702 deletions

20
package-lock.json generated
View File

@@ -16,9 +16,9 @@
"@react-native-masked-view/masked-view": "^0.3.2",
"@react-native-picker/picker": "2.11.2",
"@react-native-voice/voice": "^3.2.4",
"@react-navigation/bottom-tabs": "^7.4.0",
"@react-navigation/bottom-tabs": "^7.4.7",
"@react-navigation/elements": "^2.6.4",
"@react-navigation/native": "^7.1.8",
"@react-navigation/native": "^7.1.17",
"@reduxjs/toolkit": "^2.9.0",
"@sentry/react-native": "~7.1.0",
"@types/lodash": "^4.17.20",
@@ -38,13 +38,13 @@
"expo-linking": "~8.0.8",
"expo-notifications": "~0.32.11",
"expo-quick-actions": "^6.0.0",
"expo-router": "~6.0.6",
"expo-router": "~6.0.8",
"expo-splash-screen": "~31.0.10",
"expo-sqlite": "^16.0.8",
"expo-status-bar": "~3.0.8",
"expo-symbols": "~1.0.7",
"expo-system-ui": "~6.0.7",
"expo-task-manager": "~14.0.6",
"expo-task-manager": "~14.0.7",
"expo-web-browser": "~15.0.7",
"lodash": "^4.17.21",
"lottie-react-native": "^7.3.4",
@@ -68,7 +68,6 @@
"react-native-web": "^0.21.1",
"react-native-webview": "13.16.0",
"react-native-wheel-picker-expo": "^0.5.4",
"react-native-worklets": "0.5.1",
"react-redux": "^9.2.0"
},
"devDependencies": {
@@ -1409,6 +1408,7 @@
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.27.1.tgz",
"integrity": "sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==",
"license": "MIT",
"peer": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.27.1"
},
@@ -7963,14 +7963,14 @@
}
},
"node_modules/expo-router": {
"version": "6.0.6",
"resolved": "https://mirrors.tencent.com/npm/expo-router/-/expo-router-6.0.6.tgz",
"integrity": "sha512-uSuKQanivBI9RtwmAznLI7It5aPwQLVL2tVBPAOJ70tv6BzP62SpVCf0I8o0j9PmEzORPRLrU2LbQOL962yBHg==",
"version": "6.0.8",
"resolved": "https://mirrors.tencent.com/npm/expo-router/-/expo-router-6.0.8.tgz",
"integrity": "sha512-cx6vFvBrfPNHpNbN2ij2mF5JKE4JXyq+dJVmWNqt7JplA0aohOOKXS/KQ9vQy88HpnrcJMuYqUNHp44aWyce7g==",
"license": "MIT",
"dependencies": {
"@expo/metro-runtime": "^6.1.2",
"@expo/schema-utils": "^0.1.7",
"@expo/server": "^0.7.4",
"@expo/server": "^0.7.5",
"@radix-ui/react-slot": "1.2.0",
"@radix-ui/react-tabs": "^1.1.12",
"@react-navigation/bottom-tabs": "^7.4.0",
@@ -12547,6 +12547,7 @@
"resolved": "https://registry.npmjs.org/react-native-worklets/-/react-native-worklets-0.5.1.tgz",
"integrity": "sha512-lJG6Uk9YuojjEX/tQrCbcbmpdLCSFxDK1rJlkDhgqkVi1KZzG7cdcBFQRqyNOOzR9Y0CXNuldmtWTGOyM0k0+w==",
"license": "MIT",
"peer": true,
"dependencies": {
"@babel/plugin-transform-arrow-functions": "^7.0.0-0",
"@babel/plugin-transform-class-properties": "^7.0.0-0",
@@ -12571,6 +12572,7 @@
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
"integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
"license": "ISC",
"peer": true,
"bin": {
"semver": "bin/semver.js"
},