@hivegpt/hiveai-angular 0.0.353 → 0.0.354
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/bundles/hivegpt-hiveai-angular.umd.js +7 -1
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +8 -2
- package/fesm2015/hivegpt-hiveai-angular.js +7 -1
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -622,7 +622,7 @@ class ChatDrawerComponent {
|
|
|
622
622
|
this.greetingMsg = res.Greeting;
|
|
623
623
|
this.thumbsDownMessages = ((_a = res === null || res === void 0 ? void 0 : res.NegativeResponses) === null || _a === void 0 ? void 0 : _a.length) ? res.NegativeResponses
|
|
624
624
|
: [
|
|
625
|
-
`We are sorry we've not been able to answer your question.<br/> However, our dedicated support team is happy to help. <span class='feedback-link' style='cursor: pointer; text-decoration: underline; font-weight: 700; color: #17235B;'><a style='color: inherit; text-decoration: none;'
|
|
625
|
+
`We are sorry we've not been able to answer your question.<br/> However, our dedicated support team is happy to help. <span class='feedback-link' style='cursor: pointer; text-decoration: underline; font-weight: 700; color: #17235B;'><a style='color: inherit; text-decoration: none;' id='supportLink88' >Please click here</a></span> and a human agent will assist you as soon as possible`,
|
|
626
626
|
];
|
|
627
627
|
this.quickPrompts = res.QuickPrompts;
|
|
628
628
|
this.cdr.markForCheck();
|
|
@@ -1027,6 +1027,12 @@ class ChatDrawerComponent {
|
|
|
1027
1027
|
(this.thumbsDownMsgIndex + 1) % this.thumbsDownMessages.length;
|
|
1028
1028
|
this.scrollToBottom();
|
|
1029
1029
|
this.cdr.markForCheck();
|
|
1030
|
+
setTimeout(() => {
|
|
1031
|
+
const supportLink = document.getElementById('supportLink88');
|
|
1032
|
+
if (supportLink) {
|
|
1033
|
+
supportLink.addEventListener('click', this.triggerSupport.bind(this));
|
|
1034
|
+
}
|
|
1035
|
+
}, 200);
|
|
1030
1036
|
this.feedbackDone = false;
|
|
1031
1037
|
this.showFeedBackIconsIndex = null;
|
|
1032
1038
|
});
|