@hivegpt/hiveai-angular 0.0.265 → 0.0.266
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 +6 -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/bot-html-editor/bot-html-editor.component.js +6 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +2 -2
- package/fesm2015/hivegpt-hiveai-angular.js +6 -1
- 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/package.json +1 -1
|
@@ -1807,7 +1807,7 @@
|
|
|
1807
1807
|
if (res) {
|
|
1808
1808
|
_this.isDocInEditMode = true;
|
|
1809
1809
|
_this.documentContent = res;
|
|
1810
|
-
console.log('Get API callled');
|
|
1810
|
+
console.log('Get API callled success');
|
|
1811
1811
|
console.log(res);
|
|
1812
1812
|
}
|
|
1813
1813
|
_this.cdr.markForCheck();
|
|
@@ -2231,14 +2231,19 @@
|
|
|
2231
2231
|
BotHtmlEditorComponent.prototype.ngOnInit = function () {
|
|
2232
2232
|
this.environment = prod_environment;
|
|
2233
2233
|
if (this.isDocInEditMode) {
|
|
2234
|
+
console.log('In Edit mode');
|
|
2234
2235
|
this.filldataInForm();
|
|
2235
2236
|
}
|
|
2237
|
+
else {
|
|
2238
|
+
console.log('In save mode');
|
|
2239
|
+
}
|
|
2236
2240
|
};
|
|
2237
2241
|
BotHtmlEditorComponent.prototype.filldataInForm = function () {
|
|
2238
2242
|
var _a, _b;
|
|
2239
2243
|
if (this.documentContent) {
|
|
2240
2244
|
this.documentName = (_a = this.documentContent) === null || _a === void 0 ? void 0 : _a.name;
|
|
2241
2245
|
this.editorContent = (_b = this.documentContent) === null || _b === void 0 ? void 0 : _b.content;
|
|
2246
|
+
this.cdr.detectChanges();
|
|
2242
2247
|
}
|
|
2243
2248
|
};
|
|
2244
2249
|
BotHtmlEditorComponent.prototype.saveContent = function () {
|