@chat21/chat21-ionic 3.0.61-rc16 → 3.0.61-rc18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # chat21-ionic ver 3.0
2
2
 
3
+ ### 3.0.61-rc18
4
+ - Fix bugs: in the teammate settings drawer the logout button area is too large
5
+ - Fixed the bug: in the detail of the conversation the button messages are not aligned with the other messages
6
+
3
7
  ### 3.0.61-rc16
4
8
  - Does not allow teammates with agent role to access the "settings sidebar"
5
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chat21/chat21-ionic",
3
- "version": "3.0.61-rc16",
3
+ "version": "3.0.61-rc18",
4
4
  "author": "Tiledesk SRL",
5
5
  "homepage": "https://tiledesk.com/",
6
6
  "scripts": {
@@ -4,7 +4,7 @@
4
4
  margin-top: -6px;
5
5
  margin-bottom: 5px;
6
6
  height: auto;
7
-
7
+ padding-left: 8px;
8
8
 
9
9
  .div-button {
10
10
  display: inline-block;
@@ -21,11 +21,11 @@
21
21
 
22
22
  <!-- (click)="goToUserProfile()" -->
23
23
  <div role="button" class="user-details-avatar">
24
- <img *ngIf="USER_PHOTO_PROFILE_EXIST" class="user-img-in-sidebar-user-details" [src]="photo_profile_URL"
24
+ <img *ngIf="USER_PHOTO_PROFILE_EXIST" class="user-img-in-sidebar-user-details" [src]="photo_profile_URL"
25
25
  onerror="this.src='assets/images/no_image_user.png'" />
26
26
 
27
- <div *ngIf="!USER_PHOTO_PROFILE_EXIST" class="user-img-in-sidebar-user-details"
28
- [ngStyle]="{'background': 'linear-gradient(rgb(255,255,255) -125%,' + user?.fillColour + ')'}">
27
+ <div *ngIf="!USER_PHOTO_PROFILE_EXIST" class="user-img-in-sidebar-user-details"
28
+ [ngStyle]="{'background': 'linear-gradient(rgb(255,255,255) -125%,' + user?.fillColour + ')'}">
29
29
  <span id="sidebaravatar-altenative-user-avatar" class="sidebar-user-details-altenative-user-avatar">
30
30
  {{ user?.fullname_initial }}
31
31
  </span>
@@ -76,7 +76,7 @@
76
76
  <section *ngIf="isVisiblePAY" class="user-details-plan-info">
77
77
  <span>
78
78
  <div> {{prjct_name}} </div>
79
- <div style="display: inline-block;"> {{ profile_name_translated }} </div>
79
+ <div style="display: inline-block;"> {{ profile_name_translated }} </div>
80
80
 
81
81
  <div *ngIf="plan_type === 'payment' && plan_subscription_is_active === false"
82
82
  style="color:#f44336; position:relative; top: -1px;;display: inline-block;">
@@ -99,18 +99,22 @@
99
99
  border-top: 1px solid rgba(255, 255,255, 0.2);"> -->
100
100
 
101
101
 
102
- <section class="user-details-footer-section" (click)=onLogout()
102
+ <section class="user-details-footer-section"
103
103
  [ngClass]="{'footer-margin-top-pricing-no-visible': isVisiblePAY === false }">
104
- <i class="material-icons user-details-logout-icon">
105
- logout
106
- </i>
107
- <div> Logout</div>
104
+ <div role="button" class="logout-btn-wpr" (click)=onLogout()>
105
+ <i class="material-icons user-details-logout-icon" >
106
+ logout
107
+ </i>
108
+ <div class="user-details-logout-text">
109
+ {{LOGOUT_msg}}
110
+ </div>
111
+ </div>
108
112
  </section>
109
113
 
110
114
  <section class="user-details-footer-chat-version">
111
- <div class="chat-version">
112
- <!-- &copy; {{test | date: 'yyyy'}} {{company_name}} ver {{version}} -->
113
- ver {{version}}
115
+ <div class="chat-version">
116
+ <!-- &copy; {{test | date: 'yyyy'}} {{company_name}} ver {{version}} -->
117
+ ver {{version}}
114
118
  </div>
115
119
  </section>
116
120
 
@@ -253,7 +253,7 @@ button.user-details-btn-close {
253
253
  margin: auto;
254
254
  position: absolute;
255
255
  text-align: center;
256
- cursor: pointer;
256
+
257
257
  padding-bottom: 15px;
258
258
  padding-top: 200px;
259
259
  font-size: 16px;
@@ -262,13 +262,17 @@ button.user-details-btn-close {
262
262
  // top:355px
263
263
  }
264
264
 
265
+ .logout-btn-wpr {
266
+ cursor: pointer;
267
+ }
268
+
265
269
  .footer-margin-top-pricing-no-visible {
266
270
  padding-top: 240px;
267
271
  }
268
272
  .user-details-logout-icon {
269
273
  color: #a9afbb;
270
274
  font-size: 30px;
271
- margin-top: 30px;
275
+ // margin-top: 30px;
272
276
  }
273
277
 
274
278
  .user-details-logout-icon:hover {
@@ -41,6 +41,7 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
41
41
  PAYD_PLAN_NAME_ENTERPRISE_msg: string;
42
42
  PRO_PLAN_TRIAL_msg: string;
43
43
  FREE_PLAN_msg: string;
44
+ LOGOUT_msg: string;
44
45
  profile_name_translated: string;
45
46
  SubscriptionPaymentProblem: string;
46
47
  user: any
@@ -222,6 +223,7 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
222
223
  this.getIsBusyTranslation();
223
224
  this.getSubscriptionPaymentProblemTranslation();
224
225
  this.getThePlanHasExpiredTranslation();
226
+ this.getLogoutTranslation();
225
227
  }
226
228
 
227
229
 
@@ -280,6 +282,15 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
280
282
  });
281
283
  }
