All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m20s
55 lines
1.4 KiB
JavaScript
55 lines
1.4 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
|
|
},
|
|
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
|
|
}
|
|
}
|
|
|
|
export {
|
|
defWindows
|
|
}
|