| import { ListSOP } from '../../../libappsop/listsop'; | 
| import { PanelSOP } from '../../../libappsop/panelsop'; | 
| import { DialogDummy } from '../../dialogs/dialog.dummy'; | 
|   | 
| export class PanelResourceCalendarList extends PanelSOP { | 
|   public static readonly title = 'Resource Calendar Events (List)'; | 
|   public listResourceCalendarOccurences = new ListResourceCalendarOccurrences(); | 
|   public listResourceCalendar = new ListResourceCalendar(); | 
|   | 
|   public constructor() { | 
|     super('FormResourceCalendars.pnlEventsAndOccurrences.pnlEvents'); | 
|   } | 
|   | 
|   /** | 
|    * @override | 
|    */ | 
|   public async switchTo(): Promise<void> { | 
|     await super.switchTo(); | 
|     await this.listResourceCalendarOccurences.waitUntilPresent(); | 
|     await this.listResourceCalendar.waitUntilPresent(); | 
|   } | 
| } | 
|   | 
| export class ListResourceCalendarOccurrences extends ListSOP<DialogDummy, ListResourceCalendarOccurrencesColumn> { | 
|   public static readonly title = 'Occurences'; | 
|   | 
|   public constructor() { | 
|     super('FormResourceCalendars.pnlEventsAndOccurrences.lstOccurrences', new DialogDummy()); | 
|   } | 
| } | 
|   | 
| export interface ListResourceCalendarOccurrencesColumn { | 
|   Start?: string; | 
|   End?: string; | 
| } | 
|   | 
| export class ListResourceCalendar extends ListSOP<DialogDummy, ListResourceCalendarColumn> { | 
|   public static readonly title = 'Resource Calendars Events{List)'; | 
|   | 
|   public constructor() { | 
|     super('FormResourceCalendars.pnlEventsAndOccurrences.lstParticipations', new DialogDummy()); | 
|   } | 
| } | 
|   | 
| export interface ListResourceCalendarColumn { | 
|   Category?: string; | 
|   CalendarID?: string; | 
|   Name?: string; | 
|   Initiator?: string; | 
|   NrOfOccurrences?: string; | 
| } |