@chat21/chat21-ionic 3.0.97-rc.3 → 3.0.97-rc.5
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 +13 -0
- package/README.md +6 -0
- package/package.json +1 -1
- package/src/app/app-routing.module.ts +5 -0
- package/src/app/app.module.ts +2 -0
- 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/components/conversation-detail/message-text-area/message-text-area.component.html +16 -9
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +42 -1
- package/src/app/modals/send-email/send-email.module.ts +0 -10
- package/src/app/modals/send-email/send-email.page.html +5 -5
- package/src/app/modals/send-email/send-email.page.scss +18 -2
- package/src/app/modals/send-email/send-email.page.ts +15 -2
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template-routing.module.ts +17 -0
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.module.ts +28 -0
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.html +139 -0
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.scss +340 -0
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.spec.ts +24 -0
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.ts +183 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.html +8 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.scss +80 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.ts +1 -0
- package/src/app/pages/conversation-detail/conversation-detail.page.html +4 -1
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +209 -200
- package/src/app/services/templates/templates.service.spec.ts +12 -0
- package/src/app/services/templates/templates.service.ts +42 -0
- package/src/assets/i18n/ar.json +21 -11
- package/src/assets/i18n/az.json +296 -286
- package/src/assets/i18n/de.json +21 -11
- package/src/assets/i18n/en.json +21 -11
- package/src/assets/i18n/es.json +21 -11
- package/src/assets/i18n/fr.json +21 -11
- package/src/assets/i18n/it.json +21 -11
- package/src/assets/i18n/kk.json +296 -286
- package/src/assets/i18n/pt.json +21 -11
- package/src/assets/i18n/ru.json +21 -11
- package/src/assets/i18n/sr.json +21 -11
- package/src/assets/i18n/sv.json +296 -286
- package/src/assets/i18n/tr.json +28 -18
- package/src/assets/i18n/uk.json +296 -286
- package/src/assets/i18n/uz.json +296 -286
- package/src/assets/images/whatsapp_background.png +0 -0
- package/src/chat-config-template.json +3 -1
- package/src/chat-config.json +3 -1
- package/src/chat21-core/providers/mqtt/mqtt-groups-handler.ts +2 -2
- package/src/chat-config-mqtt-localhost.json +0 -35
- package/src/chat-config-mqtt.json +0 -26
- package/src/chat-config-native-mqtt.json +0 -36
- package/src/chat-config-native-prod.json +0 -36
- package/src/chat-config-pre.json +0 -34
package/src/assets/i18n/en.json
CHANGED
|
@@ -23,16 +23,6 @@
|
|
|
23
23
|
],
|
|
24
24
|
"LABEL_SEND": "Send",
|
|
25
25
|
"LABEL_CHAT":"Chat",
|
|
26
|
-
"EMAIL_OFFLINE_TIP":"Warning: user is offline! The message will be sent by email",
|
|
27
|
-
"EMAIL_PLACEHOLDER":"Draft available here - click to edit",
|
|
28
|
-
"EMAIL_NOT_FOUND_PLACEHOLDER":"This user has not provided an email address. Update the visitor's address to send an email",
|
|
29
|
-
"SUBJECT":"Subject",
|
|
30
|
-
"MESSAGE":"Message",
|
|
31
|
-
"MESSAGE_PLACEHOLDER":"Type your message...",
|
|
32
|
-
"SEND_EMAIL_SUCCESS":"Email successfully sent ✌🏻",
|
|
33
|
-
"SEND_EMAIL_ERROR":"⚠️ ATTENTION ⚠️ Error occurred while sending email. Please retry again",
|
|
34
|
-
"SUBJECT_OFFLINE_MESSAGE":"Tiledesk Offline message 💬",
|
|
35
|
-
"SEND_EMAIL_SUCCESS_OFFLINE_MESSAGE":"Message also sent by email 📩",
|
|
36
26
|
"ID_CONVERSATION": "Id conversation",
|
|
37
27
|
"LABEL_CREATED_THE": "group created on",
|
|
38
28
|
"LABEL_INFO_ATTRIBUTE": "Attributes",
|
|
@@ -251,6 +241,7 @@
|
|
|
251
241
|
"Continue":"Continue",
|
|
252
242
|
"ViewArchivedConversations":"Archived conversations",
|
|
253
243
|
"ViewContactsList":"Contacts list",
|
|
244
|
+
"ViewedPage":"Viewed Page",
|
|
254
245
|
"AddAsCannedResponse":"Add as canned response",
|
|
255
246
|
"AddNewCannedResponse":"Add a new canned response",
|
|
256
247
|
"TitleIsRequired":"Title is required",
|
|
@@ -293,5 +284,24 @@
|
|
|
293
284
|
"OTHER_PROJECTS":"Other projects"
|
|
294
285
|
},
|
|
295
286
|
"JSON_RESPONSE":"JSON Response",
|
|
296
|
-
"LIVE":"Live"
|
|
287
|
+
"LIVE":"Live",
|
|
288
|
+
"WHATSAPP": {
|
|
289
|
+
"LABEL_TEMPLATES":"Templates",
|
|
290
|
+
"LABEL_WA_TEMPLATES":"WhatsApp Templates",
|
|
291
|
+
"SELECT_MESSAGE_TEMPLATE":"Select a message template",
|
|
292
|
+
"ERROR_WHATSAPP_NOT_INSTALLED":"Install Whatsapp from the App Store to use templates",
|
|
293
|
+
"ERROR_WHATSAPP_GENERIC_ERROR":"A problem occurred while getting templates from whatsapp. Retry later!"
|
|
294
|
+
},
|
|
295
|
+
"EMAIL":{
|
|
296
|
+
"EMAIL_OFFLINE_TIP":"Warning: user is offline! The message will be sent by email",
|
|
297
|
+
"EMAIL_PLACEHOLDER":"Draft available here - click to edit",
|
|
298
|
+
"EMAIL_NOT_FOUND_PLACEHOLDER":"This user has not provided an email address. Update the visitor's address to send an email",
|
|
299
|
+
"SUBJECT":"Subject",
|
|
300
|
+
"MESSAGE":"Message",
|
|
301
|
+
"MESSAGE_PLACEHOLDER":"Type your message...",
|
|
302
|
+
"SEND_EMAIL_SUCCESS":"Email successfully sent ✌🏻",
|
|
303
|
+
"SEND_EMAIL_ERROR":"⚠️ ATTENTION ⚠️ Error occurred while sending email. Please retry again",
|
|
304
|
+
"SUBJECT_OFFLINE_MESSAGE":"Tiledesk Offline message 💬",
|
|
305
|
+
"SEND_EMAIL_SUCCESS_OFFLINE_MESSAGE":"Message also sent by email 📩"
|
|
306
|
+
}
|
|
297
307
|
}
|
package/src/assets/i18n/es.json
CHANGED
|
@@ -23,16 +23,6 @@
|
|
|
23
23
|
],
|
|
24
24
|
"LABEL_SEND": "Send",
|
|
25
25
|
"LABEL_CHAT":"Charla",
|
|
26
|
-
"EMAIL_OFFLINE_TIP":"Advertencia: ¡el usuario está desconectado! El mensaje será enviado por correo electrónico",
|
|
27
|
-
"EMAIL_PLACEHOLDER":"Borrador disponible aquí - haga clic para editar",
|
|
28
|
-
"EMAIL_NOT_FOUND_PLACEHOLDER":"Este usuario no ha proporcionado una dirección de correo electrónico. Actualizar la dirección del visitante para enviar un correo electrónico",
|
|
29
|
-
"SUBJECT":"Sujeto",
|
|
30
|
-
"MESSAGE":"Mensaje",
|
|
31
|
-
"MESSAGE_PLACEHOLDER":"Escribe tu mensaje...",
|
|
32
|
-
"SEND_EMAIL_SUCCESS":"Correo electrónico enviado con éxito ✌🏻",
|
|
33
|
-
"SEND_EMAIL_ERROR":"⚠️ ATENCIÓN ⚠️ Ocurrió un error al enviar el correo. Vuelve a intentarlo",
|
|
34
|
-
"SUBJECT_OFFLINE_MESSAGE":"Mensaje sin conexión de Tiledesk 💬",
|
|
35
|
-
"SEND_EMAIL_SUCCESS_OFFLINE_MESSAGE":"Mensaje también enviado por correo electrónico 📩",
|
|
36
26
|
"ID_CONVERSATION": "Id de conversación",
|
|
37
27
|
"LABEL_CREATED_THE": "grupo creado el",
|
|
38
28
|
"LABEL_INFO_ATTRIBUTE": "Atributos",
|
|
@@ -251,6 +241,7 @@
|
|
|
251
241
|
"Continue":"Continuar",
|
|
252
242
|
"ViewArchivedConversations":"Conversaciones archivadas",
|
|
253
243
|
"ViewContactsList":"Lista de contactos",
|
|
244
|
+
"ViewedPage":"Página vista",
|
|
254
245
|
"AddAsCannedResponse":"Agregar como respuesta predeterminada",
|
|
255
246
|
"AddNewCannedResponse":"Agregar una nueva respuesta predeterminada",
|
|
256
247
|
"TitleIsRequired":"El título es obligatorio",
|
|
@@ -293,5 +284,24 @@
|
|
|
293
284
|
"OTHER_PROJECTS":"Otros proyectos"
|
|
294
285
|
},
|
|
295
286
|
"JSON_RESPONSE":"Respuesta JSON",
|
|
296
|
-
"LIVE":"En Vivo"
|
|
287
|
+
"LIVE":"En Vivo",
|
|
288
|
+
"WHATSAPP": {
|
|
289
|
+
"LABEL_TEMPLATES":"Plantillas",
|
|
290
|
+
"LABEL_WA_TEMPLATES":"Plantillas de WhatsApp",
|
|
291
|
+
"SELECT_MESSAGE_TEMPLATE":"Seleccione una plantilla de mensaje",
|
|
292
|
+
"ERROR_WHATSAPP_NOT_INSTALLED":"Instale Whatsapp desde la App Store para usar plantillas",
|
|
293
|
+
"ERROR_WHATSAPP_GENERIC_ERROR":"Ocurrió un problema al obtener plantillas de WhatsApp. ¡Vuelve a intentarlo más tarde!"
|
|
294
|
+
},
|
|
295
|
+
"EMAIL":{
|
|
296
|
+
"EMAIL_OFFLINE_TIP":"Advertencia: ¡el usuario está desconectado! El mensaje será enviado por correo electrónico",
|
|
297
|
+
"EMAIL_PLACEHOLDER":"Borrador disponible aquí - haga clic para editar",
|
|
298
|
+
"EMAIL_NOT_FOUND_PLACEHOLDER":"Este usuario no ha proporcionado una dirección de correo electrónico. Actualizar la dirección del visitante para enviar un correo electrónico",
|
|
299
|
+
"SUBJECT":"Sujeto",
|
|
300
|
+
"MESSAGE":"Mensaje",
|
|
301
|
+
"MESSAGE_PLACEHOLDER":"Escribe tu mensaje...",
|
|
302
|
+
"SEND_EMAIL_SUCCESS":"Correo electrónico enviado con éxito ✌🏻",
|
|
303
|
+
"SEND_EMAIL_ERROR":"⚠️ ATENCIÓN ⚠️ Ocurrió un error al enviar el correo. Vuelve a intentarlo",
|
|
304
|
+
"SUBJECT_OFFLINE_MESSAGE":"Mensaje sin conexión de Tiledesk 💬",
|
|
305
|
+
"SEND_EMAIL_SUCCESS_OFFLINE_MESSAGE":"Mensaje también enviado por correo electrónico 📩"
|
|
306
|
+
}
|
|
297
307
|
}
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -23,16 +23,6 @@
|
|
|
23
23
|
],
|
|
24
24
|
"LABEL_SEND": "Envoyer",
|
|
25
25
|
"LABEL_CHAT":"Chatter",
|
|
26
|
-
"EMAIL_OFFLINE_TIP":"Attention : l'utilisateur est hors ligne ! Le message sera envoyé par email",
|
|
27
|
-
"EMAIL_PLACEHOLDER":"Brouillon disponible ici - cliquez pour modifier",
|
|
28
|
-
"EMAIL_NOT_FOUND_PLACEHOLDER":"Cet utilisateur n'a pas fourni d'adresse e-mail. Mettre à jour l'adresse du visiteur pour envoyer un e-mail",
|
|
29
|
-
"SUBJECT":"Matière",
|
|
30
|
-
"MESSAGE":"Message",
|
|
31
|
-
"MESSAGE_PLACEHOLDER":"Tapez votre message...",
|
|
32
|
-
"SEND_EMAIL_SUCCESS":"E-mail envoyé avec succès ✌🏻",
|
|
33
|
-
"SEND_EMAIL_ERROR":"⚠️ ATTENTION ⚠️ Une erreur s'est produite lors de l'envoi de l'e-mail. Veuillez réessayer",
|
|
34
|
-
"SUBJECT_OFFLINE_MESSAGE":"Message hors ligne de Tiledesk 💬",
|
|
35
|
-
"SEND_EMAIL_SUCCESS_OFFLINE_MESSAGE":"Message également envoyé par mail 📩",
|
|
36
26
|
"ID_CONVERSATION": "Conversation sur l'identifiant",
|
|
37
27
|
"LABEL_CREATED_THE": "groupe créé le",
|
|
38
28
|
"LABEL_INFO_ATTRIBUTE": "Les attributs",
|
|
@@ -251,6 +241,7 @@
|
|
|
251
241
|
"Continue":"Continuez",
|
|
252
242
|
"ViewArchivedConversations":"Conversations archivées",
|
|
253
243
|
"ViewContactsList":"Liste de contacts",
|
|
244
|
+
"ViewedPage":"Page consultée",
|
|
254
245
|
"AddAsCannedResponse":"Ajouter comme réponse par défaut",
|
|
255
246
|
"AddNewCannedResponse":"Ajouter une nouvelle réponse par défaut",
|
|
256
247
|
"TitleIsRequired":"Le titre est requis",
|
|
@@ -293,5 +284,24 @@
|
|
|
293
284
|
"OTHER_PROJECTS":"Autres projets"
|
|
294
285
|
},
|
|
295
286
|
"JSON_RESPONSE":"Réponse JSON",
|
|
296
|
-
"LIVE":"En direct"
|
|
287
|
+
"LIVE":"En direct",
|
|
288
|
+
"WHATSAPP": {
|
|
289
|
+
"LABEL_TEMPLATES":"Modèles",
|
|
290
|
+
"LABEL_WA_TEMPLATES":"Modèles WhatsApp",
|
|
291
|
+
"SELECT_MESSAGE_TEMPLATE":"Sélectionnez un modèle de message",
|
|
292
|
+
"ERROR_WHATSAPP_NOT_INSTALLED":"Installez Whatsapp depuis l'App Store pour utiliser des modèles",
|
|
293
|
+
"ERROR_WHATSAPP_GENERIC_ERROR":"Un problème est survenu lors de l'obtention des modèles de WhatsApp. Réessayez plus tard !"
|
|
294
|
+
},
|
|
295
|
+
"EMAIL":{
|
|
296
|
+
"EMAIL_OFFLINE_TIP":"Attention : l'utilisateur est hors ligne ! Le message sera envoyé par email",
|
|
297
|
+
"EMAIL_PLACEHOLDER":"Brouillon disponible ici - cliquez pour modifier",
|
|
298
|
+
"EMAIL_NOT_FOUND_PLACEHOLDER":"Cet utilisateur n'a pas fourni d'adresse e-mail. Mettre à jour l'adresse du visiteur pour envoyer un e-mail",
|
|
299
|
+
"SUBJECT":"Matière",
|
|
300
|
+
"MESSAGE":"Message",
|
|
301
|
+
"MESSAGE_PLACEHOLDER":"Tapez votre message...",
|
|
302
|
+
"SEND_EMAIL_SUCCESS":"E-mail envoyé avec succès ✌🏻",
|
|
303
|
+
"SEND_EMAIL_ERROR":"⚠️ ATTENTION ⚠️ Une erreur s'est produite lors de l'envoi de l'e-mail. Veuillez réessayer",
|
|
304
|
+
"SUBJECT_OFFLINE_MESSAGE":"Message hors ligne de Tiledesk 💬",
|
|
305
|
+
"SEND_EMAIL_SUCCESS_OFFLINE_MESSAGE":"Message également envoyé par mail 📩"
|
|
306
|
+
}
|
|
297
307
|
}
|
package/src/assets/i18n/it.json
CHANGED
|
@@ -23,16 +23,6 @@
|
|
|
23
23
|
],
|
|
24
24
|
"LABEL_SEND": "Invia",
|
|
25
25
|
"LABEL_CHAT":"Chat",
|
|
26
|
-
"EMAIL_OFFLINE_TIP":"Attenzione: l'utente è offline! Il messaggio sarà mandato per email",
|
|
27
|
-
"EMAIL_PLACEHOLDER":"Bozza disponibile qui - clicca per modificare",
|
|
28
|
-
"EMAIL_NOT_FOUND_PLACEHOLDER":"Questo utente non ha fornito un indirizzo email. Aggiorna l'indirizzo del visitatore per inviare un'e-mail",
|
|
29
|
-
"SUBJECT":"Oggetto",
|
|
30
|
-
"MESSAGE":"Messaggio",
|
|
31
|
-
"MESSAGE_PLACEHOLDER":"Digita il tuo messaggio...",
|
|
32
|
-
"SEND_EMAIL_SUCCESS":"Email inviata con successo ✌🏻",
|
|
33
|
-
"SEND_EMAIL_ERROR":"⚠️ ATTENZIONE ⚠️Si è verificato un errore durante l'invio dell'email. Si prega di riprovare",
|
|
34
|
-
"SUBJECT_OFFLINE_MESSAGE":"Messaggio offline di Tiledesk 💬",
|
|
35
|
-
"SEND_EMAIL_SUCCESS_OFFLINE_MESSAGE":"Messaggio inviato anche via mail 📩",
|
|
36
26
|
"ID_CONVERSATION": "Id conversazione",
|
|
37
27
|
"LABEL_CREATED_THE": "gruppo creato il ",
|
|
38
28
|
"LABEL_INFO_ATTRIBUTE": "Attributi",
|
|
@@ -251,6 +241,7 @@
|
|
|
251
241
|
"Continue":"Continua",
|
|
252
242
|
"ViewArchivedConversations":"Conversazioni archiviate",
|
|
253
243
|
"ViewContactsList":"Elenco contatti",
|
|
244
|
+
"ViewedPage":"Pagina visualizzata",
|
|
254
245
|
"AddAsCannedResponse":"Aggiungi come risposta predefinita",
|
|
255
246
|
"AddNewCannedResponse":"Aggiungi una nuova risposta predefinita",
|
|
256
247
|
"TitleIsRequired":"Il titolo è obbligatorio",
|
|
@@ -293,5 +284,24 @@
|
|
|
293
284
|
"OTHER_PROJECTS":"Altri progetti"
|
|
294
285
|
},
|
|
295
286
|
"JSON_RESPONSE":"JSON di risposta",
|
|
296
|
-
"LIVE":"Live"
|
|
287
|
+
"LIVE":"Live",
|
|
288
|
+
"WHATSAPP": {
|
|
289
|
+
"LABEL_TEMPLATES":"Templates",
|
|
290
|
+
"LABEL_WA_TEMPLATES":"WhatsApp Templates",
|
|
291
|
+
"SELECT_MESSAGE_TEMPLATE":"Seleziona un template di messaggio",
|
|
292
|
+
"ERROR_WHATSAPP_NOT_INSTALLED":"Installa Whatsapp dall'App Store per utilizzare i template",
|
|
293
|
+
"ERROR_WHATSAPP_GENERIC_ERROR":"Si è verificato un problema durante l'acquisizione dei template da whatsapp. Riprova più tardi!"
|
|
294
|
+
},
|
|
295
|
+
"EMAIL":{
|
|
296
|
+
"EMAIL_OFFLINE_TIP":"Attenzione: l'utente è offline! Il messaggio sarà mandato per email",
|
|
297
|
+
"EMAIL_PLACEHOLDER":"Bozza disponibile qui - clicca per modificare",
|
|
298
|
+
"EMAIL_NOT_FOUND_PLACEHOLDER":"Questo utente non ha fornito un indirizzo email. Aggiorna l'indirizzo del visitatore per inviare un'e-mail",
|
|
299
|
+
"SUBJECT":"Oggetto",
|
|
300
|
+
"MESSAGE":"Messaggio",
|
|
301
|
+
"MESSAGE_PLACEHOLDER":"Digita il tuo messaggio...",
|
|
302
|
+
"SEND_EMAIL_SUCCESS":"Email inviata con successo ✌🏻",
|
|
303
|
+
"SEND_EMAIL_ERROR":"⚠️ ATTENZIONE ⚠️Si è verificato un errore durante l'invio dell'email. Si prega di riprovare",
|
|
304
|
+
"SUBJECT_OFFLINE_MESSAGE":"Messaggio offline di Tiledesk 💬",
|
|
305
|
+
"SEND_EMAIL_SUCCESS_OFFLINE_MESSAGE":"Messaggio inviato anche via mail 📩"
|
|
306
|
+
}
|
|
297
307
|
}
|