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