Files
dragonroll/frontend/app/services/WindowDefinitions.js
BinarySandia04 e6d66529e3
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 52s
ye
2026-04-29 01:32:09 +02:00

49 lines
1.3 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
},
create_note: {
title: "Create note",
component: () => import('~/components/windows/CreateNoteWindow.vue'),
close: () => ClearWindow({type: 'create_note'}),
movable: true
}
}
export {
defWindows
}