Files
doneit-web/src/app/pages/agenda/agenda.page.html
T

406 lines
21 KiB
HTML
Raw Normal View History

2021-07-15 16:57:19 +01:00
<!-- Progress bar -->
<ion-content id="timeline-conteiner agenda-container pt-20" class="timeline ">
2023-02-03 19:43:42 +01:00
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
<ion-refresher-content>
</ion-refresher-content>
</ion-refresher>
2023-11-06 09:36:30 +01:00
2021-04-23 10:35:53 +01:00
<div class="d-flex container-wrapper">
2021-07-15 16:57:19 +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">
2021-07-15 16:57:19 +01:00
2021-02-24 09:14:58 +01:00
<div class="main-content">
<!-- Toolbar -->
2021-07-16 22:50:08 +01:00
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
2021-09-01 17:14:57 +01:00
2023-11-06 09:36:30 +01:00
<div class="weeksToShow">
2021-02-24 09:14:58 +01:00
<!-- Calendar is here -->
2021-09-28 11:31:10 +01:00
2022-10-12 17:01:09 +01:00
<div class="calendar-segment-{{profile}}" [class.calendar-segment-pr-force]="SessionStore.user.Profile =='PR'">
2023-08-24 22:19:40 +01:00
<div class="calendar-container" class="calendarHeight" >
2021-07-15 16:57:19 +01:00
2021-02-24 09:14:58 +01:00
<ion-row class="ion-justify-content-between calendar-tool-tip">
2023-04-05 15:15:42 +01:00
<ion-row class="ion-align-items-center first-row">
2021-02-24 09:14:58 +01:00
<!-- Move back one screen of the slides -->
2021-07-15 16:57:19 +01:00
2023-05-19 12:00:51 +01:00
<div class="arrow cursor-pointer resize">
<button (click)="back()" class="btn-no-color resize" >
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="icon-only" src="assets/images/icons-calendar-arrow-left.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="icon-only" src="assets/images/theme/gov/icons-calendar-arrow-left.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " slot="icon-only" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-calendar-arrow-left.svg"></ion-icon>
</button>
</div>
2021-09-21 10:04:42 +01:00
<h2 class="capitaliseText d-flex align-center">
2021-10-27 15:10:55 +01:00
{{ viewTitle }}
2021-09-21 10:04:42 +01:00
</h2>
2021-12-09 18:03:15 +01:00
<div (click)="next()" class="arrow cursor-pointer resize">
2021-10-22 15:43:57 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="icon-only" src="assets/images/icons-calendar-arrow-right.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="icon-only" src="assets/images/theme/gov/icons-calendar-arrow-right.svg"></ion-icon>
2022-10-20 15:45:10 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " slot="icon-only" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-calendar-arrow-right.svg"></ion-icon>
2021-02-24 09:14:58 +01:00
</div>
2021-07-15 16:57:19 +01:00
2023-08-29 16:57:01 +01:00
2023-08-30 14:02:14 +01:00
<div *ngIf="SessionStore.user.RoleID !== 100000014" style="
2023-03-30 14:31:58 +01:00
padding-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
background: #f7f7f7;
2023-04-05 15:15:42 +01:00
border-radius: 5px;
margin-right: 10px;"
class="select-calendar">
<mat-form-field class="select-calendar" appearance="none" color="ion-color-secondary" placeholder="Selecione agenda">
2023-03-30 14:31:58 +01:00
<mat-select [(value)]="CalendarName" (selectionChange)="reloadCalendar()">
2023-11-06 09:36:30 +01:00
2023-03-30 14:31:58 +01:00
<mat-option *ngFor="let calendars of eventService.calendarNamesAry" value="{{calendars.Fullname || calendars}}">
2023-11-06 09:36:30 +01:00
2023-03-30 14:31:58 +01:00
<div *ngIf="environment.presidential">
<div *ngIf="calendars.Role == 'Presidente da República'"> PR </div>
<div *ngIf="calendars.Role == 'Ministro e Director do Gabinete do PR'"> MDGPR </div>
2023-11-06 09:36:30 +01:00
<div *ngIf="calendars.Role != 'Ministro e Director do Gabinete do PR' && calendars.Role != 'Presidente da República' && calendars.Fullname"> Agenda do {{calendars.Fullname}} </div>
2023-07-26 13:06:42 +01:00
<div *ngIf="calendars.Role != 'Presidente da República' && calendars.Role != 'Ministro e Director do Gabinete do PR' && calendars == 'Meu calendario' ">
<!-- <span *ngIf="SessionStore.user.Profile == 'PR' ">PR</span>
<span *ngIf="SessionStore.user.Profile == 'MDGPR' ">MDGPR</span>
<span *ngIf="SessionStore.user.Profile != 'MDGPR' && SessionStore.user.Profile != 'PR' ">Minha agenda</span> -->
Minha agenda
</div>
2023-03-30 14:31:58 +01:00
</div>
2023-11-06 09:36:30 +01:00
2023-03-30 14:31:58 +01:00
<div *ngIf="!environment.presidential">
<div *ngIf="calendars != 'Meu calendario' && calendars.Role == 'Presidente da República'"> {{ environment.agendaPR}} </div>
<div *ngIf="calendars != 'Meu calendario' && calendars.Role == 'Ministro e Director do Gabinete do PR'"> {{ environment.agendaVP}} </div>
<div *ngIf="calendars != 'Meu calendario' && calendars.Role != 'Ministro e Director do Gabinete do PR' && calendars.Role != 'Presidente da República'"> Agenda do {{calendars.Fullname}} </div>
<div *ngIf="calendars == 'Meu calendario'">Minha agenda</div>
</div>
</mat-option>
2023-06-22 12:53:35 +01:00
<mat-option value="PR+MDGPR" *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks]) && environment.presidential">
2023-03-30 14:31:58 +01:00
PR+MDGPR
</mat-option>
2023-11-06 09:36:30 +01:00
2023-03-30 14:31:58 +01:00
</mat-select>
</mat-form-field>
2023-11-06 09:36:30 +01:00
2023-03-30 14:31:58 +01:00
</div>
2023-11-06 09:36:30 +01:00
<div class="float-button">
2023-08-14 21:26:23 +01:00
<button title="Visualizar a lista de Eventos para aprovação" class="cursor-pointer resize pr-20-rem" (click)="viewEventsToApprove()" *ngIf="p.userPermission([p.permissionList.Gabinete.aprove_event])">
2023-04-05 15:15:42 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="right-icons" src="assets/images/icons-received-event.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && !mobileComponent.showEventList" class="right-icons" src="assets/images/theme/gov/icons-received-event.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && mobileComponent.showEventList" class="right-icons" src="assets/images/theme/gov/icons-received-event-selected.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="right-icons" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-received-event.svg"></ion-icon>
</button>
<button *ngIf="eventService.hasAnyCalendar" title="Novo Evento" class="cy-add-event cursor-pointer resize" (click)="clearContact();openAddEvent();">
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="right-icons" src="assets/images/icons-add.svg" ></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && !mobileComponent.showAddNewEvent" class="right-icons" src="assets/images/theme/gov/icons-add.svg" ></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && mobileComponent.showAddNewEvent" class="right-icons" src="assets/images/theme/gov/icons-add-selected.svg" ></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="right-icons" slot="icon-only" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-add.svg"></ion-icon>
</button>
</div>
2023-11-06 09:36:30 +01:00
2021-02-24 09:14:58 +01:00
</ion-row>
2023-04-05 15:15:42 +01:00
<ion-row class="ion-align-items-center calendar-options">
2023-03-28 13:59:37 +01:00
2023-04-05 15:15:42 +01:00
<button title="Visualizar a lista de Eventos para aprovação" class="cursor-pointer resize pr-10" (click)="viewEventsToApprove()" *ngIf="p.userPermission([p.permissionList.Gabinete.aprove_event])">
2021-10-21 15:47:00 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="right-icons" src="assets/images/icons-received-event.svg"></ion-icon>
2022-01-24 12:57:28 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && !mobileComponent.showEventList" class="right-icons" src="assets/images/theme/gov/icons-received-event.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && mobileComponent.showEventList" class="right-icons" src="assets/images/theme/gov/icons-received-event-selected.svg"></ion-icon>
2022-10-20 15:45:10 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="right-icons" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-received-event.svg"></ion-icon>
2021-04-08 16:53:16 +01:00
</button>
2021-07-15 16:57:19 +01:00
2023-04-05 15:15:42 +01:00
<button *ngIf="eventService.hasAnyCalendar" title="Novo Evento" class="cy-add-event cursor-pointer resize" (click)="clearContact();openAddEvent();">
2021-10-21 15:47:00 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="right-icons" src="assets/images/icons-add.svg" ></ion-icon>
2022-01-24 12:57:28 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && !mobileComponent.showAddNewEvent" class="right-icons" src="assets/images/theme/gov/icons-add.svg" ></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && mobileComponent.showAddNewEvent" class="right-icons" src="assets/images/theme/gov/icons-add-selected.svg" ></ion-icon>
2022-10-20 15:45:10 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="right-icons" slot="icon-only" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-add.svg"></ion-icon>
2023-03-30 14:31:58 +01:00
</button>
2021-07-15 16:57:19 +01:00
</ion-row>
2023-03-30 14:31:58 +01:00
2021-07-15 16:57:19 +01:00
</ion-row>
2021-02-24 09:14:58 +01:00
<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>
2021-07-15 16:57:19 +01:00
2023-08-30 14:18:05 +01:00
<div class="calendar-conteiner-height overflow-hidden" [style.height]="listBoxService.height">
2023-08-24 22:19:40 +01:00
<calendar
class="calendar-component"
[eventSource]="listToPresent"
[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>
</div>
2021-07-15 16:57:19 +01:00
2021-02-24 09:14:58 +01:00
<!-- 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">
2021-07-15 16:57:19 +01:00
2021-06-16 09:51:15 +01:00
<div class="day">
2021-06-16 15:58:44 +01:00
<div class="number"> {{ view.dates[row*7+col].label }}</div>
2021-07-15 16:57:19 +01:00
</div>
2021-06-16 09:51:15 +01:00
</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>
2021-07-15 16:57:19 +01:00
2022-04-02 09:40:09 +01:00
<div class="calendar-border"></div>
2021-07-15 16:57:19 +01:00
2023-03-30 14:31:58 +01:00
2023-03-31 13:51:17 +01:00
<div class="calendar-title-container px-20 d-flex">
2023-03-30 14:31:58 +01:00
2023-04-17 16:40:17 +01:00
<ion-row class="timeline-date align-center pr-10">
2023-08-30 14:18:05 +01:00
<button class="no-color" *ngIf="showCalendar" (click)="listBoxService.height='0px';showCalendar=false">
2023-04-17 16:40:17 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="collaps font-25" src="assets/images/icons-collaps-up.svg" ></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="collaps font-25" src="assets/images/theme/gov/icons-collaps-up.svg" ></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="collaps font-25" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-collaps-up.svg"></ion-icon>
</button>
2023-08-24 22:19:40 +01:00
<button class="no-color" *ngIf="!showCalendar" (click)="weekToShow();showCalendar=true">
2023-04-17 16:40:17 +01:00
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="collaps font-25" src="assets/images/icons-collaps-down.svg" ></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="collaps font-25" src="assets/images/theme/gov/icons-collaps-down.svg" ></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="collaps font-25" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-collaps-down.svg" ></ion-icon>
</button >
</ion-row>
2023-07-06 12:18:15 +01:00
<div style="padding-right: 50px" class="font-16-em text-black align-center cursor-pointer" (click)="changeSegment('Combinado')" [class.active]="segment == 'Combinado' ">
2023-08-29 16:57:01 +01:00
Todos...
2021-03-17 20:45:57 +01:00
</div>
2023-07-06 12:18:15 +01:00
<div style="padding-right: 50px" class="font-16-em text-black align-center cursor-pointer" (click)="changeSegment('Pessoal')" [class.active]="segment == 'Pessoal' ">
2023-03-30 14:31:58 +01:00
Pessoais
</div>
2023-07-06 12:18:15 +01:00
<div class="font-16-em text-black align-center cursor-pointer" (click)="changeSegment('Oficial')" [class.active]="segment == 'Oficial' ">
2023-03-30 14:31:58 +01:00
Oficiais
2021-03-17 20:45:57 +01:00
</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" >
<div class="height-100">
2023-04-05 15:15:42 +01:00
<div class="timeline-container height-100 d-flex pt-10 pl-20 filter-{{segment}}" >
2021-06-08 11:24:01 +01:00
2023-11-06 09:36:30 +01:00
<!-- <div class="ss-timeline timeline-mobile flex-grow-1 pr-10 text-black height-100 width-100 overflow-y-auto" >
-->
<!-- <div class="timeline-date align-center" *ngIf="isSelectedDayHasEvent && hasEventToday">
<span >Hoje,&nbsp;</span> {{ timelineDate }}
</div> -->
2023-11-06 14:45:50 +01:00
<div class="ss-timeline timeline-mobile flex-grow-1 pr-10 text-black height-100 width-100 overflow-y-auto" >
2023-11-06 09:36:30 +01:00
2023-03-30 14:31:58 +01:00
2023-08-29 16:57:01 +01:00
<div *ngFor="let events of TimelineMDList | keyvalue; " >
2021-07-15 16:57:19 +01:00
2021-09-03 12:19:21 +01:00
<div class="EventListBox-container" >
2023-08-29 16:57:01 +01:00
<div class="day " [class.dayShow]="isSelectedDayHasEvent && hasEventToday" >
2023-11-06 09:36:30 +01:00
{{ TimelineDay(events.key)}} <div style="text-transform: capitalize; display: inline;">{{ events.value[0].start | date: 'MMMM'}}</div>
2023-08-29 16:57:01 +01:00
</div>
2021-06-25 09:43:24 +01:00
2023-08-29 16:57:01 +01:00
<div *ngFor="let event of events.value" class="EventListBox mb-10" >
2021-06-08 11:24:01 +01:00
2023-08-29 16:57:01 +01:00
<div class="d-flex content-{{event.profile}}-{{event.event.CalendarName}} mt-10 cursor-pointer width-100 " (click)="eventClicked(event)"
*ngIf="viewEventMonth <= dateMonth(event) ">
2021-06-08 11:24:01 +01:00
2023-08-29 16:57:01 +01:00
<div class="schedule-time" *ngIf="!event.event.IsAllDayEvent">
2021-06-08 11:24:01 +01:00
2023-08-29 16:57:01 +01:00
<div *ngIf="event.startMany && !event.middle" class="time-start labelb">Início</div>
<div *ngIf="event.endMany && !event.middle " class="time-end labelb">Fim</div>
<div *ngIf="!(event.endMany && !event.middle) && !event.middle" class="time-start">{{event.event.StartDate | date: 'HH:mm'}}</div>
<div *ngIf="!(event.startMany && !event.middle) && !event.middle" class="time-end"> {{event.event.EndDate | date: 'HH:mm'}} </div>
<div *ngIf="event.middle" class="time-start"> Todo </div>
<div *ngIf="event.middle" class="time-end text-center"> o dia </div>
2021-06-08 11:24:01 +01:00
</div>
2023-08-29 16:57:01 +01:00
<div class="schedule-time" *ngIf="event.event.IsAllDayEvent">
<div class="time-start">Todo </div>
<div class="time-end text-center">o dia</div>
</div>
2021-06-08 11:24:01 +01:00
<div class="schedule-details">
2021-06-11 11:47:17 +01:00
<div class="description">
2023-08-29 16:57:01 +01:00
<p class="m-0">{{event.event.Subject}}</p>
2021-06-11 11:47:17 +01:00
</div>
2023-08-29 16:57:01 +01:00
<div class="location">{{event.event.Location}}</div>
<div class="font-13 calendar-owner"*ngIf="eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId) == 'Meu calendario'">{{SessionStore.user.FullName}} </div>
<ng-template #other_content>{{eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId)}}</ng-template>
2021-06-08 11:24:01 +01:00
</div>
</div>
2021-07-15 16:57:19 +01:00
2021-06-08 11:24:01 +01:00
</div>
</div>
</div>
</div>
2021-09-01 17:14:57 +01:00
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 &&
2021-06-29 14:15:56 +01:00
mobileComponent.showAttendeeModal == false &&
mobileComponent.showEditEventToApprove == 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-07-15 16:57:19 +01:00
2021-02-24 09:14:58 +01:00
<!-- New -->
2021-09-01 17:14:57 +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)"
2023-01-24 15:56:47 +01:00
[CalendarDate]="viewDate"
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-09-01 17:14:57 +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"
(clearContact)="clearContact()"
2021-03-25 15:18:12 +01:00
(openAttendeesComponent)="openAttendeesComponent($event)"
2021-03-30 15:38:57 +01:00
(setContact)="setContact($event)"
(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-09-27 16:23:41 +01:00
<!-- Edit event to approve -->
<app-edit-event-to-approve
class="d-flex flex-column height-100"
*ngIf="mobileComponent.showEditEventToApprove"
[taskParticipants]="taskParticipants"
[taskParticipantsCc]="taskParticipantsCc"
[saveData] = "eventToaprove.saveData"
[serialNumber] = "eventToaprove.serialNumber"
(setContact)="setContact($event)"
(clearContact)="clearContact()"
(openAttendeesComponent)="openAttendeesComponent($event)"
(closeComponent)="approveEventDismissGoBack()"
2022-06-03 16:53:50 +01:00
(approveEventDismiss) = "approveEventDismiss($event)"
2021-09-27 16:23:41 +01:00
(setIntervenient)="setIntervenient($event)"
(setIntervenientCC)="setIntervenientCC($event)"
(closeEventToApprove)="closeEventToApproveGoBack()"
></app-edit-event-to-approve>
2021-10-27 15:10:55 +01:00
2021-09-27 16:23:41 +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"
2022-05-27 13:36:37 +01:00
[CalendarId]="selectedEventCalendarId"
2021-02-24 09:14:58 +01:00
(viewEventDetailDismiss)="viewEventDetailDismiss($event)"
2021-03-25 15:18:12 +01:00
[eventAttendees]="contacts"
2021-02-24 09:14:58 +01:00
></app-view-event>
2021-07-15 16:57:19 +01:00
<app-event-list
2021-07-16 14:23:54 +01:00
[style.display]="mobileComponent.showEventList ? 'flex' : 'none'"
2021-03-29 17:01:11 +01:00
[profile]="profile"
2021-07-26 15:19:03 +01:00
[showComponent] = "mobileComponent.showEventList"
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-07-26 15:19:03 +01:00
<!-- Event to approve details -->
2021-07-15 16:57:19 +01:00
<app-approve-event class="d-flex flex-column"
*ngIf="mobileComponent.showEventToApprove"
2021-07-26 15:19:03 +01:00
[style.display]="mobileComponent.transparentEventToApprove ? 'flex' : 'none'"
[showComponent] = "mobileComponent.showEventToApprove"
[componentTransparent] = "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-06-30 10:24:23 +01:00
[saveData] = "eventToaprove.saveData"
2021-02-26 15:29:05 +01:00
(cloneAllmobileComponent)="viewEventDetailDismiss($event)"
2021-06-30 11:59:57 +01:00
(closeEventToApprove)="closeEventToApproveGoBack()"
2021-03-03 10:15:44 +01:00
(AproveEventEditEvent)="AproveEventEditEvent($event)"
2021-06-29 14:15:56 +01:00
(EditApproveEventDismiss)="EditApproveEventDismiss()"
2021-03-25 15:18:12 +01:00
[eventAttendees]="contacts"
2021-02-26 15:29:05 +01:00
>
</app-approve-event>
2021-06-29 14:15:56 +01:00
2021-07-15 16:57:19 +01:00
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-07-15 16:57:19 +01:00
2021-09-01 17:14:57 +01:00
</ion-content>