@hivegpt/hiveai-angular 0.0.351 → 0.0.353
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 -2
- 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 -3
- package/fesm2015/hivegpt-hiveai-angular.js +7 -2
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/hivegpt-hiveai-angular.metadata.json +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts +2 -0
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -732,6 +732,7 @@
|
|
|
732
732
|
this.connectWithUser = new i0.EventEmitter();
|
|
733
733
|
this.scheduleMeeting = new i0.EventEmitter();
|
|
734
734
|
this.refreshToken = new i0.EventEmitter();
|
|
735
|
+
this.openSupport = new i0.EventEmitter();
|
|
735
736
|
this.autogenKey = 'Autogen_eDJTtEU-NB0RtIpzq1w';
|
|
736
737
|
this.addToMyAgendaAction = 'add_to_my_agenda';
|
|
737
738
|
this.myUpcomingSessionAction = 'my_upcomming_session';
|
|
@@ -1070,6 +1071,9 @@
|
|
|
1070
1071
|
return rxjs.of(null);
|
|
1071
1072
|
}));
|
|
1072
1073
|
};
|
|
1074
|
+
ChatDrawerComponent.prototype.triggerSupport = function () {
|
|
1075
|
+
this.openSupport.emit();
|
|
1076
|
+
};
|
|
1073
1077
|
ChatDrawerComponent.prototype.fetchBotConfig = function () {
|
|
1074
1078
|
var _this = this;
|
|
1075
1079
|
this.loading = true;
|
|
@@ -1087,7 +1091,7 @@
|
|
|
1087
1091
|
_this.greetingMsg = res.Greeting;
|
|
1088
1092
|
_this.thumbsDownMessages = ((_a = res === null || res === void 0 ? void 0 : res.NegativeResponses) === null || _a === void 0 ? void 0 : _a.length) ? res.NegativeResponses
|
|
1089
1093
|
: [
|
|
1090
|
-
"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
|
|
1094
|
+
"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;' (click)=\"triggerSupport()\">Please click here</a></span> and a human agent will assist you as soon as possible",
|
|
1091
1095
|
];
|
|
1092
1096
|
_this.quickPrompts = res.QuickPrompts;
|
|
1093
1097
|
_this.cdr.markForCheck();
|
|
@@ -2450,7 +2454,8 @@
|
|
|
2450
2454
|
closeBot: [{ type: i0.Output }],
|
|
2451
2455
|
connectWithUser: [{ type: i0.Output }],
|
|
2452
2456
|
scheduleMeeting: [{ type: i0.Output }],
|
|
2453
|
-
refreshToken: [{ type: i0.Output }]
|
|
2457
|
+
refreshToken: [{ type: i0.Output }],
|
|
2458
|
+
openSupport: [{ type: i0.Output }]
|
|
2454
2459
|
};
|
|
2455
2460
|
|
|
2456
2461
|
var ChatBotComponent = /** @class */ (function () {
|