Add global pinia type declaration for the custom unistorage option.
Add typed interfaces for all Pinia stores and enforce type safety on state and actions.
Add strict type annotations to all utility classes and helper functions.
Fix API response typing in the quick booking list page.
Remove unused iconsMap import in RefundPopup component.
Update package build scripts and add missing terser dependency.
Clean up outdated auto-generated component type definitions.
This commit overhauls several core parts of the codebase:
- Replace legacy localStorage token storage with secure cookie-based authentication with automatic token refresh logic
- Rewrite checkToken and goLogin hooks to support redirect targets and proper async error handling
- Update all component navigation flows to use the updated auth checks and correct redirect behavior
- Refactor router configuration to support both client-side and server-side rendering via conditional history usage
- Remove unused speech recognition constant file and stale component registration for RecordingWaveBtn
- Add unit tests for navigation utilities and auth token handling
- Fix login post-success redirect logic and add login success event emissions
- Overhaul HTTP request handling to include automatic auth token injection and retry on unauthorized errors
Add complete login flow with phone verification and country picker.
Add login-related translations for en-US, zh-CN and th-TH locales.
Add country calling codes constants and selection utility function.
Register Vant UI component type definitions for TypeScript.
Update development environment authentication token.
- add @lucide/vue dependency and replace van-icon with CalendarDays icon
- refactor TopNavBar to use vue-router back navigation instead of uni API
- update Card component styles for better visual appearance
- fix touch event formatting in CardSwiper and switch tap to click events
- major refactor of Calendar component: implement v-model:show, add exposed open/close methods, improve date handling logic
- add TypeScript types and update vant component declarations
- add pull-to-refresh and pagination support to quick booking page
delete unused custom CheckBox component files including .vue, style and doc files
update login page template and imports to use van-checkbox
add VanCheckbox type definitions to global components declarations
- add AiTabSwitch component with its image assets and styles
- add Welcome component for welcome text, weather display and notice messages
- update ChatMainList to use new components and add background header layout
- replace custom swiper in NoticeMessage with Vant VanSwipe component
- add Vant Swipe type definitions to components.d.ts
- add vite dev proxy for `/ingress` to forward requests to backend https://onefeel.brother7.cn
- update .env.development to use relative proxy paths instead of full backend URLs
- move SpriteAnimator component to correct directory, update all imports and global type declarations in components.d.ts
- remove unused CSS styles and fix styling for ChatTopNavBar component, including switching to van-icon and hardcoding temporary site name
- uncomment and enable the ChatMainList component in home page
- clean up unused code, fix formatting, and set default client ID in src/utils/request.ts
- comment out redundant uni API calls in ChatMainList to simplify code
- update WebSocket URL handling to support relative paths in ChatMainList
- uncomment and restore MineSetting in DrawerSection
- replace uni-ui popup and icons with Vant components in MoreService
- switch to project's custom event emitter instead of uni global events
- add VanIcons type definitions in components.d.ts
- rework popup state management with reactive show ref for MoreService
- replace uni-ui drawer and icon components with Vant equivalents
- add unplugin-auto-import and unplugin-vue-components to Vite config
- update project dependencies to compatible versions
- generate auto-import and component type declaration files
- clean up deprecated imports and commented code in home page components
- fix App.vue to use lowercase router-view and script setup