All checks were successful
Build and Deploy Nuxt / build (push) Successful in 36s
42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
import { ClearWindow, GetFirstWindowId } from './Windows'
|
|
|
|
/*
|
|
Put here all dragonroll windows
|
|
*/
|
|
const defWindows = {
|
|
example: {
|
|
title: 'windows.example',
|
|
component: () => import('~/components/windows/ExampleWindow.vue'),
|
|
},
|
|
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'),
|
|
movable: true
|
|
},
|
|
settings: {
|
|
title: "windows.settings",
|
|
component: () => import('~/components/windows/SettingsWindow.vue'),
|
|
close: () => ClearWindow({type: 'settings'}),
|
|
movable: true
|
|
},
|
|
create_campaign: {
|
|
title: "windows.create-campaign",
|
|
component: () => import('~/components/windows/CreateCampaignWindow.vue'),
|
|
close: () => ClearWindow({type: 'create_campaign'}),
|
|
movable: true
|
|
}
|
|
}
|
|
|
|
export {
|
|
defWindows
|
|
} |