feat: Integrate Swiper library and enhance chat functionality

- Added Swiper library to package dependencies for improved UI components.
- Updated chat API to include summary model ID in message handling, allowing for more flexible model selection.
- Enhanced InputField component to manage model selection and state more effectively.
- Improved event handling in chat components to support new model features and ensure accurate message processing.
- Refactored SVG assets for better visual consistency and updated styles for improved user experience.
This commit is contained in:
wizardchen
2025-11-09 00:02:31 +08:00
parent 6e147be202
commit 83721f98d4
40 changed files with 5030 additions and 2085 deletions
+20
View File
@@ -15,6 +15,7 @@
"marked": "^5.1.2",
"pagefind": "^1.1.1",
"pinia": "^3.0.1",
"swiper": "^12.0.3",
"tdesign-icons-vue-next": "^0.4.1",
"tdesign-vue-next": "^1.17.2",
"vue": "^3.5.13",
@@ -3392,6 +3393,25 @@
"url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
"node_modules/swiper": {
"version": "12.0.3",
"resolved": "https://registry.npmjs.org/swiper/-/swiper-12.0.3.tgz",
"integrity": "sha512-BHd6U1VPEIksrXlyXjMmRWO0onmdNPaTAFduzqR3pgjvi7KfmUCAm/0cj49u2D7B0zNjMw02TSeXfinC1hDCXg==",
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/swiperjs"
},
{
"type": "open_collective",
"url": "http://opencollective.com/swiper"
}
],
"license": "MIT",
"engines": {
"node": ">= 4.7.0"
}
},
"node_modules/tapable": {
"version": "2.2.2",
"resolved": "https://mirrors.tencent.com/npm/tapable/-/tapable-2.2.2.tgz",