2020-12-22 15:53:30 +01:00
|
|
|
<ion-header class="ion-no-border">
|
|
|
|
|
<ion-toolbar class="header-toolbar">
|
|
|
|
|
<div class="main-header">
|
2021-07-08 13:41:27 +01:00
|
|
|
<div class="title-content width-100">
|
2020-12-22 15:53:30 +01:00
|
|
|
<div class="back-icon">
|
2021-10-27 09:49:50 +01:00
|
|
|
<button class="btn-no-color cursor-pointer" (click)="close()">
|
2021-10-25 13:21:48 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
2022-10-18 14:51:24 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " src="assets/images/theme/doneIt/icons-calendar-arrow-left.svg"></ion-icon>
|
2021-10-25 13:21:48 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
2021-04-09 09:40:32 +01:00
|
|
|
</button>
|
2020-12-22 15:53:30 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="div-title">
|
|
|
|
|
<ion-label class="title">Contactos</ion-label>
|
|
|
|
|
</div>
|
2021-10-27 15:09:10 +01:00
|
|
|
<app-btn-seguinte (click)="groupMessages()" class="cursor-pointer"></app-btn-seguinte>
|
2020-12-22 15:53:30 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-toolbar>
|
2020-12-31 11:37:35 +01:00
|
|
|
<ion-toolbar class="toolbar-search">
|
|
|
|
|
<div class="search">
|
2023-07-16 21:38:37 +01:00
|
|
|
<ion-searchbar search-icon="undefined" (ionChange)="onChange($event)" placeholder="Pesquisar por contacto" ></ion-searchbar>
|
2020-12-31 11:37:35 +01:00
|
|
|
</div>
|
2020-12-21 16:37:44 +01:00
|
|
|
</ion-toolbar>
|
|
|
|
|
</ion-header>
|
|
|
|
|
|
|
|
|
|
<ion-content>
|
2020-12-22 15:53:30 +01:00
|
|
|
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
|
|
|
|
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
|
|
|
|
<ion-refresher-content>
|
|
|
|
|
</ion-refresher-content>
|
|
|
|
|
</ion-refresher>
|
|
|
|
|
<div class="main-content">
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2020-12-31 11:37:35 +01:00
|
|
|
<!-- <ion-list>
|
|
|
|
|
<ion-item *ngFor="let user of searchedItem">
|
2020-12-22 15:53:30 +01:00
|
|
|
{{user.name}}
|
2020-12-31 11:37:35 +01:00
|
|
|
</ion-item>
|
|
|
|
|
</ion-list> -->
|
|
|
|
|
|
|
|
|
|
<ion-virtual-scroll [items]="users" approxItemHeight="70px" [headerFn]="separateLetter">
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2020-12-31 11:37:35 +01:00
|
|
|
<div class="item-divider" *virtualHeader="let header">
|
|
|
|
|
<ion-label>{{header}}</ion-label>
|
2020-12-22 15:53:30 +01:00
|
|
|
</div>
|
2020-12-31 11:37:35 +01:00
|
|
|
|
|
|
|
|
<div *virtualItem="let user" class="item-checkbox">
|
2020-12-22 15:53:30 +01:00
|
|
|
<ion-checkbox color="primary"></ion-checkbox>
|
2020-12-31 11:37:35 +01:00
|
|
|
<p>{{user.first}} {{user.last}}</p>
|
2020-12-22 15:53:30 +01:00
|
|
|
<ion-icon name="ellipse"></ion-icon>
|
|
|
|
|
</div>
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2020-12-31 11:37:35 +01:00
|
|
|
</ion-virtual-scroll>
|
2021-08-19 09:10:48 +01:00
|
|
|
|
|
|
|
|
</div>
|
2020-12-21 16:37:44 +01:00
|
|
|
</ion-content>
|
2020-12-22 15:53:30 +01:00
|
|
|
|
|
|
|
|
|