@chat21/chat21-web-widget 5.0.45 → 5.0.46-rc.2
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 +8 -0
- package/angular.json +2 -1
- package/dist/assets/i18n/en.json +1 -1
- package/dist/assets/i18n/es.json +22 -9
- package/dist/assets/i18n/fr.json +20 -7
- package/dist/assets/i18n/it.json +24 -11
- package/dist/assets/twp/index-dev.html +1 -1
- package/dist/iframe-style.css +8 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/src/app/app.component.scss +4 -3
- package/src/app/app.component.spec.ts +59 -18
- package/src/app/component/conversation-detail/conversation/conversation.component.spec.ts +12 -1
- package/src/app/component/conversation-detail/conversation/conversation.component.ts +4 -2
- package/src/app/component/conversation-detail/conversation-content/conversation-content.component.spec.ts +7 -4
- package/src/app/component/conversation-detail/conversation-footer/conversation-footer.component.spec.ts +11 -3
- package/src/app/component/conversation-detail/conversation-header/conversation-header.component.spec.ts +11 -4
- package/src/app/component/conversation-detail/conversation-preview/conversation-preview.component.spec.ts +9 -59
- package/src/app/component/form/form-builder/form-builder.component.spec.ts +9 -1
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.html +5 -5
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.spec.ts +1 -1
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.ts +1 -1
- package/src/app/component/home/home.component.spec.ts +12 -3
- package/src/app/component/home-conversations/home-conversations.component.spec.ts +9 -1
- package/src/app/component/list-all-conversations/list-all-conversations.component.spec.ts +9 -11
- package/src/app/component/list-conversations/list-conversations.component.spec.ts +9 -1
- package/src/app/component/message/buttons/action-button/action-button.component.scss +1 -0
- package/src/app/component/message/buttons/link-button/link-button.component.scss +1 -0
- package/src/app/component/message/buttons/text-button/text-button.component.scss +1 -0
- package/src/app/component/message/frame/frame.component.spec.ts +16 -3
- package/src/app/component/message/frame/frame.component.ts +2 -2
- package/src/app/component/message/image/image.component.ts +46 -0
- package/src/app/component/message/info-message/info-message.component.spec.ts +9 -1
- package/src/app/component/message/return-receipt/return-receipt.component.spec.ts +17 -2
- package/src/app/component/message/text/text.component.spec.ts +2 -2
- package/src/app/providers/settings-saver.service.ts +1 -1
- package/src/app/utils/globals.ts +1 -1
- package/src/assets/i18n/en.json +1 -1
- package/src/assets/i18n/es.json +22 -9
- package/src/assets/i18n/fr.json +20 -7
- package/src/assets/i18n/it.json +24 -11
- package/src/assets/twp/index-dev.html +1 -1
- package/src/chat21-core/providers/firebase/firebase-conversation-handler.ts +6 -47
- package/src/chat21-core/providers/mqtt/mqtt-conversation-handler.ts +5 -23
- package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.spec.ts +29 -19
- package/src/chat21-core/utils/utils-message.ts +1 -1
- package/src/chat21-core/utils/utils.ts +3 -3
- package/src/iframe-style.css +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# chat21-web-widget ver 5.0
|
|
2
2
|
|
|
3
|
+
### 5.0.46-rc.2
|
|
4
|
+
- added: scale on hover in message buttons
|
|
5
|
+
- changed: set themeColorOpacity to 100 as default value
|
|
6
|
+
- bug-fixed: 'Lead Updated' not fired if showInfoMessage property not contains 'LEAD_UPDATED' key
|
|
7
|
+
|
|
8
|
+
### 5.0.46-rc.1
|
|
9
|
+
- bug-fixed: localstorage save [object, object] for attributes key
|
|
10
|
+
|
|
3
11
|
### 5.0.45 in PROD
|
|
4
12
|
- changed: chat21client.js file to 1.12.3
|
|
5
13
|
|
package/angular.json
CHANGED
package/dist/assets/i18n/en.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"INFO_SUPPORT_CHAT_CLOSED":"Chat closed",
|
|
66
66
|
"INFO_SUPPORT_LEAD_UPDATED":"Lead updated",
|
|
67
67
|
"INFO_SUPPORT_MEMBER_LEFT_GROUP":"removed from group",
|
|
68
|
-
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP":"has left the
|
|
68
|
+
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP":"has left the conversation",
|
|
69
69
|
"INFO_A_NEW_SUPPORT_REQUEST_HAS_BEEN_ASSIGNED_TO_YOU": "A new support request has been assigned to you",
|
|
70
70
|
|
|
71
71
|
"LABEL_PRECHAT_USER_FULLNAME": "Full name",
|
package/dist/assets/i18n/es.json
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"LABEL_ERROR_FIELD_NAME": "Campo obligatorio (mínimo 5 caracteres).",
|
|
11
11
|
"LABEL_FIELD_EMAIL": "Email",
|
|
12
12
|
"LABEL_ERROR_FIELD_EMAIL": "Introduzca una dirección de correo electrónico válida.",
|
|
13
|
-
"LABEL_ERROR_FIELD_REQUIRED":"Campo requerido",
|
|
14
13
|
"LABEL_WRITING": "esta escribiendo...",
|
|
15
14
|
"LABEL_SEND_NEW_MESSAGE": "Enviar un mensaje nuevo",
|
|
16
15
|
"AGENT_NOT_AVAILABLE": " Fuera de línea",
|
|
@@ -39,10 +38,11 @@
|
|
|
39
38
|
"WELLCOME_TITLE": "Hola, bienvenido a Tiledesk 👋",
|
|
40
39
|
"WELLCOME_MSG": "¿Cómo podemos ayudar?",
|
|
41
40
|
"OPTIONS": "opciones",
|
|
42
|
-
"SOUND_OFF": "
|
|
43
|
-
"SOUND_ON": "
|
|
44
|
-
"LOGOUT": "
|
|
41
|
+
"SOUND_OFF": "Sonido apagado",
|
|
42
|
+
"SOUND_ON": "Sonido encendido",
|
|
43
|
+
"LOGOUT": "Cerrar sesión",
|
|
45
44
|
"CLOSE": "cerca",
|
|
45
|
+
"RESTART":"Reiniciar",
|
|
46
46
|
"PREV_CONVERSATIONS": "Tus conversaciones",
|
|
47
47
|
"YOU": "Tú",
|
|
48
48
|
"SHOW_ALL_CONV": "mostrar todo",
|
|
@@ -52,7 +52,9 @@
|
|
|
52
52
|
"WAITING_TIME_FOUND": "El equipo típicamente responde en $reply_time",
|
|
53
53
|
"WAITING_TIME_NOT_FOUND": "El equipo responderá lo antes posible",
|
|
54
54
|
"CLOSED": "CERRADA",
|
|
55
|
-
|
|
55
|
+
"CLOSE_CHAT": "Cerrar chat",
|
|
56
|
+
"MINIMIZE":"Minimizar",
|
|
57
|
+
"MAXIMIZE":"Maximizar",
|
|
56
58
|
"INFO_SUPPORT_USER_ADDED_SUBJECT":"tú",
|
|
57
59
|
"INFO_SUPPORT_USER_ADDED_YOU_VERB":"han sido agregados a ",
|
|
58
60
|
"INFO_SUPPORT_USER_ADDED_COMPLEMENT":"joined",
|
|
@@ -63,15 +65,26 @@
|
|
|
63
65
|
"INFO_SUPPORT_MEMBER_LEFT_GROUP":"eliminado del grupo",
|
|
64
66
|
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP":"abandonó la conversación",
|
|
65
67
|
"INFO_A_NEW_SUPPORT_REQUEST_HAS_BEEN_ASSIGNED_TO_YOU": "Se le ha asignado una nueva solicitud de soporte",
|
|
68
|
+
"TICKET_TAKING":"La solicitud ha sido recibida y el personal de asistencia está tratando con ella. \nPara agregar más comentarios, responda a este correo electrónico.",
|
|
69
|
+
|
|
70
|
+
"LABEL_ERROR_FIELD_REQUIRED": "Campo obligatorio",
|
|
71
|
+
"SENT_AN_ATTACHMENT": "envió un archivo adjunto",
|
|
72
|
+
"SENT_AN_IMAGE": "envió una imagen",
|
|
66
73
|
|
|
74
|
+
"LABEL_PRECHAT_USER_FULLNAME": "Nombre completo",
|
|
75
|
+
"LABEL_PRECHAT_USER_EMAIL": "Correo electrónico",
|
|
76
|
+
"LABEL_PRECHAT_USER_EMAIL_ERROR": "Dirección de correo electrónico no válida",
|
|
77
|
+
"LABEL_PRECHAT_USER_PHONE": "Teléfono",
|
|
78
|
+
"LABEL_PRECHAT_USER_PHONE_ERROR": "Se requiere teléfono",
|
|
79
|
+
"LABEL_PRECHAT_FIRST_MESSAGE": "Tu mensaje para el equipo de soporte",
|
|
80
|
+
"LABEL_PRECHAT_STATIC_TERMS_PRIVACY": "Antes de continuar con la conversación, acepte nuestros <a href='https://tiledesk.com/termsofservice/' target='_blank'>Términos</a> y <a href='https:/ /tiledesk.com/privacy.html' target='_blank'>Política de privacidad</a>",
|
|
81
|
+
"LABEL_PRECHAT_ACCEPT_TERMS_PRIVACY": "Acepto",
|
|
82
|
+
"PRECHAT_REQUIRED_ERROR": "Este campo es obligatorio",
|
|
83
|
+
|
|
67
84
|
"LABEL_TODAY": "hoy",
|
|
68
85
|
"LABEL_TOMORROW": "ayer",
|
|
69
86
|
"LABEL_LAST_ACCESS": "ultimo acceso",
|
|
70
87
|
"LABEL_TO": "a",
|
|
71
88
|
"ARRAY_DAYS": ["Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
|
|
72
|
-
|
|
73
|
-
"SENT_AN_ATTACHMENT": "envió un archivo adjunto",
|
|
74
|
-
"SENT_AN_IMAGE":"envió una imagen",
|
|
75
|
-
|
|
76
89
|
"LABEL_PREVIEW": "Avance"
|
|
77
90
|
}
|
package/dist/assets/i18n/fr.json
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"LABEL_ERROR_FIELD_NAME": "Nom demandé (minimum 2 caractères).",
|
|
11
11
|
"LABEL_FIELD_EMAIL": "Email",
|
|
12
12
|
"LABEL_ERROR_FIELD_EMAIL": "Entrer une adresse email valide.",
|
|
13
|
-
"LABEL_ERROR_FIELD_REQUIRED":"Champs requis",
|
|
14
13
|
"LABEL_WRITING": "écrit ...",
|
|
15
14
|
"LABEL_SEND_NEW_MESSAGE": "Envoyez un nouveau message",
|
|
16
15
|
"AGENT_NOT_AVAILABLE": " Hors ligne",
|
|
@@ -43,6 +42,7 @@
|
|
|
43
42
|
"SOUND_ON": "Sound on",
|
|
44
43
|
"LOGOUT": "Connectez-out",
|
|
45
44
|
"CLOSE": "Fermer",
|
|
45
|
+
"RESTART":"Redémarrer",
|
|
46
46
|
"PREV_CONVERSATIONS": "Vos conversations",
|
|
47
47
|
"YOU": "Toi",
|
|
48
48
|
"SHOW_ALL_CONV": "voir tout",
|
|
@@ -51,8 +51,10 @@
|
|
|
51
51
|
"SEE_PREVIOUS": "voir les conversations précédentes",
|
|
52
52
|
"WAITING_TIME_FOUND": "L'équipe répond généralement en $reply_time",
|
|
53
53
|
"WAITING_TIME_NOT_FOUND": "Nous vous répondrons dans les plus brefs délais",
|
|
54
|
-
"CLOSED": "
|
|
55
|
-
|
|
54
|
+
"CLOSED": "Fermé",
|
|
55
|
+
"CLOSE_CHAT": "Fermer le chat",
|
|
56
|
+
"MINIMIZE":"Minimiser",
|
|
57
|
+
"MAXIMIZE":"Maximiser",
|
|
56
58
|
"INFO_SUPPORT_USER_ADDED_SUBJECT":"toi",
|
|
57
59
|
"INFO_SUPPORT_USER_ADDED_YOU_VERB":"ont été ajoutés à ",
|
|
58
60
|
"INFO_SUPPORT_USER_ADDED_COMPLEMENT":"rejointe",
|
|
@@ -63,15 +65,26 @@
|
|
|
63
65
|
"INFO_SUPPORT_MEMBER_LEFT_GROUP":"supprimé du groupe",
|
|
64
66
|
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP":"a quitté la conversation",
|
|
65
67
|
"INFO_A_NEW_SUPPORT_REQUEST_HAS_BEEN_ASSIGNED_TO_YOU": "Une nouvelle demande de support vous a été attribuée",
|
|
68
|
+
"TICKET_TAKING":"La demande a été reçue et le personnel d'assistance la traite.\nPour ajouter d'autres commentaires, répondez à cet e-mail.",
|
|
69
|
+
|
|
70
|
+
"LABEL_ERROR_FIELD_REQUIRED": "Champ obligatoire",
|
|
71
|
+
"SENT_AN_ATTACHMENT": "envoyé une pièce jointe",
|
|
72
|
+
"SENT_AN_IMAGE": "envoyé une image",
|
|
73
|
+
|
|
74
|
+
"LABEL_PRECHAT_USER_FULLNAME": "Nom complet",
|
|
75
|
+
"LABEL_PRECHAT_USER_EMAIL": "E-mail",
|
|
76
|
+
"LABEL_PRECHAT_USER_EMAIL_ERROR": "Adresse e-mail invalide",
|
|
77
|
+
"LABEL_PRECHAT_USER_PHONE": "Téléphone",
|
|
78
|
+
"LABEL_PRECHAT_USER_PHONE_ERROR": "Le téléphone est requis",
|
|
79
|
+
"LABEL_PRECHAT_FIRST_MESSAGE": "Votre message pour l'équipe d'assistance",
|
|
80
|
+
"LABEL_PRECHAT_STATIC_TERMS_PRIVACY": "Avant de poursuivre la conversation, veuillez accepter nos <a href='https://tiledesk.com/termsofservice/' target='_blank'>Conditions</a> et <a href='https:/ /tiledesk.com/privacy.html' target='_blank'>Politique de confidentialité</a>",
|
|
81
|
+
"LABEL_PRECHAT_ACCEPT_TERMS_PRIVACY": "Je suis d'accord",
|
|
82
|
+
"PRECHAT_REQUIRED_ERROR": "Ce champ est obligatoire",
|
|
66
83
|
|
|
67
84
|
"LABEL_TODAY": "aujourd'hui",
|
|
68
85
|
"LABEL_TOMORROW": "hier",
|
|
69
86
|
"LABEL_LAST_ACCESS": "dernier accès",
|
|
70
87
|
"LABEL_TO": "à",
|
|
71
88
|
"ARRAY_DAYS": ["Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
|
|
72
|
-
|
|
73
|
-
"SENT_AN_ATTACHMENT": "envoyé une pièce jointe",
|
|
74
|
-
"SENT_AN_IMAGE":"envoyé une image",
|
|
75
|
-
|
|
76
89
|
"LABEL_PREVIEW": "Aperçu"
|
|
77
90
|
}
|
package/dist/assets/i18n/it.json
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"LABEL_ERROR_FIELD_NAME": "Nome richiesto (minimo 2 caratteri).",
|
|
11
11
|
"LABEL_FIELD_EMAIL": "Email",
|
|
12
12
|
"LABEL_ERROR_FIELD_EMAIL": "Inserisci un indirizzo email valido.",
|
|
13
|
-
"LABEL_ERROR_FIELD_REQUIRED":"Campo obbligatorio",
|
|
14
13
|
"LABEL_WRITING": "sta scrivendo...",
|
|
15
14
|
"LABEL_SEND_NEW_MESSAGE": "Invia un nuovo messaggio",
|
|
16
15
|
"AGENT_NOT_AVAILABLE": " Offline",
|
|
@@ -39,10 +38,11 @@
|
|
|
39
38
|
"WELLCOME_TITLE": "Ciao, benvenuto su Tiledesk 👋",
|
|
40
39
|
"WELLCOME_MSG": "Come possiamo aiutarti?",
|
|
41
40
|
"OPTIONS": "opzioni",
|
|
42
|
-
"SOUND_OFF": "
|
|
43
|
-
"SOUND_ON": "
|
|
44
|
-
"LOGOUT": "
|
|
41
|
+
"SOUND_OFF": "Suono spento",
|
|
42
|
+
"SOUND_ON": "Suono acceso",
|
|
43
|
+
"LOGOUT": "Disconnetti",
|
|
45
44
|
"CLOSE": "Chiudi",
|
|
45
|
+
"RESTART":"Ricomincia",
|
|
46
46
|
"PREV_CONVERSATIONS": "Le tue conversazioni",
|
|
47
47
|
"YOU": "Tu",
|
|
48
48
|
"SHOW_ALL_CONV": "vedi tutte",
|
|
@@ -51,8 +51,10 @@
|
|
|
51
51
|
"SEE_PREVIOUS": "vedi precedenti",
|
|
52
52
|
"WAITING_TIME_FOUND": "Il team tipicamente risponde in $reply_time",
|
|
53
53
|
"WAITING_TIME_NOT_FOUND": "Vi risponderemo appena possibile",
|
|
54
|
-
"CLOSED": "
|
|
55
|
-
|
|
54
|
+
"CLOSED": "Chiusa",
|
|
55
|
+
"CLOSE_CHAT": "Chiudi chat",
|
|
56
|
+
"MINIMIZE":"Minimizza",
|
|
57
|
+
"MAXIMIZE":"Massimizza",
|
|
56
58
|
"INFO_SUPPORT_USER_ADDED_SUBJECT":"tu",
|
|
57
59
|
"INFO_SUPPORT_USER_ADDED_YOU_VERB":"sei stato aggiunto ",
|
|
58
60
|
"INFO_SUPPORT_USER_ADDED_COMPLEMENT":"si è unito",
|
|
@@ -63,15 +65,26 @@
|
|
|
63
65
|
"INFO_SUPPORT_MEMBER_LEFT_GROUP":"ha lasciato il gruppo",
|
|
64
66
|
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP": "ha abbandonato la conversazione",
|
|
65
67
|
"INFO_A_NEW_SUPPORT_REQUEST_HAS_BEEN_ASSIGNED_TO_YOU": "Una nuova richiesta di supporto è stata assegnata a te",
|
|
68
|
+
"TICKET_TAKING":"La richiesta è stata ricevuta e il personale di assistenza se ne sta occupando.\nPer aggiungere ulteriori commenti, rispondi a questa email.",
|
|
69
|
+
|
|
70
|
+
"LABEL_ERROR_FIELD_REQUIRED": "Campo richiesto",
|
|
71
|
+
"SENT_AN_ATTACHMENT": "ha inviato un allegato",
|
|
72
|
+
"SENT_AN_IMAGE":"ha inviato un'immagine",
|
|
73
|
+
|
|
74
|
+
"LABEL_PRECHAT_USER_FULLNAME": "Nome completo",
|
|
75
|
+
"LABEL_PRECHAT_USER_EMAIL": "E-mail",
|
|
76
|
+
"LABEL_PRECHAT_USER_EMAIL_ERROR": "Indirizzo email non valido",
|
|
77
|
+
"LABEL_PRECHAT_USER_PHONE": "Telefono",
|
|
78
|
+
"LABEL_PRECHAT_USER_PHONE_ERROR": "Telefono richiesto",
|
|
79
|
+
"LABEL_PRECHAT_FIRST_MESSAGE": "Il tuo messaggio per il team di supporto",
|
|
80
|
+
"LABEL_PRECHAT_STATIC_TERMS_PRIVACY": "Prima di procedere nella conversazione, accetta i nostri <a href='https://tiledesk.com/termsofservice/' target='_blank'>Termini</a> e <a href='https:/ /tiledesk.com/privacy.html' target='_blank'>Norme sulla privacy</a>",
|
|
81
|
+
"LABEL_PRECHAT_ACCEPT_TERMS_PRIVACY": "Sono d'accordo",
|
|
82
|
+
"PRECHAT_REQUIRED_ERROR": "Questo campo è obbligatorio",
|
|
66
83
|
|
|
67
84
|
"LABEL_TODAY": "oggi",
|
|
68
85
|
"LABEL_TOMORROW": "ieri",
|
|
69
86
|
"LABEL_LAST_ACCESS": "ultimo accesso",
|
|
70
|
-
"LABEL_TO": "
|
|
87
|
+
"LABEL_TO": "a",
|
|
71
88
|
"ARRAY_DAYS": ["Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"],
|
|
72
|
-
|
|
73
|
-
"SENT_AN_ATTACHMENT": "ha inviato un allegato",
|
|
74
|
-
"SENT_AN_IMAGE":"ha inviato un'immagine",
|
|
75
|
-
|
|
76
89
|
"LABEL_PREVIEW": "Anteprima"
|
|
77
90
|
}
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
<div class="row">
|
|
1723
1723
|
<div class="col-md-5 formElement"><span><em><strong>themeColorOpacity</strong></em></span></div>
|
|
1724
1724
|
<div class="col-md-5 formElement">
|
|
1725
|
-
<input class="form-range" type="range" id="themeColorOpacity" name="themeColorOpacity" min="0" max="100" value="
|
|
1725
|
+
<input class="form-range" type="range" id="themeColorOpacity" name="themeColorOpacity" min="0" max="100" value="100" style="width: 80%;" oninput="onChangeThemeColorOpacity()"><label class="col-form-label" id="themeColorOpacityText">100 %</label>
|
|
1726
1726
|
</div>
|
|
1727
1727
|
<div class="col-md-2">
|
|
1728
1728
|
<button class="btn btn-light" onclick="onClickThemeColorOpacity()">Test this setting <i class="fa fa-magic" aria-hidden="true"></i></button>
|