import { jsx as _jsx } from "react/jsx-runtime";
import { DashboardContextProvider } from '../DashboardContext';
import { DashboardSidebar } from '../DashboardSidebar';
import { DashboardWrapper } from './DashboardWrapper';
import { Header } from './Header';
import { Main } from './Main';
/**
 * Общий Layout приложения
 */
export const DashboardLayout = ({ children, isFocusedMode = false, isLoading = false, mobileHeaderPriorityFeature = 'menuOrg', desktopViewMode = 'compact', }) => {
    return (_jsx(DashboardContextProvider, { isFocusedMode: isFocusedMode, isLoading: isLoading, desktopViewMode: desktopViewMode, mobileHeaderPriorityFeature: mobileHeaderPriorityFeature, children: _jsx(DashboardWrapper, { children: children }) }));
};
DashboardLayout.Header = Header;
DashboardLayout.Sidebar = DashboardSidebar;
DashboardLayout.Main = Main;
