All checks were successful
Build and Deploy Nuxt / build (push) Successful in 42s
35 lines
897 B
JavaScript
35 lines
897 B
JavaScript
import { ClearWindowsWithType, GetFirstWindowId } from './Windows'
|
|
|
|
/*
|
|
Put here all dragonroll windows
|
|
*/
|
|
const defWindows = {
|
|
login: {
|
|
title: 'windows.login',
|
|
movable: false,
|
|
component: () => import('~/components/windows/LoginWindow.vue'),
|
|
},
|
|
register: {
|
|
title: 'windows.register',
|
|
movable: false,
|
|
component: () => import('~/components/windows/RegisterWindow.vue'),
|
|
},
|
|
main_menu: {
|
|
title: 'windows.main-menu',
|
|
component: () => import('~/components/windows/MainMenuWindow.vue'),
|
|
},
|
|
example: {
|
|
title: 'windows.example',
|
|
component: () => import('~/components/windows/ExampleWindow.vue'),
|
|
},
|
|
edit_profile: {
|
|
title: "windows.edit-profile",
|
|
component: () => import('~/components/windows/EditProfileWindow.vue'),
|
|
close: () => ClearWindowsWithType(GetFirstWindowId('edit_profile')),
|
|
movable: true
|
|
},
|
|
}
|
|
|
|
export {
|
|
defWindows
|
|
} |