@hivegpt/hiveai-angular 0.0.135 → 0.0.136
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 +10 -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 +11 -3
- package/fesm2015/hivegpt-hiveai-angular.js +10 -2
- 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
|
@@ -1468,12 +1468,20 @@
|
|
|
1468
1468
|
return "https://www.google.com/s2/favicons?sz=128&domain=" + domain;
|
|
1469
1469
|
};
|
|
1470
1470
|
ChatDrawerComponent.prototype.onCardClick = function () {
|
|
1471
|
-
this.toggleDrawer(false);
|
|
1472
1471
|
this.sourcesDrawer.open();
|
|
1472
|
+
var button = document.getElementById('botcloseplaygroundbutton');
|
|
1473
|
+
if (button) {
|
|
1474
|
+
button.style.display = 'none';
|
|
1475
|
+
}
|
|
1473
1476
|
};
|
|
1474
1477
|
ChatDrawerComponent.prototype.onCloseSource = function () {
|
|
1475
1478
|
this.sourcesDrawer.close();
|
|
1476
|
-
this.
|
|
1479
|
+
this.isDrawerOpen = true;
|
|
1480
|
+
var button = document.getElementById('botcloseplaygroundbutton');
|
|
1481
|
+
if (button) {
|
|
1482
|
+
button.style.display = 'block';
|
|
1483
|
+
}
|
|
1484
|
+
this.cdr.detectChanges();
|
|
1477
1485
|
};
|
|
1478
1486
|
ChatDrawerComponent.prototype.toggleDrawer = function (todo) {
|
|
1479
1487
|
this.isDrawerOpen = todo;
|