"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),y=require("../PanelContext.js"),P=require("../hooks/useMergeProps.js"),n={visibility:"hidden"};function o(i,{slots:d}){const b=P.default(i),{prefixCls:e,prevIcon:p="‹",nextIcon:v="›",superPrevIcon:x="«",superNextIcon:N="»",onSuperPrev:r,onSuperNext:s,onPrev:u,onNext:a}=b,{hideNextBtn:l,hidePrevBtn:c}=y.useInjectPanel();return t.createVNode("div",{class:e},[r&&t.createVNode("button",{type:"button",onClick:r,tabindex:-1,class:`${e}-super-prev-btn`,style:c.value?n:{}},[x]),u&&t.createVNode("button",{type:"button",onClick:u,tabindex:-1,class:`${e}-prev-btn`,style:c.value?n:{}},[p]),t.createVNode("div",{class:`${e}-view`},[d.default?.()]),a&&t.createVNode("button",{type:"button",onClick:a,tabindex:-1,class:`${e}-next-btn`,style:l.value?n:{}},[v]),s&&t.createVNode("button",{type:"button",onClick:s,tabindex:-1,class:`${e}-super-next-btn`,style:l.value?n:{}},[N])])}o.displayName="Header";o.inheritAttrs=!1;exports.default=o;
