123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- import type { RouteRecordRaw } from 'vue-router'
- export const isMainRoute = true
- const route: RouteRecordRaw[] = [
- {
- path: '/guided-setup',
- name: 'GuidedSetup',
- component: () => import('./views/GuidedSetup.vue'),
- children: [
- {
- path: '',
- name: 'GuidedSetupStart',
- component: () => import('./views/GuidedSetupStart.vue'),
- meta: {
- title: __('Get Started'),
- requiresAuth: false,
- requiredPermission: null,
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'automated',
- name: 'GuidedSetupAutomatedInfo',
- component: () =>
- import('./views/GuidedSetupAutomated/GuidedSetupAutomatedInfo.vue'),
- meta: {
- title: __('Automated Setup'),
- requiresAuth: false,
- requiredPermission: null,
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'automated/run/:token?',
- name: 'GuidedSetupAutomatedRun',
- props: true,
- component: () =>
- import('./views/GuidedSetupAutomated/GuidedSetupAutomatedRun.vue'),
- meta: {
- title: __('Automated Setup'),
- requiresAuth: false,
- requiredPermission: null,
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'manual',
- name: 'GuidedSetupManual',
- component: () =>
- import('./views/GuidedSetupManual/GuidedSetupManual.vue'),
- children: [
- {
- path: 'admin',
- alias: '',
- name: 'GuidedSetupManualAdmin',
- component: () =>
- import('./views/GuidedSetupManual/GuidedSetupManualAdmin.vue'),
- meta: {
- title: __('Create Administrator Account'),
- requiresAuth: false,
- requiredPermission: null,
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'finish',
- alias: '',
- name: 'GuidedSetupManualFinish',
- component: () =>
- import('./views/GuidedSetupManual/GuidedSetupManualFinish.vue'),
- meta: {
- title: __('Setup Finished'),
- requiresAuth: true,
- requiredPermission: 'admin.wizard',
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'system-information',
- name: 'GuidedSetupManualSystemInformation',
- component: () =>
- import(
- './views/GuidedSetupManual/GuidedSetupManualSystemInformation.vue'
- ),
- meta: {
- title: __('System Information'),
- requiresAuth: true,
- requiredPermission: 'admin.wizard',
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'email-notification',
- name: 'GuidedSetupManualEmailNotification',
- component: () =>
- import(
- './views/GuidedSetupManual/GuidedSetupManualEmailNotification.vue'
- ),
- meta: {
- title: __('Email Notification'),
- requiresAuth: true,
- requiredPermission: 'admin.wizard',
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'channels',
- name: 'GuidedSetupManualChannels',
- component: () =>
- import('./views/GuidedSetupManual/GuidedSetupManualChannels.vue'),
- meta: {
- title: __('Connect Channels'),
- requiresAuth: true,
- requiredPermission: 'admin.wizard',
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'channels/email',
- name: 'GuidedSetupManualChannelEmail',
- component: () =>
- import(
- './views/GuidedSetupManual/GuidedSetupManualChannelEmail.vue'
- ),
- meta: {
- title: __('Email Account'),
- requiresAuth: true,
- requiredPermission: 'admin.wizard',
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'channels/email-pre-configured',
- name: 'GuidedSetupManualChannelEmailPreConfigured',
- component: () =>
- import(
- './views/GuidedSetupManual/GuidedSetupManualChannelEmailPreConfigured.vue'
- ),
- meta: {
- title: __('Connect Channels'),
- requiresAuth: true,
- requiredPermission: 'admin.wizard',
- hasOwnLandmarks: true,
- },
- },
- {
- path: 'invite',
- name: 'GuidedSetupManualInviteColleagues',
- component: () =>
- import(
- './views/GuidedSetupManual/GuidedSetupManualInviteColleagues.vue'
- ),
- meta: {
- title: __('Invite Colleagues'),
- requiresAuth: true,
- requiredPermission: 'admin.wizard',
- hasOwnLandmarks: true,
- },
- },
- ],
- },
- {
- path: 'import',
- name: 'GuidedSetupImport',
- component: () =>
- import('./views/GuidedSetupImport/GuidedSetupImport.vue'),
- children: [
- {
- path: '',
- name: 'GuidedSetupImportSelection',
- component: () =>
- import(
- './views/GuidedSetupImport/GuidedSetupImportSelection.vue'
- ),
- meta: {
- title: __('Import'),
- requiresAuth: false,
- requiredPermission: null,
- hasOwnLandmarks: true,
- },
- },
- {
- path: ':source',
- name: 'GuidedSetupImportSource',
- props: true,
- component: () =>
- import(
- './views/GuidedSetupImport/GuidedSetupImportSource/GuidedSetupImportSource.vue'
- ),
- meta: {
- title: __('Import from Source'),
- requiresAuth: false,
- requiredPermission: null,
- hasOwnLandmarks: true,
- },
- },
- {
- path: ':source/start',
- name: 'GuidedSetupImportSourceStart',
- props: true,
- component: () =>
- import(
- './views/GuidedSetupImport/GuidedSetupImportSource/GuidedSetupImportSourceStart.vue'
- ),
- meta: {
- title: __('Start Import from Source'),
- requiresAuth: false,
- requiredPermission: null,
- hasOwnLandmarks: true,
- },
- },
- {
- path: ':source/status',
- name: 'GuidedSetupImportSourceStatus',
- props: true,
- component: () =>
- import(
- './views/GuidedSetupImport/GuidedSetupImportSource/GuidedSetupImportSourceStatus.vue'
- ),
- meta: {
- title: __('Status Import'),
- requiresAuth: false,
- requiredPermission: null,
- hasOwnLandmarks: true,
- },
- },
- ],
- },
- ],
- },
- ]
- export default route
|