@hivegpt/hiveai-angular 0.0.268 → 0.0.271
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 +11 -7
- 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/NotificationSocket.js +1 -1
- package/esm2015/lib/components/bot-html-editor/bot-html-editor.component.js +10 -8
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +2 -1
- package/esm2015/lib/components/socket-service.service.js +1 -1
- package/fesm2015/hivegpt-hiveai-angular.js +10 -7
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/bot-html-editor/bot-html-editor.component.d.ts.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/lib/components/socket-service.service.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -922,6 +922,7 @@
|
|
|
922
922
|
if (this.eventSubscription) {
|
|
923
923
|
this.eventSubscription.unsubscribe();
|
|
924
924
|
}
|
|
925
|
+
this.socketService.disconnectSocketConnection();
|
|
925
926
|
//this.socketService.close();
|
|
926
927
|
};
|
|
927
928
|
ChatDrawerComponent.prototype.changeTemperature = function (newTemperature) {
|
|
@@ -2235,14 +2236,17 @@
|
|
|
2235
2236
|
};
|
|
2236
2237
|
}
|
|
2237
2238
|
BotHtmlEditorComponent.prototype.ngOnInit = function () {
|
|
2239
|
+
var _this = this;
|
|
2238
2240
|
this.environment = prod_environment;
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2241
|
+
setTimeout(function () {
|
|
2242
|
+
if (_this.isDocInEditMode) {
|
|
2243
|
+
console.log('In Edit mode');
|
|
2244
|
+
_this.filldataInForm();
|
|
2245
|
+
}
|
|
2246
|
+
else {
|
|
2247
|
+
console.log('In save mode');
|
|
2248
|
+
}
|
|
2249
|
+
}, 2500);
|
|
2246
2250
|
};
|
|
2247
2251
|
BotHtmlEditorComponent.prototype.filldataInForm = function () {
|
|
2248
2252
|
var _a, _b;
|