@hivegpt/hiveai-angular 0.0.139 → 0.0.140
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 +9 -9
- 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 +10 -9
- package/fesm2015/hivegpt-hiveai-angular.js +9 -8
- 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 +1 -0
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1475,18 +1475,18 @@
|
|
|
1475
1475
|
}
|
|
1476
1476
|
};
|
|
1477
1477
|
ChatDrawerComponent.prototype.onCloseSource = function () {
|
|
1478
|
-
var _this = this;
|
|
1479
1478
|
this.sourcesDrawer.close();
|
|
1480
1479
|
this.isDrawerOpen = false;
|
|
1481
1480
|
this.cdr.detectChanges(); // Trigger change detection if needed
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1481
|
+
this.onDrawerClosed();
|
|
1482
|
+
};
|
|
1483
|
+
ChatDrawerComponent.prototype.onDrawerClosed = function () {
|
|
1484
|
+
this.isDrawerOpen = true;
|
|
1485
|
+
// Use ngClass to dynamically apply the class
|
|
1486
|
+
var button = document.getElementById('botcloseplaygroundbutton');
|
|
1487
|
+
if (button) {
|
|
1488
|
+
button.style.display = 'block';
|
|
1489
|
+
}
|
|
1490
1490
|
};
|
|
1491
1491
|
ChatDrawerComponent.prototype.toggleDrawer = function (todo) {
|
|
1492
1492
|
this.isDrawerOpen = todo;
|