2019-02-15 12:17:08 +01:00
|
|
|
import { TranslateService } from '@ngx-translate/core';
|
|
|
|
|
2019-02-14 16:02:18 +01:00
|
|
|
import { SlideDynamicConfiguration, Slide } from './slide-manifest';
|
2019-02-15 12:17:08 +01:00
|
|
|
import { ViewModelStoreService } from 'app/core/core-services/view-model-store.service';
|
|
|
|
import { ProjectorElement } from 'app/shared/models/core/projector';
|
2019-02-14 16:02:18 +01:00
|
|
|
|
|
|
|
export const allSlidesDynamicConfiguration: (SlideDynamicConfiguration & Slide)[] = [
|
2019-02-21 16:15:21 +01:00
|
|
|
{
|
|
|
|
slide: 'agenda/item-list',
|
|
|
|
scaleable: true,
|
|
|
|
scrollable: true
|
|
|
|
},
|
2019-02-14 16:02:18 +01:00
|
|
|
{
|
|
|
|
slide: 'topics/topic',
|
|
|
|
scaleable: true,
|
|
|
|
scrollable: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
slide: 'motions/motion',
|
|
|
|
scaleable: true,
|
|
|
|
scrollable: true
|
|
|
|
},
|
2019-02-21 12:34:13 +01:00
|
|
|
{
|
|
|
|
slide: 'motions/motion-block',
|
|
|
|
scaleable: true,
|
|
|
|
scrollable: true
|
|
|
|
},
|
2019-02-14 16:02:18 +01:00
|
|
|
{
|
|
|
|
slide: 'users/user',
|
|
|
|
scaleable: true,
|
|
|
|
scrollable: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
slide: 'core/clock',
|
|
|
|
scaleable: false,
|
|
|
|
scrollable: false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
slide: 'core/countdown',
|
|
|
|
scaleable: false,
|
|
|
|
scrollable: false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
slide: 'core/projector-message',
|
|
|
|
scaleable: false,
|
|
|
|
scrollable: false
|
|
|
|
},
|
2019-02-15 12:17:08 +01:00
|
|
|
{
|
|
|
|
slide: 'agenda/list-of-speakers',
|
|
|
|
scaleable: true,
|
|
|
|
scrollable: true,
|
|
|
|
getSlideTitle: (
|
|
|
|
element: ProjectorElement,
|
|
|
|
translate: TranslateService,
|
|
|
|
viewModelStore: ViewModelStoreService
|
|
|
|
) => {
|
|
|
|
const item = viewModelStore.get('agenda/item', element.id);
|
2019-03-01 14:28:49 +01:00
|
|
|
let title = translate.instant('List of speakers');
|
2019-02-15 12:17:08 +01:00
|
|
|
if (item) {
|
2019-03-01 14:28:49 +01:00
|
|
|
title = title + ' (' + item.getTitle() + ')';
|
2019-02-15 12:17:08 +01:00
|
|
|
}
|
2019-03-01 14:28:49 +01:00
|
|
|
return title;
|
2019-02-15 12:17:08 +01:00
|
|
|
}
|
|
|
|
},
|
2019-02-14 16:02:18 +01:00
|
|
|
{
|
|
|
|
slide: 'agenda/current-list-of-speakers',
|
|
|
|
scaleable: true,
|
|
|
|
scrollable: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
slide: 'agenda/current-list-of-speakers-overlay',
|
|
|
|
scaleable: false,
|
|
|
|
scrollable: false
|
|
|
|
},
|
2019-02-21 17:04:59 +01:00
|
|
|
{
|
|
|
|
slide: 'agenda/current-speaker-chyron',
|
|
|
|
scaleable: false,
|
|
|
|
scrollable: false
|
|
|
|
},
|
2019-02-14 16:02:18 +01:00
|
|
|
{
|
|
|
|
slide: 'assignments/assignment',
|
|
|
|
scaleable: true,
|
|
|
|
scrollable: true
|
2019-02-15 12:01:16 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
slide: 'mediafiles/mediafile',
|
|
|
|
scaleable: true,
|
|
|
|
scrollable: true
|
2019-02-14 16:02:18 +01:00
|
|
|
}
|
|
|
|
];
|