@hivegpt/hiveai-angular 0.0.352 → 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 -6
- package/fesm2015/hivegpt-hiveai-angular.js +7 -5
- 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,11 +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/>
|
|
626
|
-
However, our dedicated support team is happy to help.
|
|
627
|
-
<span class='feedback-link' style='cursor: pointer; text-decoration: underline; font-weight: 700; color: #17235B;'>
|
|
628
|
-
<a style='color: inherit; text-decoration: none;' onclick="triggerSupport()">Please click here</a>
|
|
629
|
-
</span> and a human agent will assist you as soon as possible`,
|
|
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`,
|
|
630
626
|
];
|
|
631
627
|
this.quickPrompts = res.QuickPrompts;
|
|
632
628
|
this.cdr.markForCheck();
|
|
@@ -1031,6 +1027,12 @@ class ChatDrawerComponent {
|
|
|
1031
1027
|
(this.thumbsDownMsgIndex + 1) % this.thumbsDownMessages.length;
|
|
1032
1028
|
this.scrollToBottom();
|
|
1033
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);
|
|
1034
1036
|
this.feedbackDone = false;
|
|
1035
1037
|
this.showFeedBackIconsIndex = null;
|
|
1036
1038
|
});
|