@nettyapps/ntybase 21.0.35-beta.18 → 21.0.35-beta.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.
|
@@ -1784,8 +1784,6 @@ class NettyAgGridListBase extends NettyAgGridBase {
|
|
|
1784
1784
|
value++;
|
|
1785
1785
|
this.filterRefreshTrigger.set(value);
|
|
1786
1786
|
}
|
|
1787
|
-
// Open component management
|
|
1788
|
-
openEditComponentInPopup = signal(false, ...(ngDevMode ? [{ debugName: "openEditComponentInPopup" }] : []));
|
|
1789
1787
|
// Services
|
|
1790
1788
|
router = inject(Router);
|
|
1791
1789
|
routerActive = inject(ActivatedRoute);
|
|
@@ -1903,10 +1901,9 @@ class NettyAgGridListBase extends NettyAgGridBase {
|
|
|
1903
1901
|
]);
|
|
1904
1902
|
}
|
|
1905
1903
|
toggleOpenMode() {
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
const message = newMode ? '@openInPopup' : '@openInSidenav';
|
|
1904
|
+
this.openInPopup.update(a => !a);
|
|
1905
|
+
localStorage.setItem('openInPopup', JSON.stringify(this.openInPopup()));
|
|
1906
|
+
const message = this.openInPopup() ? '@openInPopup' : '@openInSidenav';
|
|
1910
1907
|
this.alertService.showSuccess(message);
|
|
1911
1908
|
}
|
|
1912
1909
|
/**
|
|
@@ -1925,7 +1922,7 @@ class NettyAgGridListBase extends NettyAgGridBase {
|
|
|
1925
1922
|
};
|
|
1926
1923
|
const savedMode = localStorage.getItem('openInPopup');
|
|
1927
1924
|
if (savedMode !== null) {
|
|
1928
|
-
this.
|
|
1925
|
+
this.openInPopup.set(JSON.parse(savedMode) === true);
|
|
1929
1926
|
}
|
|
1930
1927
|
this.translateService.onLangChange.subscribe(() => {
|
|
1931
1928
|
this.setAgGridTranslations();
|