@chat21/chat21-ionic 3.0.97-rc.3 → 3.0.97-rc.4
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 +4 -0
- package/package.json +1 -1
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.html +1 -1
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.ts +5 -3
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +2 -2
- package/src/app/pages/conversation-detail/conversation-detail.page.html +1 -1
- package/src/assets/i18n/ar.json +1 -0
- package/src/assets/i18n/az.json +1 -0
- package/src/assets/i18n/de.json +1 -0
- package/src/assets/i18n/en.json +1 -0
- package/src/assets/i18n/es.json +1 -0
- package/src/assets/i18n/fr.json +1 -0
- package/src/assets/i18n/it.json +1 -0
- package/src/assets/i18n/kk.json +1 -0
- package/src/assets/i18n/pt.json +1 -0
- package/src/assets/i18n/ru.json +1 -0
- package/src/assets/i18n/sr.json +1 -0
- package/src/assets/i18n/sv.json +1 -0
- package/src/assets/i18n/tr.json +1 -0
- package/src/assets/i18n/uk.json +1 -0
- package/src/assets/i18n/uz.json +1 -0
- package/src/chat21-core/providers/mqtt/mqtt-groups-handler.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# chat21-ionic ver 3.0
|
|
2
2
|
|
|
3
|
+
### 3.0.97-rc.4
|
|
4
|
+
- bug-fixed: error getting chat group members
|
|
5
|
+
- bug-fixed: missing info-conversation accordion label
|
|
6
|
+
|
|
3
7
|
### 3.0.97-rc.3
|
|
4
8
|
- added: channel property to message/conversation and changed attributes.channel to attributes.offline_channel for offline message email
|
|
5
9
|
- added: channel info in conversation-header-detail component
|
package/package.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
|
|
187
187
|
<ng-container *ngIf="message?.attributes && message?.attributes?.sourcePage && !isSameSender(message?.sender, i)">
|
|
188
188
|
<ion-button shape="round" size="small" class="btn-info-msg " ion-button fill="clear"
|
|
189
|
-
(click)="onClickInfoMessage(message, i)" tooltip="{{
|
|
189
|
+
(click)="onClickInfoMessage(message, i)" tooltip="{{viewedPageTooltipText}}" placement="bottom">
|
|
190
190
|
<ion-icon slot="icon-only" name="information-circle-outline"></ion-icon>
|
|
191
191
|
</ion-button>
|
|
192
192
|
</ng-container>
|
|
@@ -41,6 +41,7 @@ export class IonConversationDetailComponent extends ConversationContentComponent
|
|
|
41
41
|
public fileType: any
|
|
42
42
|
public browserLang: string;
|
|
43
43
|
public addAsCannedResponseTooltipText: string;
|
|
44
|
+
public viewedPageTooltipText: string;
|
|
44
45
|
public showSourceInfo: boolean = false;
|
|
45
46
|
public showSourceInfoIndex: number = 0;
|
|
46
47
|
// public openInfoConversation: boolean = true;
|
|
@@ -115,9 +116,10 @@ export class IonConversationDetailComponent extends ConversationContentComponent
|
|
|
115
116
|
// this.translate.getTranslation(chat_lang).subscribe((labels: string) => {
|
|
116
117
|
// console.log('[CONVS-DETAIL] translations: ', labels);
|
|
117
118
|
// });
|
|
118
|
-
this.translate.get('AddAsCannedResponse').subscribe((text: string) => {
|
|
119
|
-
|
|
120
|
-
this.addAsCannedResponseTooltipText = text
|
|
119
|
+
this.translate.get(['AddAsCannedResponse', 'ViewedPage']).subscribe((text: string) => {
|
|
120
|
+
console.log('[CONVS-DETAIL] AddAsCannedResponse translated: ', text);
|
|
121
|
+
this.addAsCannedResponseTooltipText = text['AddAsCannedResponse']
|
|
122
|
+
this.viewedPageTooltipText = text['ViewedPage']
|
|
121
123
|
})
|
|
122
124
|
}
|
|
123
125
|
|
|
@@ -96,12 +96,12 @@
|
|
|
96
96
|
<div class="conversation_project truncate">
|
|
97
97
|
<!-- DIRECT CONV -->
|
|
98
98
|
<div *ngIf="conversation.channel_type === TYPE_DIRECT">
|
|
99
|
-
<img class="channel-icon" src="
|
|
99
|
+
<img class="channel-icon" src="assets/images/channel_icons/direct.svg">
|
|
100
100
|
<span class="truncate">{{translationsMap.get('DIRECT_CHAT')}}</span>
|
|
101
101
|
</div>
|
|
102
102
|
<!-- GROUP CONV -->
|
|
103
103
|
<div *ngIf="conversation.uid.startsWith(TYPE_GROUP)">
|
|
104
|
-
<img class="channel-icon" src="
|
|
104
|
+
<img class="channel-icon" src="assets/images/channel_icons/group.svg">
|
|
105
105
|
<span class="truncate">{{translationsMap.get('GROUP_CHAT')}}</span>
|
|
106
106
|
</div>
|
|
107
107
|
<!-- SUPPORT-GROUP CONV -->
|
package/src/assets/i18n/ar.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"استمر",
|
|
252
252
|
"ViewArchivedConversations":"المحادثات المؤرشفة",
|
|
253
253
|
"ViewContactsList":"قائمة جهات الاتصال",
|
|
254
|
+
"ViewedPage":"الصفحة المعروضة",
|
|
254
255
|
"AddAsCannedResponse":"إضافة كإجابة جاهزة",
|
|
255
256
|
"AddNewCannedResponse":"إضافة رد جاهز جديد",
|
|
256
257
|
"TitleIsRequired":"العنوان مطلوب",
|
package/src/assets/i18n/az.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue": "Davam et",
|
|
252
252
|
"ViewArchivedConversations": "Arxivləşdirilmiş söhbətlər",
|
|
253
253
|
"ViewContactsList": "Əlaqə siyahısı",
|
|
254
|
+
"ViewedPage":"Baxılmış Səhifə",
|
|
254
255
|
"AddAsCannedResponse": "Konservləşdirilmiş cavab kimi əlavə edin",
|
|
255
256
|
"AddNewCannedResponse": "Yeni hazırlanmış cavab əlavə edin",
|
|
256
257
|
"TitleIsRequired": "Başlıq tələb olunur",
|
package/src/assets/i18n/de.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"Fortsetzen",
|
|
252
252
|
"ViewArchivedConversations":"Archivierte Gespräche",
|
|
253
253
|
"ViewContactsList":"Kontaktliste",
|
|
254
|
+
"ViewedPage":"Angesehene Seite",
|
|
254
255
|
"AddAsCannedResponse":"Als Standardantwort hinzufügen",
|
|
255
256
|
"AddNewCannedResponse":"Fügen Sie eine neue Standardantwort hinzu",
|
|
256
257
|
"TitleIsRequired":"Titel ist erforderlich",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"Continue",
|
|
252
252
|
"ViewArchivedConversations":"Archived conversations",
|
|
253
253
|
"ViewContactsList":"Contacts list",
|
|
254
|
+
"ViewedPage":"Viewed Page",
|
|
254
255
|
"AddAsCannedResponse":"Add as canned response",
|
|
255
256
|
"AddNewCannedResponse":"Add a new canned response",
|
|
256
257
|
"TitleIsRequired":"Title is required",
|
package/src/assets/i18n/es.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"Continuar",
|
|
252
252
|
"ViewArchivedConversations":"Conversaciones archivadas",
|
|
253
253
|
"ViewContactsList":"Lista de contactos",
|
|
254
|
+
"ViewedPage":"Página vista",
|
|
254
255
|
"AddAsCannedResponse":"Agregar como respuesta predeterminada",
|
|
255
256
|
"AddNewCannedResponse":"Agregar una nueva respuesta predeterminada",
|
|
256
257
|
"TitleIsRequired":"El título es obligatorio",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"Continuez",
|
|
252
252
|
"ViewArchivedConversations":"Conversations archivées",
|
|
253
253
|
"ViewContactsList":"Liste de contacts",
|
|
254
|
+
"ViewedPage":"Page consultée",
|
|
254
255
|
"AddAsCannedResponse":"Ajouter comme réponse par défaut",
|
|
255
256
|
"AddNewCannedResponse":"Ajouter une nouvelle réponse par défaut",
|
|
256
257
|
"TitleIsRequired":"Le titre est requis",
|
package/src/assets/i18n/it.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"Continua",
|
|
252
252
|
"ViewArchivedConversations":"Conversazioni archiviate",
|
|
253
253
|
"ViewContactsList":"Elenco contatti",
|
|
254
|
+
"ViewedPage":"Pagina visualizzata",
|
|
254
255
|
"AddAsCannedResponse":"Aggiungi come risposta predefinita",
|
|
255
256
|
"AddNewCannedResponse":"Aggiungi una nuova risposta predefinita",
|
|
256
257
|
"TitleIsRequired":"Il titolo è obbligatorio",
|
package/src/assets/i18n/kk.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue": "Жалғастыру",
|
|
252
252
|
"ViewArchivedConversations": "Мұрағатталған сұхбаттар",
|
|
253
253
|
"ViewContactsList": "Контактілер тізімі",
|
|
254
|
+
"ViewedPage":"Қаралған бет",
|
|
254
255
|
"AddAsCannedResponse": "Консервіленген жауап ретінде қосыңыз",
|
|
255
256
|
"AddNewCannedResponse": "Жаңа консервіленген жауапты қосыңыз",
|
|
256
257
|
"TitleIsRequired": "Тақырып қажет",
|
package/src/assets/i18n/pt.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"Continuar",
|
|
252
252
|
"ViewArchivedConversations":"Conversas arquivadas",
|
|
253
253
|
"ViewContactsList":"Lista de contatos",
|
|
254
|
+
"ViewedPage":"Página visualizada",
|
|
254
255
|
"AddAsCannedResponse":"Adicione como resposta padrão",
|
|
255
256
|
"AddNewCannedResponse":"Adicionar uma nova resposta padrão",
|
|
256
257
|
"TitleIsRequired":"O título é obrigatório",
|
package/src/assets/i18n/ru.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"Продолжать",
|
|
252
252
|
"ViewArchivedConversations":"Заархивированные беседы",
|
|
253
253
|
"ViewContactsList":"Список контактов",
|
|
254
|
+
"ViewedPage":"Просмотренная страница",
|
|
254
255
|
"AddAsCannedResponse":"Добавить как ответ по умолчанию",
|
|
255
256
|
"AddNewCannedResponse":"Добавить новый ответ по умолчанию",
|
|
256
257
|
"TitleIsRequired":"Требуется заголовок",
|
package/src/assets/i18n/sr.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"Наставити",
|
|
252
252
|
"ViewArchivedConversations":"Архивирани разговори",
|
|
253
253
|
"ViewContactsList":"Листа контаката",
|
|
254
|
+
"ViewedPage":"Погледана страница",
|
|
254
255
|
"AddAsCannedResponse":"Додај као задани одговор",
|
|
255
256
|
"AddNewCannedResponse":"Додајте нови подразумевани одговор",
|
|
256
257
|
"TitleIsRequired":"Наслов је обавезан",
|
package/src/assets/i18n/sv.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue": "Fortsätta",
|
|
252
252
|
"ViewArchivedConversations": "Arkiverade konversationer",
|
|
253
253
|
"ViewContactsList": "Kontaktlista",
|
|
254
|
+
"ViewedPage":"Visad sida",
|
|
254
255
|
"AddAsCannedResponse": "Lägg till som standardsvar",
|
|
255
256
|
"AddNewCannedResponse": "Lägg till ett nytt standardsvar",
|
|
256
257
|
"TitleIsRequired": "Titel krävs",
|
package/src/assets/i18n/tr.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue":"Devam",
|
|
252
252
|
"ViewArchivedConversations":"Arşivlenmiş konuşmalar",
|
|
253
253
|
"ViewContactsList":"Kişiler listesi",
|
|
254
|
+
"ViewedPage":"Görüntülenen Sayfa",
|
|
254
255
|
"AddAsCannedResponse":"Varsayılan yanıt olarak ekle",
|
|
255
256
|
"AddNewCannedResponse":"Yeni bir hazır yanıt ekle",
|
|
256
257
|
"TitleIsRequired":"Başlık zorunludur",
|
package/src/assets/i18n/uk.json
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
"Continue": "Продовжуйте",
|
|
252
252
|
"ViewArchivedConversations": "Архівні бесіди",
|
|
253
253
|
"ViewContactsList": "Список контактів",
|
|
254
|
+
"ViewedPage":"Переглянута сторінка",
|
|
254
255
|
"AddAsCannedResponse": "Додати як стандартну відповідь",
|
|
255
256
|
"AddNewCannedResponse": "Додайте нову готову відповідь",
|
|
256
257
|
"TitleIsRequired": "Заголовок обов’язковий",
|
package/src/assets/i18n/uz.json
CHANGED
|
@@ -252,6 +252,7 @@
|
|
|
252
252
|
"Continue": "Davom eting",
|
|
253
253
|
"ViewArchivedConversations": "Arxivlangan suhbatlar",
|
|
254
254
|
"ViewContactsList": "Kontaktlar ro'yxati",
|
|
255
|
+
"ViewedPage":"Koʻrilgan sahifa",
|
|
255
256
|
"AddAsCannedResponse": "Konservalangan javob sifatida qo'shing",
|
|
256
257
|
"AddNewCannedResponse": "Yangi tayyor javob qo'shing",
|
|
257
258
|
"TitleIsRequired": "Sarlavha kerak",
|
|
@@ -85,8 +85,8 @@ import { avatarPlaceholder, getColorBck } from 'src/chat21-core/utils/utils-user
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
private groupValue(childSnapshot: any){
|
|
88
|
-
this.logger.debug('[MQTT-GROUPS-SERV] group detail::', childSnapshot
|
|
89
|
-
const group: GroupModel = childSnapshot
|
|
88
|
+
this.logger.debug('[MQTT-GROUPS-SERV] group detail::', childSnapshot)
|
|
89
|
+
const group: GroupModel = childSnapshot;
|
|
90
90
|
this.logger.debug('[MQTT-GROUPS-SERV] groupValue ', group)
|
|
91
91
|
if (group) {
|
|
92
92
|
let groupCompleted = this.completeGroup(group)
|