2021-04-23 10:35:53 +01:00
|
|
|
<ion-header class="ion-no-border ">
|
|
|
|
|
<app-header ></app-header>
|
2020-12-15 19:37:42 +01:00
|
|
|
</ion-header>
|
2021-01-27 13:57:55 +01:00
|
|
|
|
2021-04-23 10:35:53 +01:00
|
|
|
<ion-content id="timeline-conteiner agenda-container" class="timeline ">
|
2021-01-27 13:57:55 +01:00
|
|
|
|
2021-04-23 10:35:53 +01:00
|
|
|
<div class="d-flex container-wrapper">
|
2021-02-24 09:14:58 +01:00
|
|
|
|
2021-03-17 20:45:57 +01:00
|
|
|
<div class="calendar-timeline d-flex flex-column height-100 bg-blue">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="calendar-wrapper">
|
|
|
|
|
|
|
|
|
|
<div class="main-content">
|
|
|
|
|
<!-- Toolbar -->
|
|
|
|
|
<ion-progress-bar class="calendar-progress-bar" type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
|
|
|
|
<div>
|
|
|
|
|
<!-- Calendar is here -->
|
|
|
|
|
<div [ngSwitch]="segment">
|
2021-05-07 17:21:05 +01:00
|
|
|
<div class="calendar-container" [style.height]="calendarHeight">
|
2021-02-24 09:14:58 +01:00
|
|
|
|
|
|
|
|
<ion-row class="ion-justify-content-between calendar-tool-tip">
|
|
|
|
|
<ion-row class="ion-align-items-center">
|
|
|
|
|
<!-- Move back one screen of the slides -->
|
|
|
|
|
|
2021-04-08 16:48:06 +01:00
|
|
|
<div class="arrow">
|
|
|
|
|
<button (click)="back()" class="btn-no-color" >
|
|
|
|
|
<ion-icon slot="icon-only" src="assets/images/icons-calendar-arrow-left.svg"></ion-icon>
|
|
|
|
|
</button>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Move forward one screen of the slides -->
|
|
|
|
|
<h2 class="capitaliseText">{{ viewTitle }}</h2>
|
|
|
|
|
<!-- <div class="drop-down">
|
|
|
|
|
<ion-icon slot="icon-only" class="arrow-down" src="assets/images/icons-arrow-arrow-down.svg"></ion-icon>
|
|
|
|
|
<div class="drop-down-container">
|
|
|
|
|
<ul>
|
|
|
|
|
<li *ngFor="let month of monthList" (click)="dropDownChangeDate(month.id)" >{{ month.name }}</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<!-- Move forward one screen of the slides -->
|
|
|
|
|
<div (click)="next()" class="arrow">
|
|
|
|
|
<ion-icon slot="icon-only" src="assets/images/icons-calendar-arrow-right.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</ion-row>
|
|
|
|
|
<ion-row class="ion-align-items-center">
|
2021-04-08 16:53:16 +01:00
|
|
|
|
2021-06-10 14:00:44 +01:00
|
|
|
<button *ngIf="profile == 'mdgpr' " (click)="changeProfile()" class="d-md-none btn-no-color">
|
|
|
|
|
<ion-icon class="right-icons" src="assets/images/icons-profile-calendar-md.svg"></ion-icon>
|
2021-04-08 16:53:16 +01:00
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<button *ngIf="profile == 'pr' " (click)="changeProfile()" class="btn-no-color">
|
2021-06-10 14:00:44 +01:00
|
|
|
<ion-icon class="right-icons d-md-none" src="assets/images/icons-profile-calendar-pr.svg"></ion-icon>
|
2021-04-08 16:53:16 +01:00
|
|
|
</button>
|
|
|
|
|
|
2021-05-10 16:07:58 +01:00
|
|
|
<button class="btn-no-color" (click)="viewEventsToApprove()" *ngIf="loggeduser.Profile == 'MDGPR'">
|
2021-04-08 16:53:16 +01:00
|
|
|
<ion-icon class="right-icons" src="assets/images/icons-received-event.svg"></ion-icon>
|
|
|
|
|
</button>
|
|
|
|
|
|
2021-04-09 13:43:33 +01:00
|
|
|
<button class="btn-no-color" (click)="clearContact();openAddEvent();">
|
2021-04-08 16:35:10 +01:00
|
|
|
<ion-icon class="right-icons" src="assets/images/icons-add-new-event.svg" ></ion-icon>
|
|
|
|
|
</button>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-row>
|
|
|
|
|
</ion-row>
|
|
|
|
|
|
|
|
|
|
<table class="custom-calendar-header">
|
|
|
|
|
<thead>
|
|
|
|
|
<th>S</th>
|
|
|
|
|
<th>T</th>
|
|
|
|
|
<th>Q</th>
|
|
|
|
|
<th>Q</th>
|
|
|
|
|
<th>S</th>
|
|
|
|
|
<th>S</th>
|
|
|
|
|
<th>D</th>
|
|
|
|
|
</thead>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<calendar
|
|
|
|
|
class="calendar-component"
|
|
|
|
|
[eventSource]="eventSource"
|
|
|
|
|
[calendarMode]="calendar.mode"
|
|
|
|
|
[currentDate]="calendar.currentDate"
|
|
|
|
|
(onEventSelected)="onEventSelected($event)"
|
|
|
|
|
(onTitleChanged)="onViewTitleChanged($event)"
|
|
|
|
|
(onRangeChanged)="onRangeChanged($event)"
|
|
|
|
|
(onCurrentDateChanged)="onCurrentChanged($event)"
|
|
|
|
|
queryMode="remote"
|
|
|
|
|
startHour="6"
|
|
|
|
|
endHour="20"
|
|
|
|
|
step="30"
|
|
|
|
|
startingDayMonth="1"
|
|
|
|
|
noEventsLabel="Sem Eventos"
|
|
|
|
|
allDayLabel="Todo o dia"
|
|
|
|
|
[monthviewDisplayEventTemplate]="template"
|
|
|
|
|
>
|
|
|
|
|
</calendar>
|
|
|
|
|
|
|
|
|
|
<!-- Adding a customized ng-template -->
|
|
|
|
|
<ng-template #template let-view="view" let-row="row" let-col="col">
|
2021-06-16 09:51:15 +01:00
|
|
|
<div class="day-container">
|
|
|
|
|
<div [className]="currentDayEventDisplayBorder(view.dates, row*7+col)" class="d-flex justify-center align-center" [class.with-event]="view.dates[row*7+col].events.length">
|
|
|
|
|
|
|
|
|
|
<div class="day">
|
2021-06-16 15:58:44 +01:00
|
|
|
<div class="number"> {{ view.dates[row*7+col].label }}</div>
|
2021-06-16 09:51:15 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
2021-01-28 16:18:10 +01:00
|
|
|
</div>
|
2021-02-24 09:14:58 +01:00
|
|
|
</ng-template>
|
2021-01-28 16:18:10 +01:00
|
|
|
</div>
|
2021-04-12 14:01:07 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="calendar-border">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Calendar currente date -->
|
2021-06-16 15:58:44 +01:00
|
|
|
<ion-row class="timeline-header pb-0 ion-justify-content-between ion-align-items-center currente-date-timelien">
|
2021-02-24 09:14:58 +01:00
|
|
|
<ion-row class="timeline-date align-center">
|
2021-04-08 23:03:01 +01:00
|
|
|
<button class="btn-no-color" *ngIf="showCalendar" (click)="calendarHeight='75px';showCalendar=false">
|
|
|
|
|
<ion-icon class="collaps btn-no-color" src="assets/images/icons-collaps-up.svg" ></ion-icon>
|
|
|
|
|
</button>
|
2021-06-16 16:15:34 +01:00
|
|
|
<button class="collaps btn-no-color" *ngIf="!showCalendar" (click)="calendarHeight='317px';showCalendar=true">
|
2021-04-08 23:03:01 +01:00
|
|
|
<ion-icon src="assets/images/icons-collaps-down.svg" ></ion-icon>
|
|
|
|
|
</button >
|
|
|
|
|
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-row>
|
|
|
|
|
<ion-row class="timeline-date align-center">
|
|
|
|
|
<span *ngIf="timelineIsCurrentDate()">Hoje, </span> {{ timelineDate }}
|
|
|
|
|
</ion-row>
|
|
|
|
|
<ion-row class="filter ion-align-items-center">
|
|
|
|
|
<div class="filter-name">{{timelineFilterState}}</div>
|
|
|
|
|
<!-- Icon -->
|
2021-04-30 09:46:29 +01:00
|
|
|
<button (click)="showTimelineFilterState=!showTimelineFilterState" class="arrow-down btn-no-color">
|
2021-04-08 23:03:01 +01:00
|
|
|
<ion-icon src="assets/images/icons-arrow-arrow-down.svg"></ion-icon>
|
|
|
|
|
</button>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
<!-- List -->
|
|
|
|
|
<ul *ngIf="showTimelineFilterState">
|
2021-04-12 14:01:07 +01:00
|
|
|
<li [class.active]="segment == 'Combinado' " (click)="changeSegment('Combinado')">Todos</li>
|
|
|
|
|
<li [class.active]="segment == 'Oficial' " (click)="changeSegment('Oficial')">Oficial</li>
|
|
|
|
|
<li [class.active]="segment == 'Pessoal' " (click)="changeSegment('Pessoal')">Pessoal</li>
|
2021-02-24 09:14:58 +01:00
|
|
|
</ul>
|
2021-04-12 14:01:07 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-row>
|
2021-01-28 16:18:10 +01:00
|
|
|
</ion-row>
|
2021-03-17 20:45:57 +01:00
|
|
|
|
2021-06-16 15:58:44 +01:00
|
|
|
<div class="d-none d-md-flex" *ngIf="loggeduser.Profile == 'MDGPR'">
|
2021-03-17 20:45:57 +01:00
|
|
|
<div class="flex-grow-1 text-grey d-flex justify-center align-center">
|
2021-03-26 10:44:31 +01:00
|
|
|
<div>Própria</div>
|
2021-03-17 20:45:57 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="flex-grow-1 text-black">
|
|
|
|
|
<div class="flex-grow-1 text-grey d-flex justify-center align-center">
|
2021-03-26 10:44:31 +01:00
|
|
|
<div>Presidente da República</div>
|
2021-03-17 20:45:57 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-02-02 15:11:30 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
2021-06-10 14:00:44 +01:00
|
|
|
<div class="timeline-wrapper flex-grow-1 height-100" >
|
|
|
|
|
<!-- Progress bar -->
|
2021-02-24 09:14:58 +01:00
|
|
|
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
|
|
|
|
<ion-refresher-content>
|
|
|
|
|
</ion-refresher-content>
|
|
|
|
|
</ion-refresher>
|
|
|
|
|
|
|
|
|
|
<!-- Timeline -->
|
2021-06-10 14:00:44 +01:00
|
|
|
<div class="height-100">
|
2021-06-16 15:58:44 +01:00
|
|
|
<div class="timeline-container height-100 d-flex pt-20 pl-20 pl-20 filter-{{segment}}" >
|
2021-03-18 20:02:44 +01:00
|
|
|
|
2021-06-08 11:24:01 +01:00
|
|
|
<!-- <div [ngSwitch]="view" class="ss-timeline timeline-mobile flex-grow-1 d-md-none">
|
2021-03-17 20:45:57 +01:00
|
|
|
<mwl-calendar-day-view
|
|
|
|
|
*ngSwitchCase="'day'"
|
|
|
|
|
[viewDate]="viewDate"
|
|
|
|
|
[events]="events"
|
2021-03-25 15:18:12 +01:00
|
|
|
(eventClicked)="clearContact();eventClicked($event)"
|
2021-03-17 20:45:57 +01:00
|
|
|
>
|
|
|
|
|
</mwl-calendar-day-view>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-05-12 16:28:58 +01:00
|
|
|
<div [ngSwitch]="view" class="fs-timeline flex-grow-1 d-none d-md-block" *ngIf="loggeduser.Profile == 'MDGPR'">
|
2021-03-17 20:45:57 +01:00
|
|
|
<mwl-calendar-day-view
|
|
|
|
|
*ngSwitchCase="'day'"
|
|
|
|
|
[viewDate]="viewDate"
|
2021-03-18 20:02:44 +01:00
|
|
|
[events]="TimelineMD"
|
2021-03-25 15:18:12 +01:00
|
|
|
(eventClicked)="clearContact();eventClicked($event)"
|
2021-03-17 20:45:57 +01:00
|
|
|
>
|
|
|
|
|
</mwl-calendar-day-view>
|
|
|
|
|
</div>
|
2021-03-18 20:02:44 +01:00
|
|
|
|
2021-05-07 17:21:05 +01:00
|
|
|
<div [ngSwitch]="view" class="sd-timeline flex-grow-1 d-none d-md-block timeline-md" >
|
2021-03-18 20:02:44 +01:00
|
|
|
<mwl-calendar-day-view
|
|
|
|
|
*ngSwitchCase="'day'"
|
|
|
|
|
[viewDate]="viewDate"
|
|
|
|
|
[events]="TimelinePR"
|
2021-03-25 15:18:12 +01:00
|
|
|
(eventClicked)="clearContact();eventClicked($event)"
|
2021-03-18 20:02:44 +01:00
|
|
|
>
|
|
|
|
|
</mwl-calendar-day-view>
|
2021-06-08 11:24:01 +01:00
|
|
|
</div> -->
|
|
|
|
|
|
|
|
|
|
<!-- <div class="ss-timeline timeline-mobile flex-grow-1 text-black d-md-none">
|
|
|
|
|
<div *ngFor="let events of TimelineMDList | keyvalue; let i = index ">
|
|
|
|
|
{{ i }}
|
|
|
|
|
<div *ngFor="let event of events">
|
|
|
|
|
{{ event.Subject}}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
|
2021-06-16 15:58:44 +01:00
|
|
|
<div class="ss-timeline timeline-mobile flex-grow-1 d-md-none text-black height-100 width-100 overflow-y-auto" >
|
2021-06-08 11:24:01 +01:00
|
|
|
<div *ngFor="let events of TimelineMDList | keyvalue;" >
|
|
|
|
|
|
2021-06-17 16:40:18 +01:00
|
|
|
<div class="EventListBox-container" *ngIf="CalendarCurrentDay <= events.key">
|
2021-06-08 11:24:01 +01:00
|
|
|
<div class="day mt-10">
|
|
|
|
|
{{ TimelineDayEvent(events.key)}}
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-06-17 16:40:18 +01:00
|
|
|
<div *ngFor="let event of events.value" class="EventListBox">
|
2021-06-08 11:24:01 +01:00
|
|
|
|
2021-06-17 16:13:37 +01:00
|
|
|
<div class="d-flex content-{{event.profile}}-{{event.event.CalendarName}} mt-10 cursor-pointer width-100 " (click)="eventClicked(event)"
|
2021-06-25 09:43:24 +01:00
|
|
|
*ngIf="viewEventMonth <= dateMonth(event) && showEventBox(event)">
|
|
|
|
|
|
2021-06-08 11:24:01 +01:00
|
|
|
<div class="schedule-time" *ngIf="!event.event.IsAllDayEvent">
|
|
|
|
|
|
|
|
|
|
<div *ngIf="!event.endMany && !event.middle" class="time-start">{{event.event.StartDate | date: 'HH:mm'}}</div>
|
|
|
|
|
<div *ngIf="event.endMany && !event.middle" class="time-start">--</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="!event.startMany && !event.middle" class="time-end">{{event.event.EndDate | date: 'HH:mm'}}</div>
|
|
|
|
|
<div *ngIf="event.startMany && !event.middle" class="time-end"> -- </div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="event.middle" class="time-start"> Todo </div>
|
|
|
|
|
<div *ngIf="event.middle" class="time-end text-center"> o dia </div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="schedule-time" *ngIf="event.event.IsAllDayEvent">
|
|
|
|
|
<div class="time-start">Todo</div>
|
|
|
|
|
<div class="time-end text-center">o dia</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="schedule-details">
|
|
|
|
|
{{ event.event.CalendarName }}
|
|
|
|
|
<div class="location">{{event.event.Location}}</div>
|
2021-06-11 11:47:17 +01:00
|
|
|
<div class="description">
|
|
|
|
|
<p>{{event.event.Subject}}</p>
|
|
|
|
|
</div>
|
2021-06-08 11:24:01 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-06-17 16:13:37 +01:00
|
|
|
<div class="fs-timeline flex-grow-1 d-none d-md-block d-md-block text-black pr-20 width-100 height-100 overflow-y-auto" *ngIf="loggeduser.Profile == 'MDGPR'">
|
2021-06-08 11:24:01 +01:00
|
|
|
<div *ngFor="let events of TimelineMDList | keyvalue;" >
|
|
|
|
|
|
2021-06-17 16:40:18 +01:00
|
|
|
<div class="EventListBox-container" *ngIf="CalendarCurrentDay <= events.key">
|
2021-06-17 16:13:37 +01:00
|
|
|
<div class="day EventListBox-day mt-10">
|
2021-06-08 11:24:01 +01:00
|
|
|
{{ TimelineDayEvent(events.key)}}
|
|
|
|
|
</div>
|
2021-06-17 16:13:37 +01:00
|
|
|
<div *ngFor="let event of events.value" class="EventListBox" >
|
2021-06-25 09:43:24 +01:00
|
|
|
|
2021-06-17 16:13:37 +01:00
|
|
|
<div class="d-flex content-mdgpr-{{event.event.CalendarName}} mt-10 cursor-pointer" (click)="eventClicked(event)"
|
2021-06-25 09:44:51 +01:00
|
|
|
*ngIf="viewEventMonth <= dateMonth(event) && && showEventBox(event)">
|
2021-06-17 16:13:37 +01:00
|
|
|
|
2021-06-08 11:24:01 +01:00
|
|
|
<div class="schedule-time" *ngIf="!event.event.IsAllDayEvent">
|
|
|
|
|
<div *ngIf="!event.endMany && !event.middle" class="time-start">{{event.event.StartDate | date: 'HH:mm'}}</div>
|
|
|
|
|
<div *ngIf="event.endMany && !event.middle" class="time-start">--</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="!event.startMany && !event.middle" class="time-end">{{event.event.EndDate | date: 'HH:mm'}}</div>
|
|
|
|
|
<div *ngIf="event.startMany && !event.middle" class="time-end"> -- </div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="event.middle" class="time-start"> Todo </div>
|
|
|
|
|
<div *ngIf="event.middle" class="time-end text-center"> o dia </div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="schedule-time" *ngIf="event.event.IsAllDayEvent">
|
|
|
|
|
<div class="time-start">Todo</div>
|
|
|
|
|
<div class="time-end">o dia</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="schedule-details">
|
|
|
|
|
<div class="location">{{event.event.Location}}</div>
|
2021-06-11 11:47:17 +01:00
|
|
|
<div class="description">
|
|
|
|
|
<p>{{event.event.Subject}}</p>
|
|
|
|
|
</div>
|
2021-06-08 11:24:01 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-06-16 15:58:44 +01:00
|
|
|
<div class="sd-timeline flex-grow-1 d-none d-md-block timeline-md text-black pl-20 pr-20 width-100 height-100 overflow-y-auto" >
|
2021-06-08 11:24:01 +01:00
|
|
|
<div *ngFor="let events of TimelinePRList | keyvalue;">
|
|
|
|
|
|
2021-06-17 16:40:18 +01:00
|
|
|
<div class="EventListBox-container" *ngIf="CalendarCurrentDay <= events.key">
|
2021-06-08 11:24:01 +01:00
|
|
|
|
|
|
|
|
<div class="day mt-10">
|
|
|
|
|
{{ TimelineDayEvent(events.key)}}
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-06-17 16:40:18 +01:00
|
|
|
<div *ngFor="let event of events.value" class="EventListBox">
|
2021-06-08 11:24:01 +01:00
|
|
|
|
2021-06-17 16:33:38 +01:00
|
|
|
<div class="d-flex content-pr-{{event.event.CalendarName}} mt-10 cursor-pointer" (click)="eventClicked(event)"
|
2021-06-24 16:34:27 +01:00
|
|
|
*ngIf="viewEventMonth <= dateMonth(event) && event.event.CalendarName == segment || segment == 'Combinado' ">
|
2021-06-17 16:13:37 +01:00
|
|
|
|
2021-06-08 11:24:01 +01:00
|
|
|
<div class="schedule-time" *ngIf="!event.event.IsAllDayEvent">
|
|
|
|
|
<div *ngIf="!event.endMany && !event.middle" class="time-start">{{event.event.StartDate | date: 'HH:mm'}}</div>
|
|
|
|
|
<div *ngIf="event.endMany && !event.middle" class="time-start">--</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="!event.startMany && !event.middle" class="time-end">{{event.event.EndDate | date: 'HH:mm'}}</div>
|
|
|
|
|
<div *ngIf="event.startMany && !event.middle" class="time-end"> -- </div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="event.middle" class="time-start"> Todo </div>
|
|
|
|
|
<div *ngIf="event.middle" class="time-end text-center"> o dia </div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="schedule-time" *ngIf="event.event.IsAllDayEvent">
|
|
|
|
|
<div class="time-start">Todo</div>
|
|
|
|
|
<div class="time-end">o dia</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="schedule-details">
|
|
|
|
|
<div class="location">{{event.event.Location}}</div>
|
2021-06-11 11:47:17 +01:00
|
|
|
<div class="description">
|
|
|
|
|
<p>{{event.event.Subject}}</p>
|
|
|
|
|
</div>
|
2021-06-08 11:24:01 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
2021-03-18 20:02:44 +01:00
|
|
|
</div>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
2021-01-28 16:18:10 +01:00
|
|
|
</div>
|
2021-03-17 20:45:57 +01:00
|
|
|
|
2021-01-27 13:57:55 +01:00
|
|
|
</div>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
2021-02-01 12:05:17 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="event-details bg-blue ">
|
2021-02-24 11:10:51 +01:00
|
|
|
|
|
|
|
|
<div *ngIf="(
|
2021-04-08 15:45:45 +01:00
|
|
|
mobileComponent.showAddNewEvent == false &&
|
|
|
|
|
mobileComponent.showEditEvent == false &&
|
|
|
|
|
mobileComponent.showEventDetails == false &&
|
|
|
|
|
mobileComponent.showEventList == false &&
|
|
|
|
|
mobileComponent.showEventToApprove == false &&
|
|
|
|
|
mobileComponent.showAttendees == false &&
|
|
|
|
|
mobileComponent.showAttendeeModal == false
|
2021-02-24 11:10:51 +01:00
|
|
|
)
|
|
|
|
|
"
|
2021-03-25 15:18:12 +01:00
|
|
|
class="text-black nothing-to-show">
|
2021-02-24 11:10:51 +01:00
|
|
|
Nenhum evento selecionado
|
|
|
|
|
</div>
|
2021-02-24 09:14:58 +01:00
|
|
|
|
|
|
|
|
<!-- New -->
|
2021-02-24 10:08:50 +01:00
|
|
|
<app-new-event *ngIf="mobileComponent.showAddNewEvent"
|
2021-02-24 09:14:58 +01:00
|
|
|
[profile]="profile"
|
|
|
|
|
[selectedSegment]=segment
|
2021-04-05 15:00:14 +01:00
|
|
|
[taskParticipants]="taskParticipants"
|
2021-04-07 15:13:31 +01:00
|
|
|
[taskParticipantsCc]="taskParticipantsCc"
|
2021-02-24 09:14:58 +01:00
|
|
|
[selectedDate]="eventSelectedDate"
|
|
|
|
|
(onAddEvent)="openAddEventDismiss($event)"
|
2021-03-24 15:10:46 +01:00
|
|
|
(openAttendeesComponent)="openAttendeesComponent($event)"
|
2021-03-25 15:51:19 +01:00
|
|
|
(cloneAllmobileComponent)="cloneAllmobileComponent()"
|
2021-03-25 10:50:58 +01:00
|
|
|
[eventAttendees]="contacts"
|
|
|
|
|
(clearContact)="clearContact()"
|
2021-03-30 15:38:57 +01:00
|
|
|
(setContact)="setContact($event)"
|
2021-04-07 15:13:31 +01:00
|
|
|
|
|
|
|
|
(setIntervenient)="setIntervenient($event)"
|
|
|
|
|
(setIntervenientCC)="setIntervenientCC($event)"
|
2021-02-24 09:14:58 +01:00
|
|
|
></app-new-event>
|
2021-04-09 10:33:19 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
<!-- Edit -->
|
2021-02-24 10:08:50 +01:00
|
|
|
<app-edit-event *ngIf="mobileComponent.showEditEvent"
|
2021-04-08 13:39:48 +01:00
|
|
|
[taskParticipants]="taskParticipants"
|
|
|
|
|
[taskParticipantsCc]="taskParticipantsCc"
|
2021-02-24 09:14:58 +01:00
|
|
|
[profile]="profile"
|
|
|
|
|
[selectedSegment]="segment"
|
|
|
|
|
[postEvent]="postEvent"
|
2021-04-08 13:39:48 +01:00
|
|
|
(clearPostEvent)="clearPostEvent"
|
2021-03-25 11:38:59 +01:00
|
|
|
(clearContact)="clearContact()"
|
2021-03-25 15:18:12 +01:00
|
|
|
(openAttendeesComponent)="openAttendeesComponent($event)"
|
2021-03-30 15:38:57 +01:00
|
|
|
(setContact)="setContact($event)"
|
2021-04-01 11:28:39 +01:00
|
|
|
(closeComponent)="closeComponentEditEventOrAdd()"
|
2021-04-07 15:13:31 +01:00
|
|
|
|
|
|
|
|
(setIntervenient)="setIntervenient($event)"
|
|
|
|
|
(setIntervenientCC)="setIntervenientCC($event)"
|
2021-02-24 09:14:58 +01:00
|
|
|
></app-edit-event>
|
2021-02-12 11:08:03 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
<!-- View -->
|
2021-03-24 15:10:46 +01:00
|
|
|
<app-view-event *ngIf="mobileComponent.showEventDetails"
|
2021-02-24 09:14:58 +01:00
|
|
|
[profile]="profile"
|
|
|
|
|
[eventId]="selectedEventId"
|
|
|
|
|
(viewEventDetailDismiss)="viewEventDetailDismiss($event)"
|
2021-03-25 15:18:12 +01:00
|
|
|
[eventAttendees]="contacts"
|
2021-02-24 09:14:58 +01:00
|
|
|
></app-view-event>
|
2020-08-25 10:37:41 +01:00
|
|
|
|
2021-03-03 10:15:44 +01:00
|
|
|
|
2021-02-26 15:29:05 +01:00
|
|
|
<app-event-list [class.transparent]="mobileComponent.transparentEventList" *ngIf="mobileComponent.showEventList"
|
2021-03-29 17:01:11 +01:00
|
|
|
[profile]="profile"
|
2021-02-26 15:29:05 +01:00
|
|
|
(approveEventDismiss) = "approveEventDismiss($event)"
|
2021-02-24 11:10:51 +01:00
|
|
|
(cloneAllmobileComponent)="viewEventDetailDismiss($event)"
|
|
|
|
|
>
|
|
|
|
|
</app-event-list>
|
2021-03-30 10:05:12 +01:00
|
|
|
|
2021-04-16 14:40:43 +01:00
|
|
|
|
2021-03-03 10:15:44 +01:00
|
|
|
<app-approve-event class="d-flex flex-column" *ngIf="mobileComponent.showEventToApprove" [class.transparent]="mobileComponent.transparentEventToApprove"
|
2021-02-26 15:29:05 +01:00
|
|
|
[serialNumber] = "eventToaprove.serialNumber"
|
2021-05-04 15:44:48 +01:00
|
|
|
[InstanceId] = "eventToaprove.InstanceId"
|
2021-02-26 15:29:05 +01:00
|
|
|
(cloneAllmobileComponent)="viewEventDetailDismiss($event)"
|
2021-03-25 10:50:58 +01:00
|
|
|
(closeEventToApprove)="closeEventToApprove()"
|
2021-03-03 10:15:44 +01:00
|
|
|
(AproveEventEditEvent)="AproveEventEditEvent($event)"
|
2021-03-25 15:18:12 +01:00
|
|
|
[eventAttendees]="contacts"
|
2021-02-26 15:29:05 +01:00
|
|
|
>
|
|
|
|
|
</app-approve-event>
|
2021-03-29 13:12:35 +01:00
|
|
|
|
|
|
|
|
<app-attendee-modal
|
2021-05-28 16:39:03 +01:00
|
|
|
[footer]="true"
|
2021-03-30 15:38:57 +01:00
|
|
|
class="d-flex flex-column height-100"
|
2021-03-24 15:10:46 +01:00
|
|
|
*ngIf="mobileComponent.showAttendees"
|
2021-03-30 10:28:05 +01:00
|
|
|
(closeComponent)="GoBackEditOrAdd()"
|
2021-03-29 13:44:48 +01:00
|
|
|
(setContact)="setContact($event)"
|
2021-04-05 15:00:14 +01:00
|
|
|
[adding]="adding"
|
|
|
|
|
[taskParticipants]="taskParticipants"
|
|
|
|
|
[taskParticipantsCc]="taskParticipantsCc"
|
|
|
|
|
(setIntervenient)="setIntervenient($event)"
|
|
|
|
|
(setIntervenientCC)="setIntervenientCC($event)"
|
2021-03-24 15:10:46 +01:00
|
|
|
>
|
|
|
|
|
</app-attendee-modal>
|
2021-02-26 15:29:05 +01:00
|
|
|
|
2021-01-25 16:18:36 +01:00
|
|
|
</div>
|
2021-02-24 09:14:58 +01:00
|
|
|
|
2021-01-22 16:00:37 +01:00
|
|
|
</div>
|
2021-02-24 09:14:58 +01:00
|
|
|
|
2021-01-22 16:00:37 +01:00
|
|
|
</ion-content>
|