remove unused codes and update

This commit is contained in:
2026-05-10 09:44:30 +03:30
parent a138034c06
commit 048e292bdd
107 changed files with 317 additions and 17930 deletions
+9
View File
@@ -15,6 +15,7 @@ interface IPanelInfo {
}
interface LayoutState {
fullPageLoading?: boolean;
staticMenuDesktopInactive?: boolean;
overlayMenuActive?: boolean;
configSidebarVisible?: boolean;
@@ -42,6 +43,7 @@ export class LayoutService {
};
_state: LayoutState = {
fullPageLoading: false,
staticMenuDesktopInactive: false,
overlayMenuActive: false,
configSidebarVisible: false,
@@ -154,6 +156,13 @@ export class LayoutService {
}));
}
changeFullPageLoading(status: boolean) {
this.layoutState.update((prev) => ({
...prev,
fullPageLoading: status,
}));
}
toggleDarkMode(config?: layoutConfig): void {
const _config = config || this.layoutConfig();
localStorage.setItem('isDarkTheme', JSON.stringify(_config.darkTheme));