In Scheduler, we can able to refresh the elements of the template alone instead of the entire scheduler by using the refreshTemplates
public method. We can provide an additional option to refresh specific templates alone or all templates together by using this method. The following template names are accepted as an argument to refresh it specifically.
In the following code example, you can see how to use the refreshTemplates method to refresh multiple templates. Here, we have added the following scheduler templates such as cellTemplate
, dateHeaderTemplate
, eventTemplate
and resourceHeaderTemplate
import { Component, ViewChild, ViewEncapsulation } from '@angular/core';
import { extend, Internationalization } from "@syncfusion/ej2-base";
import {
EventSettingsModel, ScheduleComponent, WeekService, MonthService, TimelineMonthService, ResizeService,
DragAndDropService, View, GroupModel, ResourceDetails
} from "@syncfusion/ej2-angular-schedule";
import { ButtonComponent } from '@syncfusion/ej2-angular-buttons';
import { webinarData } from './datasource.ts';
@Component({
selector: 'app-root',
templateUrl: 'app/app.component.html',
providers: [WeekService, MonthService, TimelineMonthService, ResizeService, DragAndDropService],
styleUrls: ['app/index.css'],
encapsulation: ViewEncapsulation.None
})
export class AppComponent {
@ViewChild('scheduleObj', { static: true })
public scheduleObj: ScheduleComponent;
public eventSettings: EventSettingsModel = { dataSource: extend([], webinarData, null, true) as Record<string, any>[] };
public currentView: View = 'Week';
public readonly = true;
public selectedDate: Date = new Date(2021, 1, 15);
public instance: Internationalization = new Internationalization();
public resourceDataSource: Record<string, any>[] = [
{ text: 'Will Smith', id: 1, color: '#ea7a57', workDays: [1, 2, 4, 5], startHour: '08:00', endHour: '15:00' },
{ text: 'Alice', id: 2, color: 'rgb(53, 124, 210)', workDays: [1, 3, 5], startHour: '08:00', endHour: '17:00' },
{ text: 'Robson', id: 3, color: '#7fa900', startHour: '08:00', endHour: '16:00' }
];
public group: GroupModel = { resources: ['Doctors'] };
constructor() {
}
public getDoctorName(value: ResourceDetails): string {
return ((value as ResourceDetails).resourceData) ?
(value as ResourceDetails).resourceData[(value as ResourceDetails).resource.textField] as string
: value.resourceName;
}
public getDoctorImage(value: ResourceDetails): string {
const resourceName: string = this.getDoctorName(value);
return resourceName.replace(' ', '-').toLowerCase();
}
public getDoctorLevel(value: ResourceDetails): string {
const resourceName: string = this.getDoctorName(value);
return (resourceName === 'Will Smith') ? 'Cardiologist' : (resourceName === 'Alice') ? 'Neurologist' : 'Orthopedic Surgeon';
}
public getWeatherImage(value: Date): string {
switch (value.getDay()) {
case 0:
return '<img class="weather-image" src="https://ej2.syncfusion.com/demos/src/schedule/images/weather-clear.svg"/><div class="weather-text">25°C</div>';
case 1:
return '<img class="weather-image" src="https://ej2.syncfusion.com/demos/src/schedule/images/weather-clouds.svg"/><div class="weather-text">18°C</div>';
case 2:
return '<img class="weather-image" src="https://ej2.syncfusion.com/demos/src/schedule/images/weather-rain.svg"/><div class="weather-text">10°C</div>';
case 3:
return '<img class="weather-image" src="https://ej2.syncfusion.com/demos/src/schedule/images/weather-clouds.svg"/><div class="weather-text">16°C</div>';
case 4:
return '<img class="weather-image" src="https://ej2.syncfusion.com/demos/src/schedule/images/weather-rain.svg"/><div class="weather-text">8°C</div>';
case 5:
return '<img class="weather-image" src="https://ej2.syncfusion.com/demos/src/schedule/images/weather-clear.svg"/><div class="weather-text">27°C</div>';
case 6:
return '<img class="weather-image" src="https://ej2.syncfusion.com/demos/src/schedule/images/weather-clouds.svg"/><div class="weather-text">17°C</div>';
default:
return null;
}
}
public getDateHeaderText(value: Date): string {
return this.instance.formatDate(value, { skeleton: 'Ed' });
}
getMonthCellText(date: Date): string {
if (date.getMonth() === 1 && date.getDate() === 23) {
return '<img src= "https://ej2.syncfusion.com/demos/src/schedule/images/birthday.svg" />';
} else if (date.getMonth() === 1 && date.getDate() === 9) {
return '<img src= "https://ej2.syncfusion.com/demos/src/schedule/images/get-together.svg" />';
} else if (date.getMonth() === 1 && date.getDate() === 13) {
return '<img src= "https://ej2.syncfusion.com/demos/src/schedule/images/birthday.svg" />';
} else if (date.getMonth() === 1 && date.getDate() === 22) {
return '<img src= "https://ej2.syncfusion.com/demos/src/schedule/images/thanksgiving-day.svg" />';
} else if (date.getMonth() === 1 && date.getDate() === 14) {
return '<img src= "https://ej2.syncfusion.com/demos/src/schedule/images/birthday.svg" />';
}
return '';
}
getWorkCellText(date: Date): string {
let weekEnds: number[] = [0, 6];
if (weekEnds.indexOf(date.getDay()) >= 0) {
return "<span class='caption'>Weekend</span>";
}
return '';
}
public getTimeString(value: Date): string {
return this.instance.formatDate(value, { skeleton: 'hm' });
}
refreshCellTemplate(): void {
this.scheduleObj.refreshTemplates("cellTemplate");
}
refreshDateHeaderTemplate(): void {
this.scheduleObj.refreshTemplates("dateHeaderTemplate");
}
refreshEventTemplate(): void {
this.scheduleObj.refreshTemplates("eventTemplate");
}
refreshResHeaderTemplate(): void {
this.scheduleObj.refreshTemplates("resourceHeaderTemplate");
}
refreshAllTemplate(): void {
this.scheduleObj.refreshTemplates();
}
}
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { ScheduleModule } from '@syncfusion/ej2-angular-schedule';
import { CheckBoxAllModule, ButtonModule } from '@syncfusion/ej2-angular-buttons';
import { TimePickerModule } from '@syncfusion/ej2-angular-calendars';
import { WeekService, MonthService, TimelineMonthService } from '@syncfusion/ej2-angular-schedule';
import { AppComponent } from './app.component';
/**
* Module
*/
@NgModule({
imports: [
BrowserModule,
ScheduleModule,
TimePickerModule,
CheckBoxAllModule,
ButtonModule
],
declarations: [AppComponent],
bootstrap: [AppComponent],
providers: [WeekService, MonthService, TimelineMonthService]
})
export class AppModule { }
/**
* Schedule datasource spec
*/
export let webinarData: Record<string, any>[] = [
{
Id: 1,
Subject: 'Environment Day',
Tags: 'Eco day, Forest conserving, Earth & its resources',
Description: 'A day that creates awareness to promote the healthy planet and reduce the air pollution crisis on nature earth.',
StartTime: new Date(2021, 1, 15, 9, 0),
EndTime: new Date(2021, 1, 15, 14, 0),
ImageName: 'environment-day',
PrimaryColor: '#1aaa55',
SecondaryColor: '#47bb76',
DoctorId: 1
}, {
Id: 2,
Subject: 'Health Day',
Tags: 'Reduce mental stress, Follow good food habits',
Description: 'A day that raises awareness on different health issues. It marks the anniversary of the foundation of WHO.',
StartTime: new Date(2021, 1, 16, 9, 0),
EndTime: new Date(2021, 1, 16, 14, 0),
ImageName: 'health-day',
PrimaryColor: '#357cd2',
SecondaryColor: '#5d96db',
DoctorId: 2
}, {
Id: 3,
Subject: 'Cancer Day',
Tags: 'Life threatening cancer effects, Palliative care',
Description: 'A day that raises awareness on cancer and its preventive measures. Early detection saves life.',
StartTime: new Date(2021, 1, 17, 9, 0),
EndTime: new Date(2021, 1, 17, 14, 0),
ImageName: 'cancer-day',
PrimaryColor: '#7fa900',
SecondaryColor: '#a4c932',
DoctorId: 3
}
];
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from '@angular/core';
import { AppModule } from './app.module';
enableProdMode();
platformBrowserDynamic().bootstrapModule(AppModule);
<div>
<div style="display: flex;">
<div style="padding-right: 10px;">
<button ejs-button cssClass='e-info' (click)='refreshCellTemplate()'> Refresh
cellTemplate </button>
</div>
<div style="padding-right: 10px;">
<button ejs-button cssClass='e-info' (click)='refreshDateHeaderTemplate()'> Refresh
dateHeaderTemplate </button>
</div>
<div style="padding-right: 10px;">
<button ejs-button cssClass='e-info' (click)='refreshEventTemplate()'> Refresh
eventTemplate </button>
</div>
<div style="padding-right: 10px;">
<button ejs-button cssClass='e-info' (click)='refreshResHeaderTemplate()'> Refresh
resourceHeaderTemplate </button>
</div>
<div style="padding-right: 10px;">
<button #allTempObj ejs-button cssClass='e-info' (click)='refreshAllTemplate()'> Refresh All
Template </button>
</div>
</div>
<div>
<ejs-schedule #scheduleObj width='auto' height='520px' [selectedDate]="selectedDate"
[(currentView)]="currentView" [eventSettings]="eventSettings" [group]="group" [readonly]='readonly'>
<ng-template #resourceHeaderTemplate let-data>
<div class='res-template-wrap'>
<div class="resource-image {{getDoctorImage(data)}}"></div>
<div class="resource-details">
<div class="resource-name">{{getDoctorName(data)}}</div>
<div class="resource-designation">{{getDoctorLevel(data)}}</div>
</div>
</div>
</ng-template>
<ng-template #dateHeaderTemplate let-data>
<div class="date-text">{{getDateHeaderText(data.date)}}</div>
<div [innerHTML]="getWeatherImage(data.date)"></div>
</ng-template>
<ng-template #cellTemplate let-data>
<div class="cell-template-wrap" *ngIf="data.type == 'workCells'"
[innerHTML]="getWorkCellText(data.date)">
</div>
<div class="cell-template-wrap" *ngIf="data.type == 'monthCells'"
[innerHTML]="getMonthCellText(data.date)">
</div>
</ng-template>
<e-views>
<e-view option="Week">
<ng-template #eventTemplate let-data>
<div class='app-template-wrap' [style.background]="data.SecondaryColor">
<div class="subject" [style.background]="data.PrimaryColor">{{data.Subject}}</div>
<div class="time" [style.background]="data.PrimaryColor">Time:
{{getTimeString(data.StartTime)}}
-
{{getTimeString(data.EndTime)}}</div>
<div class="image">
<img src="https://ej2.syncfusion.com/demos/src/schedule/images/{{data.ImageName}}.svg"
alt="{{ImageName}}" />
</div>
<div class="description">{{data.Description}}</div>
<div class="footer" [style.background]="data.PrimaryColor"></div>
</div>
</ng-template>
</e-view>
<e-view option="Month"></e-view>
<e-view option="TimelineMonth"></e-view>
</e-views>
<e-resources>
<e-resource field='DoctorId' title='Doctor Name' name='Doctors' [dataSource]='resourceDataSource'
textField='text' idField='id' colorField='color' workDaysField='workDays' startHourField='startHour'
endHourField='endHour'>
</e-resource>
</e-resources>
</ejs-schedule>
</div>
</div>
.templatewrap {
text-align: center;
width: 100%;
}
.templatewrap img {
width: 20px;
height: 20px;
}
.e-schedule .e-vertical-view .e-header-cells, .e-schedule .e-timeline-month-view .e-header-cells {
height: 71px;
text-align: center;
}
.e-schedule .e-vertical-view .e-resource-cells, .e-schedule .e-timeline-month-view .e-resource-cells {
height: 62px;
}
.caption {
opacity: 0.5;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
}
.e-schedule .e-month-view .e-work-cells {
position: relative;
}
.e-schedule .e-month-view .res-template-wrap {
/* text-align: center; */
width: 100%;
}
.e-schedule .e-month-view .res-template-wrap img {
width: 40px;
height: 40px;
}
.e-schedule .e-timeline-month-view .res-template-wrap {
width: 100%;
}
.e-schedule .e-timeline-month-view .res-template-wrap img {
width: 50px;
height: 50px;
}
.e-schedule .e-month-view .weather-image {
float: right;
margin: -20px 2px 0 0;
width: 20px;
height: 20px;
}
/* event template */
.e-schedule .e-vertical-view .e-content-wrap .e-appointment {
border-radius: 8px;
}
.e-schedule .e-vertical-view .e-content-wrap .e-appointment .e-appointment-details {
padding: 0;
height: 100%;
}
.e-schedule .app-template-wrap {
height: 100%;
white-space: normal;
}
.e-schedule .app-template-wrap .image {
text-align: center;
padding: 8px 0 4px;
}
.e-schedule .app-template-wrap .image img {
height: 100%;
width: 100%;
}
.e-schedule .app-template-wrap .subject {
font-weight: 600;
font-size: 15px;
padding: 4px 4px 4px;
height: 25px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.e-schedule .app-template-wrap .time {
height: 50px;
}
.e-schedule .app-template-wrap .time, .e-schedule .app-template-wrap .description {
font-size: 12px;
padding: 4px 6px 4px;
overflow: hidden;
}
.e-schedule .app-template-wrap .footer {
position: absolute;
bottom: 0;
height: 50px;
width: 100%;
}
/* resource header template */
.e-schedule .res-template-wrap {
display: flex;
}
.e-schedule .res-template-wrap .will-smith {
background-image: url('https://ej2.syncfusion.com/demos/src/schedule/images/will-smith.png');
}
.e-schedule .res-template-wrap .alice {
background-image: url('https://ej2.syncfusion.com/demos/src/schedule/images/alice.png');
}
.e-schedule .res-template-wrap .robson {
background-image: url('https://ej2.syncfusion.com/demos/src/schedule/images/robson.png');
}
.e-schedule .res-template-wrap .resource-image {
background-repeat: no-repeat;
background-size: 45px;
height: 45px;
width: 45px;
}
.e-schedule .res-template-wrap .resource-details {
padding-left: 10px;
}
.e-schedule .res-template-wrap .resource-details .resource-name {
font-size: 16px;
font-weight: 500;
margin-top: 5px;
}
.e-device .res-template-wrap .resource-details .resource-name {
font-size: inherit;
font-weight: inherit;
}
/* month cell template */
.e-schedule .e-month-view .e-work-cells {
position: relative;
}
.e-schedule .cell-template-wrap {
text-align: center;
/* position: absolute; */
/* width: 100%; */
}
.e-schedule .cell-template-wrap img {
width: 30px;
height: 30px;
}
.e-schedule .caption {
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
}
In Scheduler, we can able to refresh the layout manually without re-render the DOM element by using the refreshLayout
public method. The following example code explains to know how to use the refreshLayout method.
import { Component, ViewChild } from '@angular/core';
import { ScheduleComponent, EventSettingsModel, DayService, WeekService, WorkWeekService, MonthService, View } from '@syncfusion/ej2-angular-schedule';
import { ButtonComponent } from '@syncfusion/ej2-angular-buttons';
@Component({
selector: 'app-root',
providers: [DayService, WeekService, WorkWeekService, MonthService],
// specifies the template string for the Schedule component
template: `<button #refButton ejs-button id="refButton" cssClass='e-info' content="Refresh Layout" (click)="onButtonClick()"></button>
<ejs-schedule #scheduleObj width='100%' height='520px' [selectedDate]="selectedDate" [eventSettings]="eventSettings"></ejs-schedule>`
})
export class AppComponent {
@ViewChild("scheduleObj")
public scheduleObj: ScheduleComponent;
@ViewChild("refButton")
public refButton: ButtonComponent;
public selectedDate: Date = new Date(2021, 10, 15);
public eventSettings: EventSettingsModel = {
dataSource: [{
Id: 1,
Subject: 'Testing',
StartTime: new Date(2021, 10, 16, 10, 0),
EndTime: new Date(2021, 10, 16, 12, 0),
IsAllDay: false
}, {
Id: 2,
Subject: 'Vacation',
StartTime: new Date(2021, 10, 18, 10, 0),
EndTime: new Date(2021, 10, 18, 12, 0),
IsAllDay: false
}]
}
public onButtonClick(): void {
this.scheduleObj.refreshLayout();
this.refButton.element.setAttribute('disabled', 'true');
}
}
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { ScheduleModule } from '@syncfusion/ej2-angular-schedule';
import { ButtonModule } from '@syncfusion/ej2-angular-buttons';
import { DayService, WeekService, WorkWeekService, MonthService, AgendaService, MonthAgendaService} from '@syncfusion/ej2-angular-schedule';
import { AppComponent } from './app.component';
/**
* Module
*/
@NgModule({
imports: [
BrowserModule,
ScheduleModule,
ButtonModule
],
declarations: [AppComponent],
bootstrap: [AppComponent],
providers: [DayService,
WeekService,
WorkWeekService,
MonthService,
AgendaService,
MonthAgendaService]
})
export class AppModule { }
export let fifaEventsData: Object[] = [
{
Id: 1,
Subject: 'RUSSIA vs SAUDI ARABIA',
Description: 'Group A',
StartTime: new Date(2018, 5, 14, 15, 0),
EndTime: new Date(2018, 5, 14, 17, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Moscow',
CategoryColor: '#1aaa55',
GroupId: 1
}, {
Id: 2,
Subject: 'EGYPT vs URUGUAY',
Description: 'Group A',
StartTime: new Date(2018, 5, 15, 12, 0),
EndTime: new Date(2018, 5, 15, 14, 0),
StartTimezone: 'Asia/Yekaterinburg',
EndTimezone: 'Asia/Yekaterinburg',
City: 'Ekaterinburg',
CategoryColor: '#1aaa55',
GroupId: 1
}, {
Id: 3,
Subject: 'MOROCCO vs IR IRAN',
Description: 'Group B',
StartTime: new Date(2018, 5, 15, 15, 0),
EndTime: new Date(2018, 5, 15, 17, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Saint Petersburg',
CategoryColor: '#357cd2',
GroupId: 2
}, {
Id: 4,
Subject: 'PORTUGAL vs SPAIN',
Description: 'Group B',
StartTime: new Date(2018, 5, 15, 18, 0),
EndTime: new Date(2018, 5, 15, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Sochi',
CategoryColor: '#357cd2',
GroupId: 2
}, {
Id: 5,
Subject: 'FRANCE vs AUSTRALIA',
Description: 'Group C',
StartTime: new Date(2018, 5, 16, 10, 0),
EndTime: new Date(2018, 5, 16, 12, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Kazan',
CategoryColor: '#7fa900',
GroupId: 3
}, {
Id: 6,
Subject: 'ARGENTINA vs ICELAND',
Description: 'Group D',
StartTime: new Date(2018, 5, 16, 13, 0),
EndTime: new Date(2018, 5, 16, 15, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Moscow',
CategoryColor: '#ea7a57',
GroupId: 4
}, {
Id: 7,
Subject: 'PERU vs DENMARK',
Description: 'Group C',
StartTime: new Date(2018, 5, 16, 16, 0),
EndTime: new Date(2018, 5, 16, 18, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Saransk',
CategoryColor: '#7fa900',
GroupId: 3
}, {
Id: 8,
Subject: 'CROATIA vs NIGERIA',
Description: 'Group D',
StartTime: new Date(2018, 5, 16, 19, 0),
EndTime: new Date(2018, 5, 16, 21, 0),
StartTimezone: 'Europe/Kaliningrad',
EndTimezone: 'Europe/Kaliningrad',
City: 'Kaliningrad',
CategoryColor: '#ea7a57',
GroupId: 4
}, {
Id: 9,
Subject: 'COSTA RICA vs SERBIA',
Description: 'Group E',
StartTime: new Date(2018, 5, 17, 12, 0),
EndTime: new Date(2018, 5, 17, 14, 0),
StartTimezone: 'Europe/Samara',
EndTimezone: 'Europe/Samara',
City: 'Samara',
CategoryColor: '#00bdae',
GroupId: 5
}, {
Id: 10,
Subject: 'GERMANY vs MEXICO',
Description: 'Group F',
StartTime: new Date(2018, 5, 17, 15, 0),
EndTime: new Date(2018, 5, 17, 17, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Moscow',
CategoryColor: '#f57f17',
GroupId: 6
}, {
Id: 11,
Subject: 'BRAZIL vs SWITZERLAND',
Description: 'Group E',
StartTime: new Date(2018, 5, 17, 18, 0),
EndTime: new Date(2018, 5, 17, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Rostov-On-Don',
CategoryColor: '#00bdae',
GroupId: 5
}, {
Id: 12,
Subject: 'SWEDEN vs KOREA REPUBLIC',
Description: 'Group F',
StartTime: new Date(2018, 5, 18, 12, 0),
EndTime: new Date(2018, 5, 18, 14, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Nizhny Novgorod',
CategoryColor: '#f57f17',
GroupId: 6
}, {
Id: 13,
Subject: 'BELGIUM vs PANAMA',
Description: 'Group G',
StartTime: new Date(2018, 5, 18, 15, 0),
EndTime: new Date(2018, 5, 18, 17, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Sochi',
CategoryColor: '#8e24aa',
GroupId: 7
}, {
Id: 14,
Subject: 'TUNISIA vs ENGLAND',
Description: 'Group G',
StartTime: new Date(2018, 5, 18, 18, 0),
EndTime: new Date(2018, 5, 18, 20, 0),
StartTimezone: 'Europe/Volgograd',
EndTimezone: 'Europe/Volgograd',
City: 'Volgograd',
CategoryColor: '#8e24aa',
GroupId: 7
}, {
Id: 15,
Subject: 'COLOMBIA vs JAPAN',
Description: 'Group H',
StartTime: new Date(2018, 5, 19, 12, 0),
EndTime: new Date(2018, 5, 19, 14, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Saransk',
CategoryColor: '#7fa900',
GroupId: 8
}, {
Id: 16,
Subject: 'POLAND vs SENEGAL',
Description: 'Group H',
StartTime: new Date(2018, 5, 19, 15, 0),
EndTime: new Date(2018, 5, 19, 17, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Moscow',
CategoryColor: '#7fa900',
GroupId: 8
}, {
Id: 17,
Subject: 'RUSSIA vs EGYPT',
Description: 'Group A',
StartTime: new Date(2018, 5, 19, 18, 0),
EndTime: new Date(2018, 5, 19, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Saint Petersburg',
CategoryColor: '#1aaa55',
GroupId: 1
}, {
Id: 18,
Subject: 'PORTUGAL vs MOROCCO',
Description: 'Group B',
StartTime: new Date(2018, 5, 20, 12, 0),
EndTime: new Date(2018, 5, 20, 14, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Rostov-On-Don',
CategoryColor: '#357cd2',
GroupId: 2
}, {
Id: 19,
Subject: 'URUGUAY vs SAUDI ARABIA',
Description: 'Group A',
StartTime: new Date(2018, 5, 20, 15, 0),
EndTime: new Date(2018, 5, 20, 17, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Moscow',
CategoryColor: '#1aaa55',
GroupId: 1
}, {
Id: 20,
Subject: 'IR IRAN vs SPAIN',
Description: 'Group B',
StartTime: new Date(2018, 5, 20, 18, 0),
EndTime: new Date(2018, 5, 20, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Kazan',
CategoryColor: '#357cd2',
GroupId: 2
}, {
Id: 21,
Subject: 'DENMARK vs AUSTRALIA',
Description: 'Group C',
StartTime: new Date(2018, 5, 21, 12, 0),
EndTime: new Date(2018, 5, 21, 14, 0),
StartTimezone: 'Europe/Samara',
EndTimezone: 'Europe/Samara',
City: 'Samara',
CategoryColor: '#7fa900',
GroupId: 3
}, {
Id: 22,
Subject: 'FRANCE vs PERU',
Description: 'Group D',
StartTime: new Date(2018, 5, 21, 15, 0),
EndTime: new Date(2018, 5, 21, 17, 0),
StartTimezone: 'Asia/Yekaterinburg',
EndTimezone: 'Asia/Yekaterinburg',
City: 'Ekaterinburg',
CategoryColor: '#ea7a57',
GroupId: 4
}, {
Id: 23,
Subject: 'ARGENTINA vs CROATIA',
Description: 'Group D',
StartTime: new Date(2018, 5, 21, 18, 0),
EndTime: new Date(2018, 5, 21, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Nizhny Novgorod',
CategoryColor: '#ea7a57',
GroupId: 4
}, {
Id: 24,
Subject: 'BRAZIL vs COSTA RICA',
Description: 'Group E',
StartTime: new Date(2018, 5, 22, 12, 0),
EndTime: new Date(2018, 5, 22, 14, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Saint Petersburg',
CategoryColor: '#00bdae',
GroupId: 5
}, {
Id: 25,
Subject: 'NIGERIA vs ICELAND',
Description: 'Group D',
StartTime: new Date(2018, 5, 22, 15, 0),
EndTime: new Date(2018, 5, 22, 17, 0),
StartTimezone: 'Europe/Volgograd',
EndTimezone: 'Europe/Volgograd',
City: 'Volgograd',
CategoryColor: '#ea7a57',
GroupId: 4
}, {
Id: 26,
Subject: 'SERBIA vs SWITZERLAND',
Description: 'Group E',
StartTime: new Date(2018, 5, 22, 18, 0),
EndTime: new Date(2018, 5, 22, 20, 0),
StartTimezone: 'Europe/Kaliningrad',
EndTimezone: 'Europe/Kaliningrad',
City: 'Kaliningrad',
CategoryColor: '#00bdae',
GroupId: 5
}, {
Id: 27,
Subject: 'BELGIUM vs TUNISIA',
Description: 'Group G',
StartTime: new Date(2018, 5, 23, 12, 0),
EndTime: new Date(2018, 5, 23, 14, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Moscow',
CategoryColor: '#8e24aa',
GroupId: 7
}, {
Id: 28,
Subject: 'KOREA REPUBLIC vs MEXICO',
Description: 'Group F',
StartTime: new Date(2018, 5, 23, 15, 0),
EndTime: new Date(2018, 5, 23, 17, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Rostov-On-Don',
CategoryColor: '#f57f17',
GroupId: 6
}, {
Id: 29,
Subject: 'GERMANY vs SWEDEN',
Description: 'Group F',
StartTime: new Date(2018, 5, 23, 18, 0),
EndTime: new Date(2018, 5, 23, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Sochi',
CategoryColor: '#f57f17',
GroupId: 6
}, {
Id: 30,
Subject: 'ENGLAND vs PANAMA',
Description: 'Group G',
StartTime: new Date(2018, 5, 24, 12, 0),
EndTime: new Date(2018, 5, 24, 14, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Nizhny Novgorod',
CategoryColor: '#8e24aa',
GroupId: 7
}, {
Id: 31,
Subject: 'JAPAN vs SENEGAL',
Description: 'Group H',
StartTime: new Date(2018, 5, 24, 15, 0),
EndTime: new Date(2018, 5, 24, 17, 0),
StartTimezone: 'Asia/Yekaterinburg',
EndTimezone: 'Asia/Yekaterinburg',
City: 'Ekaterinburg',
CategoryColor: '#7fa900',
GroupId: 8
}, {
Id: 32,
Subject: 'POLAND vs COLOMBIA',
Description: 'Group H',
StartTime: new Date(2018, 5, 24, 18, 0),
EndTime: new Date(2018, 5, 24, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Kazan',
CategoryColor: '#7fa900',
GroupId: 8
}, {
Id: 33,
Subject: 'URUGUAY vs RUSSIA',
Description: 'Group A',
StartTime: new Date(2018, 5, 25, 14, 0),
EndTime: new Date(2018, 5, 25, 16, 0),
StartTimezone: 'Europe/Samara',
EndTimezone: 'Europe/Samara',
City: 'Samara',
CategoryColor: '#1aaa55',
GroupId: 1
}, {
Id: 34,
Subject: 'SAUDI ARABIA vs EGYPT',
Description: 'Group A',
StartTime: new Date(2018, 5, 25, 14, 0),
EndTime: new Date(2018, 5, 25, 16, 0),
StartTimezone: 'Europe/Volgograd',
EndTimezone: 'Europe/Volgograd',
City: 'Volgograd',
CategoryColor: '#1aaa55',
GroupId: 1
}, {
Id: 35,
Subject: 'IR IRAN vs PORTUGAL',
Description: 'Group B',
StartTime: new Date(2018, 5, 25, 18, 0),
EndTime: new Date(2018, 5, 25, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Saransk',
CategoryColor: '#357cd2',
GroupId: 2
}, {
Id: 36,
Subject: 'SPAIN vs MOROCCO',
Description: 'Group B',
StartTime: new Date(2018, 5, 25, 18, 0),
EndTime: new Date(2018, 5, 25, 20, 0),
StartTimezone: 'Europe/Kaliningrad',
EndTimezone: 'Europe/Kaliningrad',
City: 'Kaliningrad',
CategoryColor: '#357cd2',
GroupId: 2
}, {
Id: 37,
Subject: 'DENMARK vs FRANCE',
Description: 'Group C',
StartTime: new Date(2018, 5, 26, 14, 0),
EndTime: new Date(2018, 5, 26, 16, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Moscow',
CategoryColor: '#7fa900',
GroupId: 3
}, {
Id: 38,
Subject: 'AUSTRALIA vs PERU',
Description: 'Group C',
StartTime: new Date(2018, 5, 26, 14, 0),
EndTime: new Date(2018, 5, 26, 16, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Sochi',
CategoryColor: '#7fa900',
GroupId: 3
}, {
Id: 39,
Subject: 'NIGERIA vs ARGENTINA',
Description: 'Group D',
StartTime: new Date(2018, 5, 26, 18, 0),
EndTime: new Date(2018, 5, 26, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Saint Petersburg',
CategoryColor: '#ea7a57',
GroupId: 4
}, {
Id: 40,
Subject: 'ICELAND vs CROATIA',
Description: 'Group D',
StartTime: new Date(2018, 5, 26, 18, 0),
EndTime: new Date(2018, 5, 26, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Rostov-On-Don',
CategoryColor: '#ea7a57',
GroupId: 4
}, {
Id: 41,
Subject: 'MEXICO vs SWEDEN',
Description: 'Group F',
StartTime: new Date(2018, 5, 27, 14, 0),
EndTime: new Date(2018, 5, 27, 16, 0),
StartTimezone: 'Asia/Yekaterinburg',
EndTimezone: 'Asia/Yekaterinburg',
City: 'Ekaterinburg',
CategoryColor: '#f57f17',
GroupId: 6
}, {
Id: 42,
Subject: 'KOREA REPUBLIC vs GERMANY',
Description: 'Group F',
StartTime: new Date(2018, 5, 27, 14, 0),
EndTime: new Date(2018, 5, 27, 16, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Kazan',
CategoryColor: '#f57f17',
GroupId: 6
}, {
Id: 43,
Subject: 'SERBIA vs BRAZIL',
Description: 'Group E',
StartTime: new Date(2018, 5, 27, 18, 0),
EndTime: new Date(2018, 5, 27, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Moscow',
CategoryColor: '#00bdae',
GroupId: 5
}, {
Id: 44,
Subject: 'SWITZERLAND vs COSTA RICA',
Description: 'Group E',
StartTime: new Date(2018, 5, 27, 18, 0),
EndTime: new Date(2018, 5, 27, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Nizhny Novgorod',
CategoryColor: '#00bdae',
GroupId: 5
}, {
Id: 45,
Subject: 'JAPAN vs POLAND',
Description: 'Group H',
StartTime: new Date(2018, 5, 28, 14, 0),
EndTime: new Date(2018, 5, 28, 16, 0),
StartTimezone: 'Europe/Volgograd',
EndTimezone: 'Europe/Volgograd',
City: 'Volgograd',
CategoryColor: '#7fa900',
GroupId: 8
}, {
Id: 46,
Subject: 'SENEGAL vs COLOMBIA',
Description: 'Group H',
StartTime: new Date(2018, 5, 28, 14, 0),
EndTime: new Date(2018, 5, 28, 16, 0),
StartTimezone: 'Europe/Samara',
EndTimezone: 'Europe/Samara',
City: 'Samara',
CategoryColor: '#7fa900',
GroupId: 8
}, {
Id: 47,
Subject: 'PANAMA vs TUNISIA',
Description: 'Group G',
StartTime: new Date(2018, 5, 28, 18, 0),
EndTime: new Date(2018, 5, 28, 20, 0),
StartTimezone: 'Europe/Moscow',
EndTimezone: 'Europe/Moscow',
City: 'Saransk',
CategoryColor: '#8e24aa',
GroupId: 4
}, {
Id: 48,
Subject: 'ENGLAND vs BELGIUM',
Description: 'Group G',
StartTime: new Date(2018, 5, 28, 18, 0),
EndTime: new Date(2018, 5, 28, 20, 0),
StartTimezone: 'Europe/Kaliningrad',
EndTimezone: 'Europe/Kaliningrad',
City: 'Kaliningrad',
CategoryColor: '#8e24aa',
GroupId: 4
}
];
export let scheduleData: Object[] = [
{
Id: 1,
Subject: 'Explosion of Betelgeuse Star',
StartTime: new Date(2018, 1, 11, 9, 30),
EndTime: new Date(2018, 1, 11, 11, 0),
CategoryColor: '#1aaa55'
}, {
Id: 2,
Subject: 'Thule Air Crash Report',
StartTime: new Date(2018, 1, 12, 12, 0),
EndTime: new Date(2018, 1, 12, 14, 0),
CategoryColor: '#357cd2'
}, {
Id: 3,
Subject: 'Blue Moon Eclipse',
StartTime: new Date(2018, 1, 13, 9, 30),
EndTime: new Date(2018, 1, 13, 11, 0),
CategoryColor: '#7fa900'
}, {
Id: 4,
Subject: 'Meteor Showers in 2018',
StartTime: new Date(2018, 1, 14, 13, 0),
EndTime: new Date(2018, 1, 14, 14, 30),
CategoryColor: '#ea7a57'
}, {
Id: 5,
Subject: 'Milky Way as Melting pot',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#00bdae'
}, {
Id: 6,
Subject: 'Mysteries of Bermuda Triangle',
StartTime: new Date(2018, 1, 15, 9, 30),
EndTime: new Date(2018, 1, 15, 11, 0),
CategoryColor: '#f57f17'
}, {
Id: 7,
Subject: 'Glaciers and Snowflakes',
StartTime: new Date(2018, 1, 16, 11, 0),
EndTime: new Date(2018, 1, 16, 12, 30),
CategoryColor: '#1aaa55'
}, {
Id: 8,
Subject: 'Life on Mars',
StartTime: new Date(2018, 1, 17, 9, 0),
EndTime: new Date(2018, 1, 17, 10, 0),
CategoryColor: '#357cd2'
}, {
Id: 9,
Subject: 'Alien Civilization',
StartTime: new Date(2018, 1, 19, 11, 0),
EndTime: new Date(2018, 1, 19, 13, 0),
CategoryColor: '#7fa900'
}, {
Id: 10,
Subject: 'Wildlife Galleries',
StartTime: new Date(2018, 1, 21, 11, 0),
EndTime: new Date(2018, 1, 21, 13, 0),
CategoryColor: '#ea7a57'
}, {
Id: 11,
Subject: 'Best Photography 2018',
StartTime: new Date(2018, 1, 22, 9, 30),
EndTime: new Date(2018, 1, 22, 11, 0),
CategoryColor: '#00bdae'
}, {
Id: 12,
Subject: 'Smarter Puppies',
StartTime: new Date(2018, 1, 9, 10, 0),
EndTime: new Date(2018, 1, 9, 11, 30),
CategoryColor: '#f57f17'
}, {
Id: 13,
Subject: 'Myths of Andromeda Galaxy',
StartTime: new Date(2018, 1, 7, 10, 30),
EndTime: new Date(2018, 1, 7, 12, 30),
CategoryColor: '#1aaa55'
}, {
Id: 14,
Subject: 'Aliens vs Humans',
StartTime: new Date(2018, 1, 5, 10, 0),
EndTime: new Date(2018, 1, 5, 11, 30),
CategoryColor: '#357cd2'
}, {
Id: 15,
Subject: 'Facts of Humming Birds',
StartTime: new Date(2018, 1, 20, 9, 30),
EndTime: new Date(2018, 1, 20, 11, 0),
CategoryColor: '#7fa900'
}, {
Id: 16,
Subject: 'Sky Gazers',
StartTime: new Date(2018, 1, 23, 11, 0),
EndTime: new Date(2018, 1, 23, 13, 0),
CategoryColor: '#ea7a57'
}, {
Id: 17,
Subject: 'The Cycle of Seasons',
StartTime: new Date(2018, 1, 12, 5, 30),
EndTime: new Date(2018, 1, 12, 7, 30),
CategoryColor: '#00bdae'
}, {
Id: 18,
Subject: 'Space Galaxies and Planets',
StartTime: new Date(2018, 1, 12, 17, 0),
EndTime: new Date(2018, 1, 12, 18, 30),
CategoryColor: '#f57f17'
}, {
Id: 19,
Subject: 'Lifecycle of Bumblebee',
StartTime: new Date(2018, 1, 15, 6, 0),
EndTime: new Date(2018, 1, 15, 7, 30),
CategoryColor: '#7fa900'
}, {
Id: 20,
Subject: 'Sky Gazers',
StartTime: new Date(2018, 1, 15, 16, 0),
EndTime: new Date(2018, 1, 15, 18, 0),
CategoryColor: '#ea7a57'
}
];
export let timeZoneData: Object[] = [
{
Id: 1,
Subject: "Explosion of Betelgeuse Star",
StartTime: "2018-02-11T14:00:00.000Z",
EndTime: "2018-02-11T15:30:00.000Z",
CategoryColor: "#1aaa55"
}, {
Id: 2,
Subject: "Thule Air Crash Report",
StartTime: "2018-02-12T16:30:00.000Z",
EndTime: "2018-02-12T18:30:00.000Z",
CategoryColor: "#357cd2"
}, {
Id: 3,
Subject: "Blue Moon Eclipse",
StartTime: "2018-02-13T14:00:00.000Z",
EndTime: "2018-02-13T15:30:00.000Z",
CategoryColor: "#7fa900"
}, {
Id: 4,
Subject: "Meteor Showers in 2018",
StartTime: "2018-02-14T17:30:00.000Z",
EndTime: "2018-02-14T19:00:00.000Z",
CategoryColor: "#ea7a57"
}, {
Id: 5,
Subject: "Milky Way as Melting pot",
StartTime: "2018-02-15T16:30:00.000Z",
EndTime: "2018-02-15T018:30:00.000Z",
CategoryColor: "#00bdae"
}, {
Id: 6,
Subject: "Mysteries of Bermuda Triangle",
StartTime: "2018-02-15T14:00:00.000Z",
EndTime: "2018-02-15T15:30:00.000Z",
CategoryColor: "#f57f17"
}, {
Id: 7,
Subject: "Glaciers and Snowflakes",
StartTime: "2018-02-16T15:30:00.000Z",
EndTime: "2018-02-16T017:00:00.000Z",
CategoryColor: "#1aaa55"
}, {
Id: 8,
Subject: "Life on Mars",
StartTime: "2018-02-17T13:30:00.000Z",
EndTime: "2018-02-17T14:30:00.000Z",
CategoryColor: "#357cd2"
}, {
Id: 9,
Subject: "Alien Civilization",
StartTime: "2018-02-19T15:30:00.000Z",
EndTime: "2018-02-19T17:30:00.000Z",
CategoryColor: "#7fa900"
}, {
Id: 10,
Subject: "Wildlife Galleries",
StartTime: "2018-02-21T15:30:00.000Z",
EndTime: "2018-02-21T17:30:00.000Z",
CategoryColor: "#ea7a57"
}, {
Id: 11,
Subject: "Best Photography 2018",
StartTime: "2018-02-22T14:00:00.000Z",
EndTime: "2018-02-22T15:30:00.000Z",
CategoryColor: "#00bdae"
}, {
Id: 12,
Subject: "Smarter Puppies",
StartTime: "2018-02-09T14:30:00.000Z",
EndTime: "2018-02-09T16:00:00.000Z",
CategoryColor: "#f57f17"
}, {
Id: 13,
Subject: "Myths of Andromeda Galaxy",
StartTime: "2018-02-07T15:00:00.000Z",
EndTime: "2018-02-07T17:00:00.000Z",
CategoryColor: "#1aaa55"
}, {
Id: 14,
Subject: "Aliens vs Humans",
StartTime: "2018-02-05T14:30:00.000Z",
EndTime: "2018-02-05T16:00:00.000Z",
CategoryColor: "#357cd2"
}, {
Id: 15,
Subject: "Facts of Humming Birds",
StartTime: "2018-02-20T14:00:00.000Z",
EndTime: "2018-02-20T15:30:00.000Z",
CategoryColor: "#7fa900"
}, {
Id: 16,
Subject: "Sky Gazers",
StartTime: "2018-02-23T15:30:00.000Z",
EndTime: "2018-02-23T17:30:00.000Z",
CategoryColor: "#ea7a57"
}, {
Id: 17,
Subject: "The Cycle of Seasons",
StartTime: "2018-02-12T00:00:00.000Z",
EndTime: "2018-02-12T02:00:00.000Z",
CategoryColor: "#00bdae"
}, {
Id: 18,
Subject: "Space Galaxies and Planets",
StartTime: "2018-02-12T17:30:00.000Z",
EndTime: "2018-02-12T18:00:00.000Z",
CategoryColor: "#f57f17"
}, {
Id: 19,
Subject: "Lifecycle of Bumblebee",
StartTime: "2018-02-15T00:30:00.000Z",
EndTime: "2018-02-15T02:00:00.000Z",
CategoryColor: "#7fa900"
}, {
Id: 20,
Subject: "Alien Civilization",
StartTime: "2018-02-15T18:30:00.000Z",
EndTime: "2018-02-15T19:30:00.000Z",
CategoryColor: "#ea7a57"
}, {
Id: 21,
Subject: "Alien Civilization",
StartTime: "2018-02-11T18:30:00.000Z",
EndTime: "2018-02-11T20:30:00.000Z",
CategoryColor: "#ea7a57"
}, {
Id: 22,
Subject: "The Cycle of Seasons",
StartTime: "2018-02-13T19:00:00.000Z",
EndTime: "2018-02-13T20:30:00.000Z",
CategoryColor: "#00bdae"
}, {
Id: 23,
Subject: "Sky Gazers",
StartTime: "2018-02-16T19:00:00.000Z",
EndTime: "2018-02-16T20:30:00.000Z",
CategoryColor: "#ea7a57"
}, {
Id: 24,
Subject: "Facts of Humming Birds",
StartTime: "2018-02-17T17:00:00.000Z",
EndTime: "2018-02-17T19:00:00.000Z",
CategoryColor: "#7fa900"
}
];
export let eventData: Object[] = [
{
Id: 1,
Subject: 'Explosion of Betelgeuse Star',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#1aaa55'
}, {
Id: 2,
Subject: 'Thule Air Crash Report',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#357cd2'
}, {
Id: 3,
Subject: 'Blue Moon Eclipse',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#7fa900'
}, {
Id: 4,
Subject: 'Meteor Showers in 2018',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#ea7a57'
}, {
Id: 5,
Subject: 'Milky Way as Melting pot',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#00bdae'
}, {
Id: 6,
Subject: 'Mysteries of Bermuda Triangle',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#f57f17'
}, {
Id: 7,
Subject: 'Glaciers and Snowflakes',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#1aaa55'
}, {
Id: 8,
Subject: 'Life on Mars',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#357cd2'
}, {
Id: 9,
Subject: 'Alien Civilization',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#7fa900'
}, {
Id: 10,
Subject: 'Wildlife Galleries',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#ea7a57'
}, {
Id: 11,
Subject: 'Best Photography 2018',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#00bdae'
}, {
Id: 12,
Subject: 'Smarter Puppies',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#f57f17'
}, {
Id: 13,
Subject: 'Myths of Andromeda Galaxy',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#1aaa55'
}, {
Id: 14,
Subject: 'Aliens vs Humans',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#357cd2'
}, {
Id: 15,
Subject: 'Facts of Humming Birds',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#7fa900'
}, {
Id: 16,
Subject: 'Sky Gazers',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#ea7a57'
}, {
Id: 17,
Subject: 'The Cycle of Seasons',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#00bdae'
}, {
Id: 18,
Subject: 'Space Galaxies and Planets',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#f57f17'
}, {
Id: 19,
Subject: 'Lifecycle of Bumblebee',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#7fa900'
}, {
Id: 20,
Subject: 'Sky Gazers',
StartTime: new Date(2018, 1, 15, 12, 0),
EndTime: new Date(2018, 1, 15, 14, 0),
CategoryColor: '#ea7a57'
}
];
export let resourceData: Object[] = [
{
Id: 1,
Subject: 'Workflow Analysis',
StartTime: new Date(2018, 3, 1, 9, 30),
EndTime: new Date(2018, 3, 1, 12, 0),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 2,
Subject: 'Requirement planning',
StartTime: new Date(2018, 3, 1, 12, 30),
EndTime: new Date(2018, 3, 1, 14, 45),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 3,
Subject: 'Quality Analysis',
StartTime: new Date(2018, 3, 2, 10, 0),
EndTime: new Date(2018, 3, 2, 12, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 4,
Subject: 'Resource planning',
StartTime: new Date(2018, 3, 2, 13, 0),
EndTime: new Date(2018, 3, 2, 15, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 5,
Subject: 'Timeline estimation',
StartTime: new Date(2018, 3, 3, 9, 0),
EndTime: new Date(2018, 3, 3, 11, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 6,
Subject: 'Developers Meeting',
StartTime: new Date(2018, 3, 3, 14, 0),
EndTime: new Date(2018, 3, 3, 16, 45),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 7,
Subject: 'Project Review',
StartTime: new Date(2018, 3, 4, 11, 15),
EndTime: new Date(2018, 3, 4, 13, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 8,
Subject: 'Manual testing',
StartTime: new Date(2018, 3, 4, 9, 15),
EndTime: new Date(2018, 3, 4, 11, 45),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 9,
Subject: 'Project Preview',
StartTime: new Date(2018, 3, 5, 9, 30),
EndTime: new Date(2018, 3, 5, 12, 45),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 10,
Subject: 'Cross-browser testing',
StartTime: new Date(2018, 3, 5, 13, 45),
EndTime: new Date(2018, 3, 5, 16, 30),
IsAllDay: false,
OwnerId: 2
}, {
Id: 11,
Subject: 'Bug Automation',
StartTime: new Date(2018, 3, 6, 10, 0),
EndTime: new Date(2018, 3, 6, 12, 15),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 12,
Subject: 'Functionality testing',
StartTime: new Date(2018, 3, 6, 9, 0),
EndTime: new Date(2018, 3, 6, 11, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 13,
Subject: 'Resolution-based testing',
StartTime: new Date(2018, 3, 7, 13, 0),
EndTime: new Date(2018, 3, 7, 15, 15),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 14,
Subject: 'Test report Validation',
StartTime: new Date(2018, 3, 7, 9),
EndTime: new Date(2018, 3, 7, 11),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 15,
Subject: 'Test case correction',
StartTime: new Date(2018, 3, 8, 9, 45),
EndTime: new Date(2018, 3, 8, 11, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 16,
Subject: 'Run test cases',
StartTime: new Date(2018, 3, 8, 10, 30),
EndTime: new Date(2018, 3, 8, 13, 0),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 17,
Subject: 'Quality Analysis',
StartTime: new Date(2018, 3, 9, 12),
EndTime: new Date(2018, 3, 9, 15, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 18,
Subject: 'Debugging',
StartTime: new Date(2018, 3, 9, 9, 0),
EndTime: new Date(2018, 3, 9, 11, 15),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 19,
Subject: 'Exception handling',
StartTime: new Date(2018, 3, 10, 10, 10),
EndTime: new Date(2018, 3, 10, 13, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 20,
Subject: 'Decoding',
StartTime: new Date(2018, 3, 10, 10, 30),
EndTime: new Date(2018, 3, 10, 12, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 21,
Subject: 'workflow Analysis',
StartTime: new Date(2018, 3, 11, 9, 30),
EndTime: new Date(2018, 3, 11, 11, 30),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 22,
Subject: 'Requirement planning',
StartTime: new Date(2018, 3, 11, 12, 30),
EndTime: new Date(2018, 3, 11, 14, 45),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 23,
Subject: 'Quality Analysis',
StartTime: new Date(2018, 3, 12, 10),
EndTime: new Date(2018, 3, 12, 12, 30),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 24,
Subject: 'Resource planning',
StartTime: new Date(2018, 3, 12, 13),
EndTime: new Date(2018, 3, 12, 14, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 25,
Subject: 'Timeline estimation',
StartTime: new Date(2018, 3, 13, 9),
EndTime: new Date(2018, 3, 13, 11),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 26,
Subject: 'Developers Meeting',
StartTime: new Date(2018, 3, 13, 14),
EndTime: new Date(2018, 3, 13, 15, 45),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 27,
Subject: 'Project Review',
StartTime: new Date(2018, 3, 14, 11),
EndTime: new Date(2018, 3, 14, 13),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 28,
Subject: 'Manual testing',
StartTime: new Date(2018, 3, 14, 9),
EndTime: new Date(2018, 3, 14, 11, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 29,
Subject: 'Project Preview',
StartTime: new Date(2018, 3, 15, 9, 30),
EndTime: new Date(2018, 3, 15, 11),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 30,
Subject: 'Cross-browser testing',
StartTime: new Date(2018, 3, 15, 14),
EndTime: new Date(2018, 3, 15, 16, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 31,
Subject: 'Bug Automation',
StartTime: new Date(2018, 3, 16, 10),
EndTime: new Date(2018, 3, 16, 11),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 32,
Subject: 'Functionality testing',
StartTime: new Date(2018, 3, 16, 9),
EndTime: new Date(2018, 3, 16, 11, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 33,
Subject: 'Resolution-based testing',
StartTime: new Date(2018, 3, 17, 14),
EndTime: new Date(2018, 3, 17, 15),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 34,
Subject: 'Test report Validation',
StartTime: new Date(2018, 3, 17, 9),
EndTime: new Date(2018, 3, 17, 11),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 35,
Subject: 'Test case correction',
StartTime: new Date(2018, 3, 18, 10),
EndTime: new Date(2018, 3, 18, 11, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 36,
Subject: 'Run test cases',
StartTime: new Date(2018, 3, 18, 10),
EndTime: new Date(2018, 3, 18, 10, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 37,
Subject: 'Bug fixing',
StartTime: new Date(2018, 3, 9, 10),
EndTime: new Date(2018, 3, 9, 10, 30),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 38,
Subject: 'Debugging',
StartTime: new Date(2018, 3, 19, 9),
EndTime: new Date(2018, 3, 19, 10, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 39,
Subject: 'Exception handling',
StartTime: new Date(2018, 3, 20, 10),
EndTime: new Date(2018, 3, 20, 11),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 40,
Subject: 'Decoding',
StartTime: new Date(2018, 3, 20, 10, 30),
EndTime: new Date(2018, 3, 20, 12, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 41,
Subject: 'workflow Analysis',
StartTime: new Date(2018, 3, 21, 9, 30),
EndTime: new Date(2018, 3, 21, 11, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 42,
Subject: 'Requirement planning',
StartTime: new Date(2018, 3, 21, 12, 30),
EndTime: new Date(2018, 3, 21, 13, 45),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 43,
Subject: 'Quality Analysis',
StartTime: new Date(2018, 3, 22, 10),
EndTime: new Date(2018, 3, 22, 11, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 44,
Subject: 'Resource planning',
StartTime: new Date(2018, 3, 22, 13),
EndTime: new Date(2018, 3, 22, 14, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 45,
Subject: 'Timeline estimation',
StartTime: new Date(2018, 3, 23, 9),
EndTime: new Date(2018, 3, 23, 10),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 46,
Subject: 'Developers Meeting',
StartTime: new Date(2018, 3, 23, 14),
EndTime: new Date(2018, 3, 23, 15, 45),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 47,
Subject: 'Project Review',
StartTime: new Date(2018, 3, 24, 11),
EndTime: new Date(2018, 3, 24, 12),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 48,
Subject: 'Manual testing',
StartTime: new Date(2018, 3, 24, 9),
EndTime: new Date(2018, 3, 24, 11, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 49,
Subject: 'Project Preview',
StartTime: new Date(2018, 3, 25, 9, 30),
EndTime: new Date(2018, 3, 25, 11),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 50,
Subject: 'Cross-browser testing',
StartTime: new Date(2018, 3, 25, 14),
EndTime: new Date(2018, 3, 25, 15, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 51,
Subject: 'Bug Automation',
StartTime: new Date(2018, 3, 26, 10),
EndTime: new Date(2018, 3, 26, 11),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 52,
Subject: 'Functionality testing',
StartTime: new Date(2018, 3, 26, 9),
EndTime: new Date(2018, 3, 26, 11, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 53,
Subject: 'Resolution-based testing',
StartTime: new Date(2018, 3, 27, 14),
EndTime: new Date(2018, 3, 27, 15),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 54,
Subject: 'Test report Validation',
StartTime: new Date(2018, 3, 27, 9),
EndTime: new Date(2018, 3, 27, 11),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 55,
Subject: 'Test case correction',
StartTime: new Date(2018, 3, 28, 10),
EndTime: new Date(2018, 3, 28, 11, 30),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 56,
Subject: 'Run test cases',
StartTime: new Date(2018, 3, 28, 10),
EndTime: new Date(2018, 3, 28, 10, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 57,
Subject: 'Bug fixing',
StartTime: new Date(2018, 3, 29, 12),
EndTime: new Date(2018, 3, 29, 12, 30),
IsAllDay: false,
OwnerId: 3,
RoomId: 1
}, {
Id: 58,
Subject: 'Debugging',
StartTime: new Date(2018, 3, 29, 9),
EndTime: new Date(2018, 3, 29, 10, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}, {
Id: 59,
Subject: 'Exception handling',
StartTime: new Date(2018, 3, 30, 10),
EndTime: new Date(2018, 3, 30, 11),
IsAllDay: false,
OwnerId: 1,
RoomId: 1
}, {
Id: 60,
Subject: 'Decoding',
StartTime: new Date(2018, 3, 30, 10, 30),
EndTime: new Date(2018, 3, 30, 12, 30),
IsAllDay: false,
OwnerId: 2,
RoomId: 2
}
];
export let roomData: Object[] = [
{
Id: 1,
Subject: 'Board Meeting',
Description: 'Meeting to discuss business goal of 2018.',
StartTime: new Date(2018, 6, 30, 9, 0),
EndTime: new Date(2018, 6, 30, 11, 0),
RoomId: 1
},
{
Id: 2,
Subject: 'Training session on JSP',
Description: 'Knowledge sharing on JSP topics.',
StartTime: new Date(2018, 6, 30, 15, 0),
EndTime: new Date(2018, 6, 30, 17, 0),
RoomId: 5
},
{
Id: 3,
Subject: 'Sprint Planning with Team members',
Description: 'Planning tasks for sprint.',
StartTime: new Date(2018, 6, 30, 9, 30),
EndTime: new Date(2018, 6, 30, 11, 0),
RoomId: 3
},
{
Id: 4,
Subject: 'Meeting with Client',
Description: 'Customer meeting to discuss features.',
StartTime: new Date(2018, 6, 30, 11, 0),
EndTime: new Date(2018, 6, 30, 13, 0),
RoomId: 4
},
{
Id: 5,
Subject: 'Support Meeting with Managers',
Description: 'Meeting to discuss support plan.',
StartTime: new Date(2018, 6, 30, 16, 0),
EndTime: new Date(2018, 6, 30, 17, 30),
RoomId: 5
},
{
Id: 6, Subject: 'Client Meeting',
Description: 'Meeting to discuss client requirements.',
StartTime: new Date(2018, 6, 30, 10, 30),
EndTime: new Date(2018, 6, 30, 13, 0),
RoomId: 6
},
{
Id: 7,
Subject: 'Appraisal Meeting',
Description: 'Meeting to discuss employee appraisals.',
StartTime: new Date(2018, 6, 30, 15, 0),
EndTime: new Date(2018, 6, 30, 16, 30),
RoomId: 7
},
{
Id: 8,
Subject: 'HR Meeting',
Description: 'Meeting to discuss HR plans.',
StartTime: new Date(2018, 6, 30, 8, 0),
EndTime: new Date(2018, 6, 30, 9, 0),
RoomId: 4
},
{
Id: 9,
Subject: 'Customer Meeting',
Description: 'Meeting to discuss customer reported issues.',
StartTime: new Date(2018, 6, 30, 10, 0),
EndTime: new Date(2018, 6, 30, 12, 0),
RoomId: 8
},
{
Id: 10,
Subject: 'Board Meeting',
Description: 'Meeting to discuss business plans.',
StartTime: new Date(2018, 6, 30, 14, 30),
EndTime: new Date(2018, 6, 30, 17, 0),
RoomId: 9
},
{
Id: 11,
Subject: 'Training session on Vue',
Description: 'Knowledge sharing on Vue concepts.',
StartTime: new Date(2018, 6, 30, 9, 0),
EndTime: new Date(2018, 6, 30, 10, 30),
RoomId: 10
},
{
Id: 12,
Subject: 'Meeting with Team members',
Description: 'Meeting to discuss on work report.',
StartTime: new Date(2018, 6, 30, 11, 30),
EndTime: new Date(2018, 6, 30, 12, 0),
RoomId: 5
},
{
Id: 13,
Subject: 'Meeting with General Manager',
Description: 'Meeting to discuss support plan.',
StartTime: new Date(2018, 6, 30, 14, 0),
EndTime: new Date(2018, 6, 30, 16, 0),
RoomId: 5
},
{
Id: 14,
Subject: 'Board Meeting',
Description: 'Meeting to discuss business goal of 2018.',
StartTime: new Date(2018, 6, 31, 9, 0),
EndTime: new Date(2018, 6, 31, 11, 0),
RoomId: 1
},
{
Id: 15,
Subject: 'Training session on JSP',
Description: 'Knowledge sharing on JSP topics.',
StartTime: new Date(2018, 6, 31, 14, 0),
EndTime: new Date(2018, 6, 31, 17, 0),
RoomId: 6
},
{
Id: 16,
Subject: 'Sprint Planning with Team members',
Description: 'Planning tasks for sprint.',
StartTime: new Date(2018, 6, 31, 9, 30),
EndTime: new Date(2018, 6, 31, 11, 0),
RoomId: 2
},
{
Id: 17,
Subject: 'Meeting with Client',
Description: 'Customer meeting to discuss features.',
StartTime: new Date(2018, 6, 31, 11, 0),
EndTime: new Date(2018, 6, 31, 13, 0),
RoomId: 7
},
{
Id: 18,
Subject: 'Support Meeting with Managers',
Description: 'Meeting to discuss support plan.',
StartTime: new Date(2018, 6, 31, 16, 0),
EndTime: new Date(2018, 6, 31, 17, 30),
RoomId: 2
},
{
Id: 19,
Subject: 'Training session on C#',
Description: 'Training session',
StartTime: new Date(2018, 6, 31, 14, 30),
EndTime: new Date(2018, 6, 31, 16, 0),
RoomId: 9
},
{
Id: 20,
Subject: 'Client Meeting',
Description: 'Meeting to discuss client requirements.',
StartTime: new Date(2018, 6, 31, 10, 30),
EndTime: new Date(2018, 6, 31, 13, 0),
RoomId: 3
},
{
Id: 21,
Subject: 'Appraisal Meeting',
Description: 'Meeting to discuss employee appraisals.',
StartTime: new Date(2018, 6, 31, 15, 0),
EndTime: new Date(2018, 6, 31, 16, 30),
RoomId: 3
},
{
Id: 22,
Subject: 'HR Meeting',
Description: 'Meeting to discuss HR plans.',
StartTime: new Date(2018, 6, 31, 8, 0),
EndTime: new Date(2018, 6, 31, 9, 0),
RoomId: 4
},
{
Id: 23,
Subject: 'Customer Meeting',
Description: 'Meeting to discuss customer reported issues.',
StartTime: new Date(2018, 6, 31, 10, 0),
EndTime: new Date(2018, 6, 31, 12, 0),
RoomId: 4
},
{
Id: 24,
Subject: 'Board Meeting',
Description: 'Meeting to discuss business plans.',
StartTime: new Date(2018, 7, 1, 16, 30),
EndTime: new Date(2018, 7, 1, 18, 0),
RoomId: 10
},
{
Id: 25,
Subject: 'Training session on Vue',
Description: 'Knowledge sharing on Vue concepts.',
StartTime: new Date(2018, 6, 31, 9, 0),
EndTime: new Date(2018, 6, 31, 10, 30),
RoomId: 5
},
{
Id: 26,
Subject: 'Meeting with Team members',
Description: 'Meeting to discuss on work report.',
StartTime: new Date(2018, 6, 31, 11, 30),
EndTime: new Date(2018, 6, 31, 12, 0),
RoomId: 5
},
{
Id: 27,
Subject: 'Meeting with General Manager',
Description: 'Meeting to discuss support plan.',
StartTime: new Date(2018, 6, 31, 14, 0),
EndTime: new Date(2018, 6, 31, 16, 0),
RoomId: 10
},
{
Id: 28,
Subject: 'Board Meeting',
Description: 'Meeting to discuss business goal of 2018.',
StartTime: new Date(2018, 7, 1, 9, 0),
EndTime: new Date(2018, 7, 1, 11, 0),
RoomId: 1
},
{
Id: 29,
Subject: 'Training session on JSP',
Description: 'Knowledge sharing on JSP topics.',
StartTime: new Date(2018, 7, 1, 17, 0),
EndTime: new Date(2018, 7, 1, 20, 0),
RoomId: 6
},
{
Id: 30,
Subject: 'Sprint Planning with Team members',
Description: 'Planning tasks for sprint.',
StartTime: new Date(2018, 7, 1, 10, 30),
EndTime: new Date(2018, 7, 1, 12, 0),
RoomId: 2
},
{
Id: 31,
Subject: 'Meeting with Client',
Description: 'Customer meeting to discuss features.',
StartTime: new Date(2018, 7, 1, 10, 30),
EndTime: new Date(2018, 7, 1, 12, 0),
RoomId: 2
},
{
Id: 32,
Subject: 'Support Meeting with Managers',
Description: 'Meeting to discuss support plan.',
StartTime: new Date(2018, 7, 1, 10, 30),
EndTime: new Date(2018, 7, 1, 12, 0),
RoomId: 2
},
{
Id: 33,
Subject: 'Training session on C#',
Description: 'Training session',
StartTime: new Date(2018, 7, 1, 14, 30),
EndTime: new Date(2018, 7, 1, 16, 0),
RoomId: 2
},
{
Id: 34,
Subject: 'Client Meeting',
Description: 'Meeting to discuss client requirements.',
StartTime: new Date(2018, 7, 1, 10, 30),
EndTime: new Date(2018, 7, 1, 13, 0),
RoomId: 3
},
{
Id: 35,
Subject: 'Appraisal Meeting',
Description: 'Meeting to discuss employee appraisals.',
StartTime: new Date(2018, 7, 1, 15, 0),
EndTime: new Date(2018, 7, 1, 16, 30),
RoomId: 8
},
{
Id: 36,
Subject: 'HR Meeting',
Description: 'Meeting to discuss HR plans.',
StartTime: new Date(2018, 7, 1, 9, 30),
EndTime: new Date(2018, 7, 1, 11, 30),
RoomId: 4
},
{
Id: 37,
Subject: 'Customer Meeting',
Description: 'Meeting to discuss customer reported issues.',
StartTime: new Date(2018, 7, 1, 10, 0),
EndTime: new Date(2018, 7, 1, 12, 0),
RoomId: 9
},
{
Id: 38,
Subject: 'Board Meeting',
Description: 'Meeting to discuss business plans.',
StartTime: new Date(2018, 7, 1, 15, 0),
EndTime: new Date(2018, 7, 1, 17, 0),
RoomId: 4
},
{
Id: 39,
Subject: 'Training session on Vue',
Description: 'Knowledge sharing on Vue concepts.',
StartTime: new Date(2018, 7, 1, 9, 0),
EndTime: new Date(2018, 7, 1, 10, 30),
RoomId: 5
},
{
Id: 40,
Subject: 'Meeting with Team members',
Description: 'Meeting to discuss on work report.',
StartTime: new Date(2018, 7, 1, 11, 30),
EndTime: new Date(2018, 7, 1, 12, 30),
RoomId: 5
},
{
Id: 41,
Subject: 'Meeting with General Manager',
Description: 'Meeting to discuss support plan.',
StartTime: new Date(2018, 7, 1, 14, 0),
EndTime: new Date(2018, 7, 1, 16, 0),
RoomId: 10
},
{
Id: 43,
Subject: 'HR Meeting',
Description: 'Meeting to discuss HR plans.',
StartTime: new Date(2018, 7, 1, 18, 0),
EndTime: new Date(2018, 7, 1, 20, 0),
RoomId: 2
},
{
Id: 44,
Subject: 'HR Meeting',
Description: 'Meeting to discuss HR plans.',
StartTime: new Date(2018, 7, 1, 17, 30),
EndTime: new Date(2018, 7, 1, 20, 0),
RoomId: 1
},
{
Id: 45,
Subject: 'Client Meeting',
Description: 'Meeting to discuss client requirements.',
StartTime: new Date(2018, 7, 1, 16, 30),
EndTime: new Date(2018, 7, 1, 18, 0),
RoomId: 3
},
{
Id: 46,
Subject: 'Board Meeting',
Description: 'Meeting to discuss business plans.',
StartTime: new Date(2018, 7, 1, 18, 30),
EndTime: new Date(2018, 7, 1, 20, 0),
RoomId: 4
},
{
Id: 47,
Subject: 'Board Meeting',
Description: 'Meeting to discuss business plans.',
StartTime: new Date(2018, 7, 1, 15, 30),
EndTime: new Date(2018, 7, 1, 18, 0),
RoomId: 5
},
{
Id: 48,
Subject: 'HR Meeting',
Description: 'Meeting to discuss HR plans.',
StartTime: new Date(2018, 7, 1, 18, 30),
EndTime: new Date(2018, 7, 1, 20, 0),
RoomId: 5
},
{
Id: 49,
Subject: 'HR Meeting',
Description: 'Meeting to discuss HR plans.',
StartTime: new Date(2018, 7, 1, 14, 30),
EndTime: new Date(2018, 7, 1, 16, 0),
RoomId: 6
},
{
Id: 50,
Subject: 'Board Meeting',
Description: 'Meeting to discuss business plans.',
StartTime: new Date(2018, 7, 1, 9, 30),
EndTime: new Date(2018, 7, 1, 12, 0),
RoomId: 6
},
{
Id: 51,
Subject: 'Client Meeting',
Description: 'Meeting to discuss client requirements.',
StartTime: new Date(2018, 7, 1, 10, 30),
EndTime: new Date(2018, 7, 1, 12, 0),
RoomId: 7
},
{
Id: 52,
Subject: 'Appraisal Meeting',
Description: 'Meeting to discuss employee appraisals.',
StartTime: new Date(2018, 7, 1, 18, 0),
EndTime: new Date(2018, 7, 1, 19, 30),
RoomId: 7
},
{
Id: 53,
Subject: 'Support Meeting with Managers',
Description: 'Meeting to discuss support plan.',
StartTime: new Date(2018, 7, 1, 15, 30),
EndTime: new Date(2018, 7, 1, 17, 0),
RoomId: 9
},
{
Id: 54,
Subject: 'Support Meeting with Managers',
Description: 'Meeting to discuss support plan.',
StartTime: new Date(2018, 7, 1, 11, 0),
EndTime: new Date(2018, 7, 1, 12, 30),
RoomId: 8
},
{
Id: 55,
Subject: 'Support Meeting with Managers',
Description: 'Meeting to discuss support plan.',
StartTime: new Date(2018, 7, 1, 11, 0),
EndTime: new Date(2018, 7, 1, 12, 30),
RoomId: 10
}
];
export let schedulerData: Object[] = [
{
Id: 1,
Subject: 'Explosion of Betelgeuse Star',
StartTime: new Date(2021, 7, 11, 9, 30),
EndTime: new Date(2021, 7, 11, 11, 0),
CategoryColor: '#1aaa55'
}, {
Id: 2,
Subject: 'Thule Air Crash Report',
StartTime: new Date(2021, 7, 12, 12, 0),
EndTime: new Date(2021, 7, 12, 14, 0),
CategoryColor: '#357cd2'
}, {
Id: 3,
Subject: 'Blue Moon Eclipse',
StartTime: new Date(2021, 7, 13, 9, 30),
EndTime: new Date(2021, 7, 13, 11, 0),
CategoryColor: '#7fa900'
}, {
Id: 4,
Subject: 'Meteor Showers in 2018',
StartTime: new Date(2021, 7, 14, 13, 0),
EndTime: new Date(2021, 7, 14, 14, 30),
CategoryColor: '#ea7a57'
}, {
Id: 5,
Subject: 'Milky Way as Melting pot',
StartTime: new Date(2021, 7, 15, 12, 0),
EndTime: new Date(2021, 7, 15, 14, 0),
CategoryColor: '#00bdae'
}, {
Id: 6,
Subject: 'Mysteries of Bermuda Triangle',
StartTime: new Date(2021, 7, 15, 9, 30),
EndTime: new Date(2021, 7, 15, 11, 0),
CategoryColor: '#f57f17'
}, {
Id: 7,
Subject: 'Glaciers and Snowflakes',
StartTime: new Date(2021, 7, 16, 11, 0),
EndTime: new Date(2021, 7, 16, 12, 30),
CategoryColor: '#1aaa55'
}, {
Id: 8,
Subject: 'Life on Mars',
StartTime: new Date(2021, 7, 17, 9, 0),
EndTime: new Date(2021, 7, 17, 10, 0),
CategoryColor: '#357cd2'
}, {
Id: 9,
Subject: 'Alien Civilization',
StartTime: new Date(2021, 7, 19, 11, 0),
EndTime: new Date(2021, 7, 19, 13, 0),
CategoryColor: '#7fa900'
}, {
Id: 10,
Subject: 'Wildlife Galleries',
StartTime: new Date(2021, 7, 21, 11, 0),
EndTime: new Date(2021, 7, 21, 13, 0),
CategoryColor: '#ea7a57'
}, {
Id: 11,
Subject: 'Best Photography 2018',
StartTime: new Date(2021, 7, 22, 9, 30),
EndTime: new Date(2021, 7, 22, 11, 0),
CategoryColor: '#00bdae'
}, {
Id: 12,
Subject: 'Smarter Puppies',
StartTime: new Date(2021, 7, 9, 10, 0),
EndTime: new Date(2021, 7, 9, 11, 30),
CategoryColor: '#f57f17'
}, {
Id: 13,
Subject: 'Myths of Andromeda Galaxy',
StartTime: new Date(2021, 7, 7, 10, 30),
EndTime: new Date(2021, 7, 7, 12, 30),
CategoryColor: '#1aaa55'
}, {
Id: 14,
Subject: 'Aliens vs Humans',
StartTime: new Date(2021, 7, 5, 10, 0),
EndTime: new Date(2021, 7, 5, 11, 30),
CategoryColor: '#357cd2'
}, {
Id: 15,
Subject: 'Facts of Humming Birds',
StartTime: new Date(2021, 7, 20, 9, 30),
EndTime: new Date(2021, 7, 20, 11, 0),
CategoryColor: '#7fa900'
}, {
Id: 16,
Subject: 'Sky Gazers',
StartTime: new Date(2021, 7, 23, 11, 0),
EndTime: new Date(2021, 7, 23, 13, 0),
CategoryColor: '#ea7a57'
}, {
Id: 17,
Subject: 'The Cycle of Seasons',
StartTime: new Date(2021, 7, 12, 5, 30),
EndTime: new Date(2021, 7, 12, 7, 30),
CategoryColor: '#00bdae'
}, {
Id: 18,
Subject: 'Space Galaxies and Planets',
StartTime: new Date(2021, 7, 12, 17, 0),
EndTime: new Date(2021, 7, 12, 18, 30),
CategoryColor: '#f57f17'
}, {
Id: 19,
Subject: 'Lifecycle of Bumblebee',
StartTime: new Date(2021, 7, 15, 6, 0),
EndTime: new Date(2021, 7, 15, 7, 30),
CategoryColor: '#7fa900'
}, {
Id: 20,
Subject: 'Sky Gazers',
StartTime: new Date(2021, 7, 15, 16, 0),
EndTime: new Date(2021, 7, 15, 18, 0),
CategoryColor: '#ea7a57'
}
];
export function generateObject() {
var data = [];
for (var a = 0; a < 25; a++) {
data.push({
Id: a + 1,
Subject: 'Testing',
StartTime: new Date(2021, 3, 28),
EndTime: new Date(2021, 3, 29),
IsAllDay: true
});
}
return data;
}
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from '@angular/core';
import { AppModule } from './app.module';
enableProdMode();
platformBrowserDynamic().bootstrapModule(AppModule);