"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DashboardLayout = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const DashboardContext_1 = require("../DashboardContext");
const DashboardSidebar_1 = require("../DashboardSidebar");
const DashboardWrapper_1 = require("./DashboardWrapper");
const Header_1 = require("./Header");
const Main_1 = require("./Main");
/**
 * Общий Layout приложения
 */
const DashboardLayout = ({ children, isFocusedMode = false, isLoading = false, mobileHeaderPriorityFeature = 'menuOrg', desktopViewMode = 'compact', }) => {
    return ((0, jsx_runtime_1.jsx)(DashboardContext_1.DashboardContextProvider, { isFocusedMode: isFocusedMode, isLoading: isLoading, desktopViewMode: desktopViewMode, mobileHeaderPriorityFeature: mobileHeaderPriorityFeature, children: (0, jsx_runtime_1.jsx)(DashboardWrapper_1.DashboardWrapper, { children: children }) }));
};
exports.DashboardLayout = DashboardLayout;
exports.DashboardLayout.Header = Header_1.Header;
exports.DashboardLayout.Sidebar = DashboardSidebar_1.DashboardSidebar;
exports.DashboardLayout.Main = Main_1.Main;
