@nettyapps/ntybase 21.0.35-beta.5 → 21.0.35-beta.6

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.
@@ -1311,6 +1311,21 @@ class NettyAgGridBase extends NettyAppsBase {
1311
1311
  onFilterTextBoxVisibilityChange(isOpen) {
1312
1312
  this.menuValid.set(!isOpen);
1313
1313
  }
1314
+ /**
1315
+ * Handle back button click
1316
+ */
1317
+ backClicked() {
1318
+ this.commonService.goBack();
1319
+ }
1320
+ async refreshData() {
1321
+ try {
1322
+ this.loadData();
1323
+ await this.alertService.showAlert('@dataRefreshedSuccessfully');
1324
+ }
1325
+ catch (err) {
1326
+ this.alertService.showError(err);
1327
+ }
1328
+ }
1314
1329
  /** Set data into the grid */
1315
1330
  setData(data) {
1316
1331
  this.recordList.set(data);
@@ -1801,12 +1816,6 @@ class NettyAgGridListBase extends NettyAgGridBase {
1801
1816
  }
1802
1817
  return null;
1803
1818
  }
1804
- /**
1805
- * Handle back button click
1806
- */
1807
- backClicked() {
1808
- this.commonService.goBack();
1809
- }
1810
1819
  gotoURL(routePrefix, rightSidenav = [], parameters, type, dialogComponent = null, isNewTab = false, isPopup = this.isEmbedded()) {
1811
1820
  const baseHref = this.environment.getBaseHref().endsWith('/')
1812
1821
  ? this.environment.getBaseHref().slice(0, -1) // Sondaki / işaretini kaldır
@@ -1996,15 +2005,6 @@ class NettyAgGridListBase extends NettyAgGridBase {
1996
2005
  this.deleteRows(selectedRows);
1997
2006
  }
1998
2007
  }
1999
- async refreshData() {
2000
- try {
2001
- this.loadData();
2002
- await this.alertService.showAlert('@dataRefreshedSuccessfully');
2003
- }
2004
- catch (err) {
2005
- this.alertService.showError(err);
2006
- }
2007
- }
2008
2008
  deleteRows(rows) {
2009
2009
  this.nettyAppsProxy.deleteList(rows).subscribe({
2010
2010
  next: () => {