2021-01-04 12:00:04 +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">
|
2021-10-27 09:49:50 +01:00
|
|
|
<div class="back-icon ">
|
|
|
|
|
<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>
|
|
|
|
|
<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>
|
2021-01-04 12:00:04 +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-01-04 12:00:04 +01:00
|
|
|
</div>
|
|
|
|
|
</ion-toolbar>
|
|
|
|
|
</ion-header>
|
|
|
|
|
|
|
|
|
|
<ion-content>
|
|
|
|
|
<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
|
|
|
|
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-01-04 12:00:04 +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)="createRoom(user.username)" *virtualItem="let user" class="item-user cursor-pointer">
|
2021-01-13 15:49:58 +01:00
|
|
|
<p>{{user.name}}</p>
|
2021-01-04 12:00:04 +01:00
|
|
|
<span class="icon">
|
2021-01-14 16:51:16 +01:00
|
|
|
<ion-icon class="{{user.status}}" slot="end" name="ellipse"></ion-icon>
|
2021-01-04 12:00:04 +01:00
|
|
|
</span>
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2021-01-04 12:00:04 +01:00
|
|
|
</div>
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2021-01-04 12:00:04 +01:00
|
|
|
</ion-virtual-scroll>
|
2021-08-19 09:10:48 +01:00
|
|
|
|
|
|
|
|
</div>
|
2021-01-04 12:00:04 +01:00
|
|
|
</ion-content>
|