feat: Add Chat Widget and Init Service Chooser components

- Implemented ChatWidget component for real-time chat functionality with socket integration.
- Added InitServiceChooser component for selecting services with manual token input and auto-authorization.
- Updated settings and data provider to support local development with localhost.
- Enhanced settings page with Classworks KV card and improved styles.
- Introduced debug socket page for monitoring connection status and device interactions.
- Refactored socket client utility for better connection management and event handling.
- Added glow highlight effect in styles for UI enhancements.
This commit is contained in:
SunWuyuan
2025-10-25 17:10:20 +08:00
parent b9efaee7ee
commit a2b0cc9e08
20 changed files with 1790 additions and 476 deletions
+6 -6
View File
@@ -7,7 +7,7 @@ import Vue from '@vitejs/plugin-vue'
import VueRouter from 'unplugin-vue-router/vite'
import Vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
import { VitePWA } from 'vite-plugin-pwa'
import { TDesignResolver } from 'unplugin-vue-components/resolvers'
//import { TDesignResolver } from 'unplugin-vue-components/resolvers'
// Utilities
import { defineConfig } from 'vite'
@@ -156,11 +156,11 @@ export default defineConfig({
},
}),
Components({
resolvers: [
TDesignResolver({
library: 'vue-next'
})
]
//resolvers: [
// TDesignResolver({
// library: 'vue-next'
// })
//]
}),
Fonts({
google: {