- Added axios as a dependency for handling HTTP requests. - Refactored the authentication logic by moving it to a new module structure. - Replaced the old auth store with a composable useAuth for better state management. - Created a new Login.vue component for the login page with improved UI. - Implemented an AuthService for handling authentication-related API calls. - Removed the old Login.vue and uth.ts files to clean up the codebase. - Updated router to use the new login component and auth composable. - Added interceptors to handle token management and error responses globally.
39 lines
1.6 KiB
TypeScript
39 lines
1.6 KiB
TypeScript
/* eslint-disable */
|
|
// @ts-nocheck
|
|
// biome-ignore lint: disable
|
|
// oxlint-disable
|
|
// ------
|
|
// Generated by unplugin-vue-components
|
|
// Read more: https://github.com/vuejs/core/pull/3399
|
|
|
|
export {}
|
|
|
|
/* prettier-ignore */
|
|
declare module 'vue' {
|
|
export interface GlobalComponents {
|
|
AppConfig: typeof import('./src/components/layout/AppConfig.vue')['default']
|
|
AppTopbar: typeof import('./src/components/Holos/AppTopbar.vue')['default']
|
|
Badge: typeof import('primevue/badge')['default']
|
|
Button: typeof import('primevue/button')['default']
|
|
Card: typeof import('primevue/card')['default']
|
|
Checkbox: typeof import('primevue/checkbox')['default']
|
|
Column: typeof import('primevue/column')['default']
|
|
DataTable: typeof import('primevue/datatable')['default']
|
|
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
|
|
IconField: typeof import('primevue/iconfield')['default']
|
|
InputGroup: typeof import('primevue/inputgroup')['default']
|
|
InputGroupAddon: typeof import('primevue/inputgroupaddon')['default']
|
|
InputIcon: typeof import('primevue/inputicon')['default']
|
|
InputText: typeof import('primevue/inputtext')['default']
|
|
KpiCard: typeof import('./src/components/shared/KpiCard.vue')['default']
|
|
Menu: typeof import('primevue/menu')['default']
|
|
Message: typeof import('primevue/message')['default']
|
|
Sidebar: typeof import('./src/components/layout/Sidebar.vue')['default']
|
|
Tag: typeof import('primevue/tag')['default']
|
|
TopBar: typeof import('./src/components/layout/TopBar.vue')['default']
|
|
}
|
|
export interface GlobalDirectives {
|
|
StyleClass: typeof import('primevue/styleclass')['default']
|
|
}
|
|
}
|