2021-03-29 14:08:20 +01:00
|
|
|
<ion-header class="ion-no-border px-20">
|
|
|
|
|
<ion-toolbar class="px-10">
|
2021-10-12 10:27:46 +01:00
|
|
|
<ion-title class="pa-0">Adicionar intervenientes</ion-title>
|
2021-03-24 15:10:46 +01:00
|
|
|
</ion-toolbar>
|
2023-01-24 15:56:47 +01:00
|
|
|
<ion-searchbar #Searchbar class="attendee-search-bar" (ionChange)="onChange($event)" placeholder="Insira email para adicionar destinatário"></ion-searchbar><!-- [(ngModel)]="searchCountryString" -->
|
2021-03-24 15:10:46 +01:00
|
|
|
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
|
|
|
|
</ion-header>
|
|
|
|
|
|
2021-04-05 15:10:28 +01:00
|
|
|
<ion-content class="height-100 overflow-y-auto">
|
2021-08-24 14:37:09 +01:00
|
|
|
|
2021-04-05 15:10:28 +01:00
|
|
|
<ion-item-group class="d-flex flex-column height-100 ">
|
2021-03-29 17:00:21 +01:00
|
|
|
<ion-list lines="none" class="flex-grow-1 overflow-y-auto height-100" >
|
2021-03-29 14:08:20 +01:00
|
|
|
<ion-item-sliding class="px-20">
|
2021-03-29 13:12:35 +01:00
|
|
|
<div *ngFor="let attendee of contacts;">
|
2021-06-11 00:15:26 +01:00
|
|
|
<ion-item (click)="selectContact(attendee)" class="cursor-pointer" *ngIf="filterSearchList(attendee)" >
|
2021-03-29 13:12:35 +01:00
|
|
|
<div class="pr-10">
|
2021-10-26 15:21:15 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="font-35" src="assets/images/icons-default-profile.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-35" src="assets/images/theme/gov/icons-profile.svg"></ion-icon>
|
2022-10-20 15:45:10 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="font-35" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-profile.svg"></ion-icon>
|
2021-03-29 13:12:35 +01:00
|
|
|
</div>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3>{{ attendee.Name }}</h3>
|
|
|
|
|
<p>{{ attendee.EmailAddress }}</p>
|
|
|
|
|
</ion-label>
|
2021-10-26 15:21:15 +01:00
|
|
|
<div>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="font-35" src="assets/images/icons-add-25.svg" ></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-35" src="assets/images/theme/gov/icons-add-25.svg" ></ion-icon>
|
2022-10-20 15:45:10 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="font-35" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-add-25.svg" ></ion-icon>
|
2021-04-16 14:32:22 +01:00
|
|
|
</div>
|
2021-03-29 13:12:35 +01:00
|
|
|
</ion-item>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</ion-item-sliding>
|
|
|
|
|
</ion-list>
|
|
|
|
|
<hr/>
|
2021-04-05 15:10:28 +01:00
|
|
|
|
2021-04-21 14:27:55 +01:00
|
|
|
<ion-list lines="none" *ngIf="LtaskParticipants.length >= 1 && adding == 'intervenient' " class="flex-grow-1 overflow-y-auto height-100 pb-0" >
|
2021-08-24 14:37:09 +01:00
|
|
|
<div class="px-20 font-15 pt-20" style="border-top:1px solid #ebebeb;font-weight: 500;" *ngIf="LtaskParticipants.length >= 1 || LtaskParticipantsCc.length >= 1" > Destinatário</div>
|
|
|
|
|
<ion-item-sliding class="px-20">
|
2021-04-21 14:27:55 +01:00
|
|
|
<ion-item *ngFor="let attendee of LtaskParticipants;" class="d-flex">
|
2021-04-05 15:10:28 +01:00
|
|
|
<div class="pr-10">
|
2021-10-26 15:21:15 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="font-35" src="assets/images/icons-default-profile.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-35" src="assets/images/theme/gov/icons-profile.svg"></ion-icon>
|
2022-10-20 15:45:10 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="font-35" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-profile.svg"></ion-icon>
|
2021-04-05 15:10:28 +01:00
|
|
|
</div>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3>{{ attendee.Name }}</h3>
|
|
|
|
|
<p>{{ attendee.EmailAddress }}</p>
|
|
|
|
|
</ion-label>
|
2021-06-11 00:15:26 +01:00
|
|
|
<div class="cursor-pointer" (click)="remove(attendee)">
|
2021-04-16 14:32:22 +01:00
|
|
|
<ion-icon class="font-35" src="assets/images/icons-delete-25.svg"></ion-icon>
|
2021-04-05 15:10:28 +01:00
|
|
|
</div>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</ion-item-sliding>
|
|
|
|
|
</ion-list>
|
2021-04-21 14:27:55 +01:00
|
|
|
<ion-list lines="none" *ngIf="LtaskParticipantsCc.length >= 1 && adding == 'CC' " class="flex-grow-1 overflow-y-auto height-100 pb-0" >
|
2021-08-24 14:37:09 +01:00
|
|
|
<div class="px-20 font-15 pt-20" style="border-top:1px solid #ebebeb;font-weight: 500;" *ngIf="LtaskParticipants.length >= 1 || LtaskParticipantsCc.length >= 1" > Destinatário</div>
|
|
|
|
|
|
|
|
|
|
<ion-item-sliding class="px-20">
|
2021-04-21 14:27:55 +01:00
|
|
|
<ion-item *ngFor="let attendee of LtaskParticipantsCc;" class="d-flex">
|
2021-03-29 13:12:35 +01:00
|
|
|
<div class="pr-10">
|
2021-10-26 15:21:15 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="font-35" src="assets/images/icons-default-profile.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-35" src="assets/images/theme/gov/icons-profile.svg"></ion-icon>
|
2022-10-20 15:45:10 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " class="font-35" src="assets/images/theme/{{ThemeService.currentTheme}}/icons-profile.svg"></ion-icon>
|
2021-03-29 13:12:35 +01:00
|
|
|
</div>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3>{{ attendee.Name }}</h3>
|
|
|
|
|
<p>{{ attendee.EmailAddress }}</p>
|
|
|
|
|
</ion-label>
|
2021-06-11 00:15:26 +01:00
|
|
|
<div class="cursor-pointer" (click)="remove(attendee)">
|
2021-04-16 14:32:22 +01:00
|
|
|
<ion-icon class="font-35" src="assets/images/icons-delete-25.svg"></ion-icon>
|
2021-03-29 13:12:35 +01:00
|
|
|
</div>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</ion-item-sliding>
|
|
|
|
|
</ion-list>
|
|
|
|
|
</ion-item-group>
|
|
|
|
|
|
2021-03-24 15:10:46 +01:00
|
|
|
</ion-content>
|
2021-03-29 13:12:35 +01:00
|
|
|
|
2021-03-30 15:38:57 +01:00
|
|
|
<!-- Hide footer in gabinete-digital -->
|
2021-05-28 16:39:03 +01:00
|
|
|
<ion-footer class="ion-no-border" *ngIf="footer" >
|
|
|
|
|
<ion-toolbar class="width-100 d-flex justify-space-between px-20">
|
2021-03-24 15:10:46 +01:00
|
|
|
<ion-buttons slot="start">
|
2021-08-24 14:37:09 +01:00
|
|
|
<button class="btn-cancel" fill="clear" color="#061b52" (click)="close()">
|
2021-03-24 15:10:46 +01:00
|
|
|
<ion-label>Cancelar</ion-label>
|
2021-08-24 14:37:09 +01:00
|
|
|
</button>
|
2021-03-24 15:10:46 +01:00
|
|
|
</ion-buttons>
|
|
|
|
|
<ion-buttons slot="end">
|
2021-08-24 14:37:09 +01:00
|
|
|
<button class="btn-ok" fill="clear" color="#fff" (click)="save()">
|
2023-02-15 16:26:34 +01:00
|
|
|
<ion-label>Enviar</ion-label>
|
2021-08-24 14:37:09 +01:00
|
|
|
</button>
|
2021-03-24 15:10:46 +01:00
|
|
|
</ion-buttons>
|
|
|
|
|
</ion-toolbar>
|
2021-08-24 14:37:09 +01:00
|
|
|
</ion-footer>
|