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">
|
2021-10-27 09:49:50 +01:00
|
|
|
<div class="back-icon cursor-pointer">
|
2021-04-09 09:40:32 +01:00
|
|
|
<button class="btn-no-color" (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>
|
2021-10-27 14:42:10 +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>
|
2021-03-04 18:50:26 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="div-title">
|
2024-08-19 16:01:58 +01:00
|
|
|
<!-- Create direct message -->
|
2021-03-04 18:50:26 +01:00
|
|
|
<ion-label class="title">Contactos</ion-label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-toolbar>
|
|
|
|
|
<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>
|
2021-03-04 18:50:26 +01:00
|
|
|
</div>
|
|
|
|
|
</ion-toolbar>
|
|
|
|
|
</ion-header>
|
|
|
|
|
|
|
|
|
|
<ion-content>
|
2024-08-19 16:01:58 +01:00
|
|
|
|
2021-03-04 18:50:26 +01:00
|
|
|
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
2024-08-19 16:01:58 +01:00
|
|
|
<ion-progress-bar type="indeterminate" *ngIf="loading"></ion-progress-bar>
|
2021-03-04 18:50:26 +01:00
|
|
|
<ion-refresher-content>
|
|
|
|
|
</ion-refresher-content>
|
|
|
|
|
</ion-refresher>
|
|
|
|
|
<div class="main-content">
|
2024-08-19 16:01:58 +01:00
|
|
|
<ion-progress-bar class="position-absolute" type="indeterminate" *ngIf="loading"></ion-progress-bar>
|
|
|
|
|
<div *ngFor="let userContainer of userContainer | keyvalue;" >
|
2021-08-19 09:10:48 +01:00
|
|
|
|
2024-08-19 16:01:58 +01:00
|
|
|
<div class="item-divider">
|
|
|
|
|
<ion-label>{{ userContainer.key }}</ion-label>
|
2021-03-04 18:50:26 +01:00
|
|
|
</div>
|
|
|
|
|
|
2024-08-19 16:01:58 +01:00
|
|
|
<div *ngFor="let user of userContainer.value; let i = index" class="d-flex px-20 align-center" (click)="select(user)">
|
|
|
|
|
<ion-checkbox [(ngModel)]="user.isChecked" color="primary"></ion-checkbox>
|
|
|
|
|
<ion-label class="flex-grow-1 px-10">{{user.wxFullName}}</ion-label>
|
|
|
|
|
<div class="icon"><ion-icon name="ellipse"></ion-icon></div>
|
2021-03-04 18:50:26 +01:00
|
|
|
</div>
|
2024-08-19 16:01:58 +01:00
|
|
|
</div>
|
2021-08-19 09:10:48 +01:00
|
|
|
|
|
|
|
|
</div>
|
2021-03-04 18:50:26 +01:00
|
|
|
</ion-content>
|
|
|
|
|
|