@nettyapps/ntybase 21.0.16 → 21.0.19

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.
@@ -262,8 +262,10 @@ var enUSbase = {
262
262
  "@defaultFilterActive": "Default Filter Active - Switch to Custom",
263
263
  "@customFilterModeEnabled": "Custom Filter Mode Enabled",
264
264
  "@defaultFilterModeEnabled": "Default Filter Mode Enabled",
265
- "@invalidFormat": "Invalid Format"
265
+ "@invalidFormat": "Invalid Format",
266
+ "@openInPopup": "Records open as pop-ups now",
267
+ "@openInSidenav": "Records will now open in the sidenav"
266
268
  };
267
269
 
268
270
  export { AG_GRID, DASHBOARD, ENVIRONMENT_INFO, GANTT, enUSbase as default, mfaCode };
269
- //# sourceMappingURL=nettyapps-ntybase-en-USbase-BVtoVBU3.mjs.map
271
+ //# sourceMappingURL=nettyapps-ntybase-en-USbase-BiAVQmCh.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"nettyapps-ntybase-en-USbase-BVtoVBU3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"nettyapps-ntybase-en-USbase-BiAVQmCh.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -262,8 +262,10 @@ var trTRbase = {
262
262
  "@defaultFilterActive": "Varsayılan Filtre Aktif - Özele Geç",
263
263
  "@customFilterModeEnabled": "Özel Filtre Modu Aktif",
264
264
  "@defaultFilterModeEnabled": "Varsayılan Filtre Modu Aktif",
265
- "@invalidFormat": "Geçersiz Format"
265
+ "@invalidFormat": "Geçersiz Format",
266
+ "@openInPopup": "Kayıtlar artık açılır pencerede görüntülenecek",
267
+ "@openInSidenav": "Kayıtlar artık yan panelde görüntülenecek"
266
268
  };
267
269
 
268
270
  export { AG_GRID, DASHBOARD, ENVIRONMENT_INFO, GANTT, trTRbase as default, mfaCode };
269
- //# sourceMappingURL=nettyapps-ntybase-tr-TRbase-BPeaVYNs.mjs.map
271
+ //# sourceMappingURL=nettyapps-ntybase-tr-TRbase-DsdNRueU.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"nettyapps-ntybase-tr-TRbase-BPeaVYNs.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"nettyapps-ntybase-tr-TRbase-DsdNRueU.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1239,6 +1239,8 @@ class NettyAgGridBase {
1239
1239
  searchValueName = signal('Invalid_searchValue', ...(ngDevMode ? [{ debugName: "searchValueName" }] : []));
1240
1240
  preferenceType = signal('Invalid_columnState', ...(ngDevMode ? [{ debugName: "preferenceType" }] : []));
1241
1241
  searchValue = signal('', ...(ngDevMode ? [{ debugName: "searchValue" }] : []));
1242
+ // Open component management
1243
+ openInPopup = signal(false, ...(ngDevMode ? [{ debugName: "openInPopup" }] : []));
1242
1244
  // Services
1243
1245
  nettyAgGridService = inject(NettyAgGridService);
1244
1246
  translateService = inject(TranslateService);
@@ -1542,6 +1544,7 @@ class NettyAgGridBase {
1542
1544
  },
1543
1545
  maxWidth: '100vw',
1544
1546
  disableClose: true,
1547
+ hasBackdrop: false,
1545
1548
  })
1546
1549
  .afterClosed()
1547
1550
  .subscribe((result) => {
@@ -1584,6 +1587,13 @@ class NettyAgGridBase {
1584
1587
  },
1585
1588
  ]);
1586
1589
  }
1590
+ toggleOpenMode() {
1591
+ const newMode = !this.openInPopup();
1592
+ this.openInPopup.set(newMode);
1593
+ localStorage.setItem('openInPopup', JSON.stringify(newMode));
1594
+ const message = newMode ? '@openInPopup' : '@openInSidenav';
1595
+ this.alertService.showSuccess(message);
1596
+ }
1587
1597
  /**
1588
1598
  * Listens for update events from CommonService and refreshes the grid accordingly.
1589
1599
  * - For 'add' or 'update' actions: Updates the relevant row
@@ -1597,6 +1607,10 @@ class NettyAgGridBase {
1597
1607
  buttonRenderer: ButtonRenderer,
1598
1608
  checkboxRenderer: CheckboxRenderer,
1599
1609
  };
1610
+ const savedMode = localStorage.getItem('openInPopup');
1611
+ if (savedMode !== null) {
1612
+ this.openInPopup.set(JSON.parse(savedMode) === true);
1613
+ }
1600
1614
  this.translateService.onLangChange.subscribe(() => {
1601
1615
  this.setAgGridTranslations();
1602
1616
  });
@@ -1653,7 +1667,7 @@ class NettyAgGridBase {
1653
1667
  this.isFilterExpanded.set(false);
1654
1668
  }
1655
1669
  else {
1656
- this.isFilterValid.update(a => !a);
1670
+ this.isFilterValid.update((a) => !a);
1657
1671
  }
1658
1672
  }
1659
1673
  /**
@@ -1903,6 +1917,9 @@ class NettyAgGridSaveBase {
1903
1917
  this.viewMode.set('fullscreen');
1904
1918
  }
1905
1919
  }
1920
+ ngOnInit() {
1921
+ this.loadDetailData();
1922
+ }
1906
1923
  /**
1907
1924
  * Set data to the form while preserving any unsaved changes
1908
1925
  * @param item - Data object of type T to populate the form
@@ -3668,8 +3685,8 @@ class NettyBaseApp {
3668
3685
  i18nService = inject(I18nService);
3669
3686
  async loadBaseTranslations() {
3670
3687
  try {
3671
- const enUSBase = await import('./nettyapps-ntybase-en-USbase-BVtoVBU3.mjs');
3672
- const trTRBase = await import('./nettyapps-ntybase-tr-TRbase-BPeaVYNs.mjs');
3688
+ const enUSBase = await import('./nettyapps-ntybase-en-USbase-BiAVQmCh.mjs');
3689
+ const trTRBase = await import('./nettyapps-ntybase-tr-TRbase-DsdNRueU.mjs');
3673
3690
  this.i18nService.addTranslations('English', enUSBase.default);
3674
3691
  this.i18nService.addTranslations('Türkçe', trTRBase.default);
3675
3692
  }