@namespace AI.Platform.Web.Components
@inherits AntDomComponentBase

<Space Class="@ClassMapper.Class" Size="SpaceSize.Middle" Align="SpaceAlign.Center">
    <SpaceItem >
        <NoticeIcon  ClearText="清空"
                    ViewMoreText="更多"
                    Count="Count"
                    OnClear="HandleClear"
                    OnViewMore="HandleViewMore">
            <NoticeList TabKey="message"
                        OnItemClick="Seen"
                        Title="消息"
                        EmptyText="暂无消息"
                        ShowViewMore
                        Data="Messages" />
            <NoticeList TabKey="notification"
                        OnItemClick="Seen"
                        Title="提醒"
                        EmptyText="暂无提醒"
                        ShowViewMore
                        Data="IconNotifications" />
        </NoticeIcon>
    </SpaceItem>
    <SpaceItem>
        <AvatarDropdown Name="@CurrentUser?.NickName"
                        Avatar="@CurrentUser?.Avatar"
                        MenuItems="@AvatarMenuItems"
                        OnItemSelected="HandleSelectUser" />
    </SpaceItem>
    @*     <SpaceItem>
        <SelectLang OnItemSelected="HandleSelectLang" />
    </SpaceItem> *@
</Space>