282
284
 
285
+ getLogoutTranslation() {
286
+ this.translate.get('LABEL_LOGOUT')
287
+ .subscribe((text: string) => {
288
+ // this.deleteContact_msg = text;
289
+ // console.log('[SIDEBAR-USER-DETAILS] - GET Logout label ', text)
290
+ this.LOGOUT_msg = text
291
+ });
292
+ }
293
+
283
294
  getSubscriptionPaymentProblemTranslation() {
284
295
  this.translate.get('SubscriptionPaymentProblem')
285
296
  .subscribe((text: string) => {
@@ -392,6 +403,7 @@ export class SidebarUserDetailsComponent implements OnInit, OnChanges {
392
403
  });
393
404
  }
394
405
 
406
+
395
407
 
396
408
 
397
409
  listenTocurrentProjectUserUserAvailability$() {
@@ -78,7 +78,7 @@
78
78
  "LABEL_ERROR_EMAIL": "Introduzca una dirección de correo electrónico válida.",
79
79
  "LABEL_ERROR_PASSWORD": "La contraseña debe tener al menos 6 caracteres.",
80
80
  "LABEL_LOGIN": "Ingresar",
81
- "LABEL_LOGOUT": "Cerrar sesión",
81
+ "LABEL_LOGOUT": "Finalizar la sesión",
82
82
  "LABEL_WELCOME_TO": "Bienvenido a",
83
83
  "LABEL_SIGNUP": "Regístrate",
84
84
  "LABEL_ALREDY_HAVE_AN_ACCOUNT": "¿Ya tienes una cuenta?",
@@ -78,7 +78,7 @@
78
78
  "LABEL_ERROR_EMAIL": "Entrez une adresse mail valide.",
79
79
  "LABEL_ERROR_PASSWORD": "Le mot de passe doit comporter au moins 6 caractères.",
80
80
  "LABEL_LOGIN": "Connexion",
81
- "LABEL_LOGOUT": "Se déconnecter",
81
+ "LABEL_LOGOUT": "Déconnexion",
82
82
  "LABEL_WELCOME_TO": "Bienvenue à",
83
83
  "LABEL_SIGNUP": "S'inscrire",
84
84
  "LABEL_ALREDY_HAVE_AN_ACCOUNT": "Vous avez déjà un compte?",
@@ -78,7 +78,7 @@
78
78
  "LABEL_ERROR_EMAIL": "Inserisci un indirizzo email valido.",
79
79
  "LABEL_ERROR_PASSWORD": "La password deve essere di almeno 6 caratteri.",
80
80
  "LABEL_LOGIN": "Login",
81
- "LABEL_LOGOUT": "Logout",
81
+ "LABEL_LOGOUT": "Disconnettersi",
82
82
  "LABEL_WELCOME_TO": "Benvenuto in",
83
83
  "LABEL_SIGNUP": "Registrati",
84
84
  "LABEL_ALREDY_HAVE_AN_ACCOUNT": "Hai già un account?",
@@ -78,7 +78,7 @@
78
78
  "LABEL_ERROR_EMAIL": "Digite um endereço de e-mail válido.",
79
79
  "LABEL_ERROR_PASSWORD": "A senha deve ter pelo menos 6 caracteres.",
80
80
  "LABEL_LOGIN": "Conecte-se",
81
- "LABEL_LOGOUT": "Sair",
81
+ "LABEL_LOGOUT": "Deslogar",
82
82
  "LABEL_WELCOME_TO": "Bem-vindo ao",
83
83
  "LABEL_SIGNUP": "Inscrever-se",
84
84
  "LABEL_ALREDY_HAVE_AN_ACCOUNT": "Já tem uma conta?",
@@ -78,7 +78,7 @@
78
78
  "LABEL_ERROR_EMAIL": "Введите действительный адрес электронной почты.",
79
79
  "LABEL_ERROR_PASSWORD": "Пароль должен быть не менее 6 символов.",
80
80
  "LABEL_LOGIN": "Авторизоваться",
81
- "LABEL_LOGOUT": "Выйти",
81
+ "LABEL_LOGOUT": "Выйти из системы",
82
82
  "LABEL_WELCOME_TO": "Добро пожаловать в",
83
83
  "LABEL_SIGNUP": "Зарегистрироваться",
84
84
  "LABEL_ALREDY_HAVE_AN_ACCOUNT": "У вас уже есть аккаунт?",
@@ -78,7 +78,7 @@
78
78
  "LABEL_ERROR_EMAIL": "Унесите исправну е-маил адресу.",
79
79
  "LABEL_ERROR_PASSWORD": "Лозинка мора имати најмање 6 знакова.",
80
80
  "LABEL_LOGIN": "Пријавите се",
81
- "LABEL_LOGOUT": "Одјавити се",
81
+ "LABEL_LOGOUT": "Одјава",
82
82
  "LABEL_WELCOME_TO": "Добродошли у",
83
83
  "LABEL_SIGNUP": "Пријави се",
84
84
  "LABEL_ALREDY_HAVE_AN_ACCOUNT": "Већ имате налог?",