@chat21/chat21-web-widget 5.0.52-rc.1 → 5.0.52-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 +8 -0
- package/dist/assets/twp/chatbot-panel.html +0 -23
- package/dist/assets/twp/index-dev.html +5 -5
- package/dist/main.js +1 -1
- package/dist/test.html +1 -1
- package/package.json +1 -1
- package/src/app/component/conversation-detail/conversation/conversation.component.html +1 -0
- package/src/app/component/conversation-detail/conversation-header/conversation-header.component.html +12 -0
- package/src/app/component/conversation-detail/conversation-header/conversation-header.component.scss +11 -0
- package/src/app/component/conversation-detail/conversation-header/conversation-header.component.ts +1 -0
- package/src/assets/twp/chatbot-panel.html +0 -23
- package/src/assets/twp/index-dev.html +5 -5
- package/src/chat21-core/providers/mqtt/mqtt-archivedconversations-handler.ts +0 -1
- package/src/chat21-core/providers/mqtt/mqtt-conversation-handler.ts +7 -2
- package/src/chat21-core/providers/mqtt/mqtt-conversations-handler.ts +3 -3
- package/src/test.html +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# chat21-web-widget ver 5.0
|
|
2
2
|
|
|
3
|
+
### 5.0.52-rc.4
|
|
4
|
+
- bug-fixed: getLastConversation for MQTTConversationsHandler service not return uid into conv object
|
|
5
|
+
|
|
6
|
+
### 5.0.52-rc.3
|
|
7
|
+
- added: build info in menu conversation-header component if singleConversation is enabled
|
|
8
|
+
- bug-fixed: splitted messages is shown twice
|
|
9
|
+
- removed: open automatically the widget after 3s in index-dev.html page
|
|
10
|
+
|
|
3
11
|
### 5.0.52-rc.1
|
|
4
12
|
- changed: background opacity in chatbot-panel html page
|
|
5
13
|
- bug-fixed: splitted messages is shown twice
|
|
@@ -419,29 +419,6 @@
|
|
|
419
419
|
// console.log('tiledesk_projectid: ', tiledesk_projectid);
|
|
420
420
|
// console.log('project_name: ', project_name);
|
|
421
421
|
|
|
422
|
-
window.onload = function() {
|
|
423
|
-
document.getElementById("project_id").innerHTML = '"' + tiledesk_projectid + '"';
|
|
424
|
-
// document.getElementById("project_name").innerHTML = project_name;
|
|
425
|
-
|
|
426
|
-
if(role !== 'agent'){
|
|
427
|
-
document.getElementById("testPageButton").style.display = 'block'
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
// window.tileDeskAsyncInit = function() {
|
|
432
|
-
// window.tiledesk.on('onLoadParams', function(event_data) {
|
|
433
|
-
// // console.log('onLoadParams: ')
|
|
434
|
-
// window.tiledesk.open();
|
|
435
|
-
// });
|
|
436
|
-
|
|
437
|
-
// window.tiledesk.on('onInit', function(event_data) {
|
|
438
|
-
// setTimeout(() => {
|
|
439
|
-
// document.getElementById("preloader").style.display = "none";
|
|
440
|
-
// }, 1000);
|
|
441
|
-
|
|
442
|
-
// });
|
|
443
|
-
// };
|
|
444
|
-
|
|
445
422
|
function getQueryVariable(variable) {
|
|
446
423
|
var query = window.location.search.substring(1);
|
|
447
424
|
var vars = query.split("&");
|
|
@@ -460,11 +460,11 @@
|
|
|
460
460
|
document.getElementById('events').scrollTop = document.getElementById('events').scrollHeight
|
|
461
461
|
}, 1000);
|
|
462
462
|
//open widget after 3s if is closed
|
|
463
|
-
setTimeout(() => {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
}, 3000);
|
|
463
|
+
// setTimeout(() => {
|
|
464
|
+
// if(event_data && event_data.detail && event_data.detail.global && !event_data.detail.global.isOpen){
|
|
465
|
+
// window.Tiledesk('open')
|
|
466
|
+
// }
|
|
467
|
+
// }, 3000);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
470
|
window.Tiledesk('onAuthStateChanged', function(event_data) {
|