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
}
