@chat21/chat21-web-widget 5.0.52-rc.3 → 5.0.52
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 +5 -0
- package/dist/assets/twp/chatbot-panel.html +4 -65
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/src/app/app.component.ts +2 -12
- package/src/app/component/conversation-detail/conversation/conversation.component.ts +0 -30
- package/src/app/component/conversation-detail/conversation-content/conversation-content.component.ts +0 -1
- package/src/app/component/conversation-detail/conversation-footer/conversation-footer.component.ts +0 -2
- package/src/app/component/conversation-detail/conversation-preview/conversation-preview.component.ts +0 -1
- package/src/app/component/eyeeye-catcher-card/eyeeye-catcher-card.component.ts +1 -2
- package/src/app/component/form/prechat-form/prechat-form.component.ts +0 -12
- package/src/app/component/home-conversations/home-conversations.component.ts +12 -72
- package/src/app/component/list-conversations/list-conversations.component.ts +1 -57
- package/src/app/component/message/avatar/avatar.component.ts +0 -1
- package/src/app/component/message/bubble-message/bubble-message.component.ts +0 -2
- package/src/app/component/message/image/image.component.ts +0 -1
- package/src/app/providers/global-settings.service.ts +0 -1
- package/src/app/providers/translator.service.ts +0 -2
- package/src/app/utils/globals.ts +1 -7
- package/src/assets/twp/chatbot-panel.html +4 -65
- package/src/chat21-core/providers/firebase/firebase-archivedconversations-handler.ts +0 -41
- package/src/chat21-core/providers/firebase/firebase-conversation-handler.ts +0 -4
- package/src/chat21-core/providers/firebase/firebase-image-repo.ts +0 -2
- package/src/chat21-core/providers/firebase/firebase-notifications.ts +1 -75
- package/src/chat21-core/providers/mqtt/chat-service.ts +1 -3
- package/src/chat21-core/providers/mqtt/mqtt-archivedconversations-handler.ts +0 -1
- package/src/chat21-core/providers/mqtt/mqtt-conversations-handler.ts +2 -1
- package/src/chat21-core/providers/mqtt/mqtt-notifications.ts +0 -2
- package/src/chat21-core/providers/mqtt/mqtt-presence.service.ts +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# chat21-web-widget ver 5.0
|
|
2
2
|
|
|
3
|
+
### 5.0.52 in PROD
|
|
4
|
+
|
|
5
|
+
### 5.0.52-rc.4
|
|
6
|
+
- bug-fixed: getLastConversation for MQTTConversationsHandler service not return uid into conv object
|
|
7
|
+
|
|
3
8
|
### 5.0.52-rc.3
|
|
4
9
|
- added: build info in menu conversation-header component if singleConversation is enabled
|
|
5
10
|
- bug-fixed: splitted messages is shown twice
|
|
@@ -231,10 +231,11 @@
|
|
|
231
231
|
}
|
|
232
232
|
</script> -->
|
|
233
233
|
|
|
234
|
-
|
|
235
|
-
<meta property="og:
|
|
234
|
+
|
|
235
|
+
<meta property="og:title" content="Try Tiledesk now!" />
|
|
236
|
+
<meta property="og:description" content="Qualify your leads to increase your sales faster. It's really easy to do it with the Tiledesk conversational form builder" />
|
|
237
|
+
<meta property="og:image" content="https://tiledesk.com/wp-content/uploads/2022/12/6029654-02-min.png" />
|
|
236
238
|
<meta property="og:locale" content="en">
|
|
237
|
-
<meta property="og:image" content="">
|
|
238
239
|
|
|
239
240
|
<link rel="icon" type="image/png" href="./tiledesk_widget_files/logo-short.png">
|
|
240
241
|
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
|
@@ -262,7 +263,6 @@
|
|
|
262
263
|
calloutTimer: 1,
|
|
263
264
|
singleConversation: true,
|
|
264
265
|
restartConversation: true,
|
|
265
|
-
isLogEnabled: true,
|
|
266
266
|
hideCloseConversationOptionMenu: true
|
|
267
267
|
// autostart: false
|
|
268
268
|
|
|
@@ -346,71 +346,10 @@
|
|
|
346
346
|
if(urlToConsole){
|
|
347
347
|
baseUrlConsole = urlToConsole;
|
|
348
348
|
}
|
|
349
|
-
|
|
350
|
-
|
|
351
349
|
|
|
352
350
|
var currentUrl = window.location.href
|
|
353
351
|
var baseUrl = window.location.origin
|
|
354
|
-
function shareOnFacebook() {
|
|
355
|
-
var fbShareUrl = "https://www.facebook.com/sharer.php?u=" + encodeURIComponent(currentUrl);
|
|
356
|
-
window.open(
|
|
357
|
-
fbShareUrl,
|
|
358
|
-
'_blank'
|
|
359
|
-
);
|
|
360
|
-
}
|
|
361
352
|
|
|
362
|
-
function shareOnTwitter() {
|
|
363
|
-
var TwShareUrl = "https://twitter.com/share?url=" + encodeURIComponent(currentUrl);
|
|
364
|
-
window.open(
|
|
365
|
-
TwShareUrl,
|
|
366
|
-
'_blank'
|
|
367
|
-
);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
function shareOnLinkedin() {
|
|
371
|
-
var LinkedinShareUrl = "https://www.linkedin.com/shareArticle?mini=true&url=" + encodeURIComponent(currentUrl);
|
|
372
|
-
window.open(
|
|
373
|
-
LinkedinShareUrl,
|
|
374
|
-
'_blank'
|
|
375
|
-
);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
function shareOnTelegram() {
|
|
379
|
-
var TelegramShareUrl = "tg://msg_url?url=" + encodeURIComponent(currentUrl) ;
|
|
380
|
-
// console.log('TelegramShareUrl ', TelegramShareUrl )
|
|
381
|
-
window.open(
|
|
382
|
-
TelegramShareUrl,
|
|
383
|
-
'_blank'
|
|
384
|
-
);
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
function shareOnWhatsapp() {
|
|
388
|
-
var WhatsappShareUrl = "whatsapp://send?text=" + currentUrl;
|
|
389
|
-
window.open(
|
|
390
|
-
WhatsappShareUrl,
|
|
391
|
-
'_blank'
|
|
392
|
-
);
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
function goToConsole(){
|
|
396
|
-
var url = new URL(currentUrl);
|
|
397
|
-
var tiledesk_projectid = url.searchParams.get("tiledesk_projectid");
|
|
398
|
-
var project_name = url.searchParams.get("project_name");
|
|
399
|
-
var urlConsole = baseUrlConsole + "#/project/"+tiledesk_projectid+"/home";
|
|
400
|
-
//var urlConsole = "dashboard/#/project/"+tiledesk_projectid+"/home";
|
|
401
|
-
window.open(
|
|
402
|
-
urlConsole,
|
|
403
|
-
'_blank'
|
|
404
|
-
);
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
function goToTestPage(){
|
|
408
|
-
var urlTestPage = currentUrl.replace('index.html', 'index-dev.html')
|
|
409
|
-
window.open(
|
|
410
|
-
urlTestPage,
|
|
411
|
-
'_blank'
|
|
412
|
-
);
|
|
413
|
-
}
|
|
414
353
|
|
|
415
354
|
var url = new URL(currentUrl);
|
|
416
355
|
var tiledesk_projectid = url.searchParams.get("tiledesk_projectid");
|