Files
dragonroll/frontend/app/services/WindowDefinitions.js
Aran Roig 94e2b8bd47
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 59s
Link support 1/2
2026-05-03 01:02:13 +02:00

43 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
}