import{_ as e,l as p}from"./index-BTglIPU2.js?v=1773287522785";import{k as u,a0 as r,ai as d}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as _,a0 as l,F as c,u as i}from"./vue-core-DJjvd5ZC.js?v=1773287522785";function f(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!i(o)}const g=_({name:"BtLinkGroup",props:{options:{type:Array,default:()=>[]}},render(){let o;return l(u,{class:"items-center",justify:"end",inline:!0,size:0},f(o=this.options.filter(n=>n.show===void 0||n.show).map((n,t)=>{const a=n.linkType||"default";return l(c,null,[t!==0?l(r,{class:"mx-4px!",vertical:!0},null):"",a==="default"?l(e,{disabled:n.disabled||!1,class:n.class,type:n.type,width:n.width||"auto",onClick:()=>{var s;(s=n.onClick)==null||s.call(n)}},{default:()=>[n.label]}):"",a==="dropdown"?l(d,n.dropdown||{},{default:()=>[l(e,{disabled:n.disabled||!1,onClick:()=>{var s;(s=n.onClick)==null||s.call(n)}},{default:()=>[n.label,l(p,{name:"base-arrow-bottom",size:"13"},null)]})]}):""])}))?o:{default:()=>[o]})}});export{g as _};
