2021-03-04 18:50:26 +01:00
|
|
|
<ion-header class="ion-no-border">
|
|
|
|
|
<ion-toolbar class="header-toolbar">
|
|
|
|
|
<div class="main-header">
|
|
|
|
|
<div class="title-content">
|
2022-07-27 16:12:46 +01:00
|
|
|
<div class="back-icon cursor-pointer" (click)="close()">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
2021-03-04 18:50:26 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="div-title">
|
|
|
|
|
<ion-label class="title">Nova Conversa</ion-label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-toolbar>
|
|
|
|
|
<ion-toolbar class="toolbar-search">
|
|
|
|
|
<div class="search">
|
2021-08-19 09:10:48 +01:00
|
|
|
<ion-searchbar debounce="500" (ionChange)="onChange($event)" placeholder="Pesquisar por contacto" ></ion-searchbar>
|
2021-03-04 18:50:26 +01:00
|
|
|
</div>
|
|
|
|
|
</ion-toolbar>
|
|
|
|
|
</ion-header>
|
|
|
|
|
|
|
|
|
|
<ion-content>
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2021-03-04 18:50:26 +01:00
|
|
|
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
2022-10-04 11:33:46 +01:00
|
|
|
<!-- <ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar> -->
|
2022-08-10 14:24:45 +01:00
|
|
|
<ion-refresher-content>
|
|
|
|
|
</ion-refresher-content>
|
|
|
|
|
</ion-refresher>
|
2021-03-18 09:25:59 +01:00
|
|
|
|
2021-03-04 18:50:26 +01:00
|
|
|
<div class="main-content">
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2022-09-30 15:13:36 +01:00
|
|
|
<ion-virtual-scroll [items]="ChatSystemService.users | filter:textSearch: 'name'" approxItemHeight="70px" [headerFn]="separateLetter">
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2021-03-04 18:50:26 +01:00
|
|
|
<div class="item-divider" *virtualHeader="let header">
|
|
|
|
|
<ion-label>{{header}}</ion-label>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-10-27 15:09:10 +01:00
|
|
|
<div (click)="openMessagesPage(user.username)" *virtualItem="let user" class="item-user cursor-pointer">
|
2022-08-10 14:24:45 +01:00
|
|
|
<p>{{user.name}}</p>
|
|
|
|
|
<span class="icon">
|
|
|
|
|
<ion-icon class="{{user.status}}" slot="end" name="ellipse"></ion-icon>
|
|
|
|
|
</span>
|
2021-03-04 18:50:26 +01:00
|
|
|
</div>
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2021-03-04 18:50:26 +01:00
|
|
|
</ion-virtual-scroll>
|
2021-08-19 09:10:48 +01:00
|
|
|
|
|
|
|
|
</div>
|
2021-03-04 18:50:26 +01:00
|
|
|
</ion-content>
|