@chat21/chat21-web-widget 5.0.52-rc.4 → 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 +2 -0
- package/dist/assets/twp/chatbot-panel.html +4 -64
- 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 -64
- 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-notifications.ts +0 -2
- package/src/chat21-core/providers/mqtt/mqtt-presence.service.ts +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -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">
|
|
@@ -345,71 +346,10 @@
|
|
|
345
346
|
if(urlToConsole){
|
|
346
347
|
baseUrlConsole = urlToConsole;
|
|
347
348
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
349
|
|
|
351
350
|
var currentUrl = window.location.href
|
|
352
351
|
var baseUrl = window.location.origin
|
|
353
|
-
function shareOnFacebook() {
|
|
354
|
-
var fbShareUrl = "https://www.facebook.com/sharer.php?u=" + encodeURIComponent(currentUrl);
|
|
355
|
-
window.open(
|
|
356
|
-
fbShareUrl,
|
|
357
|
-
'_blank'
|
|
358
|
-
);
|
|
359
|
-
}
|
|
360
352
|
|
|
361
|
-
function shareOnTwitter() {
|
|
362
|
-
var TwShareUrl = "https://twitter.com/share?url=" + encodeURIComponent(currentUrl);
|
|
363
|
-
window.open(
|
|
364
|
-
TwShareUrl,
|
|
365
|
-
'_blank'
|
|
366
|
-
);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
function shareOnLinkedin() {
|
|
370
|
-
var LinkedinShareUrl = "https://www.linkedin.com/shareArticle?mini=true&url=" + encodeURIComponent(currentUrl);
|
|
371
|
-
window.open(
|
|
372
|
-
LinkedinShareUrl,
|
|
373
|
-
'_blank'
|
|
374
|
-
);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
function shareOnTelegram() {
|
|
378
|
-
var TelegramShareUrl = "tg://msg_url?url=" + encodeURIComponent(currentUrl) ;
|
|
379
|
-
// console.log('TelegramShareUrl ', TelegramShareUrl )
|
|
380
|
-
window.open(
|
|
381
|
-
TelegramShareUrl,
|
|
382
|
-
'_blank'
|
|
383
|
-
);
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
function shareOnWhatsapp() {
|
|
387
|
-
var WhatsappShareUrl = "whatsapp://send?text=" + currentUrl;
|
|
388
|
-
window.open(
|
|
389
|
-
WhatsappShareUrl,
|
|
390
|
-
'_blank'
|
|
391
|
-
);
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
function goToConsole(){
|
|
395
|
-
var url = new URL(currentUrl);
|
|
396
|
-
var tiledesk_projectid = url.searchParams.get("tiledesk_projectid");
|
|
397
|
-
var project_name = url.searchParams.get("project_name");
|
|
398
|
-
var urlConsole = baseUrlConsole + "#/project/"+tiledesk_projectid+"/home";
|
|
399
|
-
//var urlConsole = "dashboard/#/project/"+tiledesk_projectid+"/home";
|
|
400
|
-
window.open(
|
|
401
|
-
urlConsole,
|
|
402
|
-
'_blank'
|
|
403
|
-
);
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
function goToTestPage(){
|
|
407
|
-
var urlTestPage = currentUrl.replace('index.html', 'index-dev.html')
|
|
408
|
-
window.open(
|
|
409
|
-
urlTestPage,
|
|
410
|
-
'_blank'
|
|
411
|
-
);
|
|
412
|
-
}
|
|
413
353
|
|
|
414
354
|
var url = new URL(currentUrl);
|
|
415
355
|
var tiledesk_projectid = url.searchParams.get("tiledesk_projectid");
|