Files
dragonroll/frontend/app/services/WindowDefinitions.js
Aran Roig 1402045001
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m51s
Foundry and discord bot
2026-10-11 22:26:29 +02:00

79 lines
2.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
},
campaign_settings: {
title: 'campaigns.settings.title',
component: () => import('~/components/windows/CampaignSettingsWindow.vue'),
close: () => ClearWindow({type: 'campaign_settings'}),
movable: true
},
rename_note: {
title: "Rename Note",
component: () => import('~/components/windows/RenameNoteWindow.vue'),
close: () => ClearWindow({type: 'rename_note'}),
movable: true
},
new_folder: {
title: "New Folder",
component: () => import('~/components/windows/NewFolderWindow.vue'),
close: () => ClearWindow({type: 'new_folder'}),
movable: true
},
new_note: {
title: "New Note",
component: () => import('~/components/windows/NewNoteWindow.vue'),
close: () => ClearWindow({type: 'new_note'}),
movable: true
},
create_campaign_entry: {
title: 'campaigns.create-entry',
component: () => import('~/components/windows/CreateCampaignEntryWindow.vue'),
close: () => ClearWindow({type: 'create_campaign_entry'}),
movable: true
},
character_sheet: {
title: 'campaigns.character-sheet.title',
component: () => import('~/components/windows/CharacterSheetWindow.vue'),
close: () => ClearWindow({type: 'character_sheet'}),
movable: true
}
}
export {
defWindows
}