import{createVNode as t}from"vue";import{useInjectPanel as f}from"../PanelContext.mjs";import m from"../hooks/useMergeProps.mjs";const n={visibility:"hidden"};function a(p,{slots:c}){const b=m(p),{prefixCls:e,prevIcon:d="‹",nextIcon:v="›",superPrevIcon:x="«",superNextIcon:y="»",onSuperPrev:o,onSuperNext:s,onPrev:r,onNext:u}=b,{hideNextBtn:i,hidePrevBtn:l}=f();return t("div",{class:e},[o&&t("button",{type:"button",onClick:o,tabindex:-1,class:`${e}-super-prev-btn`,style:l.value?n:{}},[x]),r&&t("button",{type:"button",onClick:r,tabindex:-1,class:`${e}-prev-btn`,style:l.value?n:{}},[d]),t("div",{class:`${e}-view`},[c.default?.()]),u&&t("button",{type:"button",onClick:u,tabindex:-1,class:`${e}-next-btn`,style:i.value?n:{}},[v]),s&&t("button",{type:"button",onClick:s,tabindex:-1,class:`${e}-super-next-btn`,style:i.value?n:{}},[y])])}a.displayName="Header";a.inheritAttrs=!1;export{a as default};
