OpenSlides/client/src/app/slides/all-slides.ts

154 lines
5.7 KiB
TypeScript
Raw Normal View History

import { SlideManifest } from './slide-manifest';
/**
* Here, all slides has to be registered.
*
* Note: When adding or removing slides here, you may need to restart yarn/npm, because
* the angular CLI scans this file just at it's start time and creates the modules then. There
* is no such thing as "dynamic update" in this case..
*/
export const allSlides: SlideManifest[] = [
2019-02-21 16:15:21 +01:00
{
slide: 'agenda/item-list',
path: 'agenda/item-list',
loadChildren: () => import('./agenda/item-list/item-list-slide.module').then(m => m.ItemListSlideModule),
2019-02-21 16:15:21 +01:00
verboseName: 'Agenda',
elementIdentifiers: ['name'],
canBeMappedToModel: false
},
2019-02-13 10:12:55 +01:00
{
slide: 'topics/topic',
path: 'topics/topic',
loadChildren: () => import('./topics/topic/topic-slide.module').then(m => m.TopicSlideModule),
2019-02-13 10:12:55 +01:00
verboseName: 'Topic',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
},
{
slide: 'motions/motion',
path: 'motions/motion',
loadChildren: () => import('./motions/motion/motion-slide.module').then(m => m.MotionSlideModule),
verboseName: 'Motion',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
},
2019-02-21 12:34:13 +01:00
{
slide: 'motions/motion-block',
path: 'motions/motion-block',
loadChildren: () =>
import('./motions/motion-block/motion-block-slide.module').then(m => m.MotionBlockSlideModule),
2019-02-21 12:34:13 +01:00
verboseName: 'Motion block',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
},
{
slide: 'motions/motion-poll',
path: 'motions/motion-poll',
loadChildren: () => import('./motions/motion-poll/motion-poll-slide.module').then(m => m.MotionPollSlideModule),
2020-03-20 15:05:18 +01:00
verboseName: 'Vote',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
},
{
slide: 'users/user',
path: 'users/user',
loadChildren: () => import('./users/user/user-slide.module').then(m => m.UserSlideModule),
verboseName: 'Participant',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
},
{
slide: 'core/clock',
path: 'core/clock',
loadChildren: () => import('./core/clock/clock-slide.module').then(m => m.ClockSlideModule),
verboseName: 'Clock',
elementIdentifiers: ['name'],
canBeMappedToModel: false
},
{
slide: 'core/countdown',
path: 'core/countdown',
loadChildren: () => import('./core/countdown/countdown-slide.module').then(m => m.CountdownSlideModule),
verboseName: 'Countdown',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
},
{
slide: 'core/projector-message',
path: 'core/projector-message',
loadChildren: () =>
import('./core/projector-message/projector-message-slide.module').then(m => m.ProjectorMessageSlideModule),
verboseName: 'Message',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
},
{
slide: 'agenda/current-list-of-speakers',
path: 'agenda/current-list-of-speakers',
loadChildren: () =>
import('./agenda/current-list-of-speakers/current-list-of-speakers-slide.module').then(
m => m.CurrentListOfSpeakersSlideModule
),
verboseName: 'Current list of speakers',
2019-02-21 17:04:59 +01:00
elementIdentifiers: ['name'],
canBeMappedToModel: false
},
{
slide: 'agenda/current-list-of-speakers-overlay',
path: 'agenda/current-list-of-speakers-overlay',
loadChildren: () =>
import('./agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.module').then(
m => m.CurrentListOfSpeakersOverlaySlideModule
),
verboseName: 'Current list of speakers overlay',
2019-02-21 17:04:59 +01:00
elementIdentifiers: ['name'],
canBeMappedToModel: false
},
{
slide: 'agenda/current-speaker-chyron',
path: 'agenda/current-speaker-chyron',
loadChildren: () =>
import('./agenda/current-speaker-chyron/current-speaker-chyron-slide.module').then(
m => m.CurrentSpeakerChyronSlideModule
),
2019-02-21 17:04:59 +01:00
verboseName: 'Current speaker chyron',
elementIdentifiers: ['name'],
canBeMappedToModel: false
},
2019-02-15 12:17:08 +01:00
{
slide: 'agenda/list-of-speakers',
path: 'agenda/list-of-speakers',
loadChildren: () =>
import('./agenda/list-of-speakers/list-of-speakers-slide.module').then(m => m.ListOfSpeakersSlideModule),
2019-02-15 12:17:08 +01:00
verboseName: 'List of speakers',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: false
},
{
slide: 'assignments/assignment',
path: 'assignments/assignment',
loadChildren: () =>
import('./assignments/assignment/assignment-slide.module').then(m => m.AssignmentSlideModule),
verboseName: 'Election',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
2019-02-15 12:01:16 +01:00
},
2019-04-23 15:04:38 +02:00
{
slide: 'assignments/assignment-poll',
path: 'assignments/assignment-poll',
loadChildren: () =>
import('./assignments/assignment-poll/assignment-poll-slide.module').then(m => m.AssignmentPollSlideModule),
2020-03-20 15:05:18 +01:00
verboseName: 'Ballot',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
2019-04-23 15:04:38 +02:00
},
2019-02-15 12:01:16 +01:00
{
slide: 'mediafiles/mediafile',
path: 'mediafiles/mediafile',
loadChildren: () => import('./mediafiles/mediafile/mediafile-slide.module').then(m => m.MediafileSlideModule),
2019-02-15 12:01:16 +01:00
verboseName: 'File',
elementIdentifiers: ['name', 'id'],
canBeMappedToModel: true
}
];