import { jsx, jsxs } from "react/jsx-runtime";
import { ToolOutlined } from "@ant-design/icons";
import { FloatButton } from "antd";
import { PinnedPluginList } from "../pinned-list/index.mjs";
import { AdminProvider } from "./AdminProvider.mjs";
import { InternalAdminLayout } from "./InternalAdminLayout.mjs";
import { NoticeArea } from "./NoticeArea.mjs";
const AdminLayout = (props)=>/*#__PURE__*/ jsxs(AdminProvider, {
        children: [
            /*#__PURE__*/ jsx(NoticeArea, {}),
            /*#__PURE__*/ jsx(InternalAdminLayout, {
                ...props
            }),
            /*#__PURE__*/ jsx(FloatButton.Group, {
                trigger: "click",
                type: "default",
                style: {
                    right: 24,
                    zIndex: 1250
                },
                icon: /*#__PURE__*/ jsx(ToolOutlined, {}),
                children: /*#__PURE__*/ jsx(PinnedPluginList, {
                    belongToFilter: "hoverbutton"
                })
            })
        ]
    });
export { AdminLayout };
