@hivegpt/hiveai-angular 0.0.276 → 0.0.278
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 -3
- 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/bot-html-editor/bot-html-editor.component.js +4 -4
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +5 -1
- package/fesm2015/hivegpt-hiveai-angular.js +7 -3
- 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.map +1 -1
- package/package.json +1 -1
|
@@ -1917,6 +1917,10 @@
|
|
|
1917
1917
|
this.editorsDrawer.open();
|
|
1918
1918
|
this.isDrawerOpen = true;
|
|
1919
1919
|
this.cdr.detectChanges();
|
|
1920
|
+
var button = document.getElementById('botcloseplaygroundbutton');
|
|
1921
|
+
if (button) {
|
|
1922
|
+
button.style.display = 'none';
|
|
1923
|
+
}
|
|
1920
1924
|
};
|
|
1921
1925
|
ChatDrawerComponent.prototype.onCloseEditor = function () {
|
|
1922
1926
|
this.editorsDrawer.close();
|
|
@@ -2297,7 +2301,7 @@
|
|
|
2297
2301
|
};
|
|
2298
2302
|
return this.http.post(url, data, { headers: headers }).pipe(operators.switchMap(function (res) {
|
|
2299
2303
|
if (res) {
|
|
2300
|
-
alert('Saved Successfully');
|
|
2304
|
+
// alert('Saved Successfully');
|
|
2301
2305
|
}
|
|
2302
2306
|
_this.cdr.markForCheck();
|
|
2303
2307
|
return rxjs.of(res);
|
|
@@ -2320,7 +2324,7 @@
|
|
|
2320
2324
|
};
|
|
2321
2325
|
return this.http.put(url, data, { headers: headers }).pipe(operators.switchMap(function (res) {
|
|
2322
2326
|
if (res) {
|
|
2323
|
-
alert('Updated Successfully');
|
|
2327
|
+
// alert('Updated Successfully');
|
|
2324
2328
|
}
|
|
2325
2329
|
_this.cdr.markForCheck();
|
|
2326
2330
|
return rxjs.of(res);
|
|
@@ -2335,7 +2339,7 @@
|
|
|
2335
2339
|
{ type: i0.Component, args: [{
|
|
2336
2340
|
selector: 'lib-bot-html-editor',
|
|
2337
2341
|
template: "<div class=\"form-group\">\r\n <input [(ngModel)]=\"documentName\" class=\"form-control\" type=\"text\" />\r\n <button (click)=\"saveContent()\" class=\"save-btn\">Save</button>\r\n</div>\r\n\r\n<quill-editor\r\n [(ngModel)]=\"editorContent\"\r\n [modules]=\"quillConfig\"\r\n></quill-editor>\r\n",
|
|
2338
|
-
styles: [".save-btn{background-color:#
|
|
2342
|
+
styles: [".save-btn{background-color:#f0f0f0;border:none;color:#333;margin-top:22px;position:absolute;right:16px;width:56px}"]
|
|
2339
2343
|
},] }
|
|
2340
2344
|
];
|
|
2341
2345
|
BotHtmlEditorComponent.ctorParameters = function () { return [
|