import{r as u,o,g as r,a as i,i as _,u as s,h as l,n as d,t as h}from"./app-BYcXwl4U.js";const g={colspan:"2"},k={key:0},v={key:1},b={key:0,class:"text-gray-400 ml-2 text-sm"},V={__name:"MoreOptionsTbody",props:{summary:u([])},emits:["change"],setup(m,{emit:c}){const p=c,n=m,{isVisible:e}=function(){return{isVisible:u(!1)}}(),y=function(){e.value=!e.value,p("change",e.value)};var a="";return n.summary&&n.summary instanceof Array&&n.summary.length>0&&(a=n.summary.$findAll(function(f,t){return t&&t.length>0}).join(" / ")),(f,t)=>(o(),r("tbody",null,[i("tr",null,[i("td",g,[i("a",{href:"",onClick:t[0]||(t[0]=_(w=>y(),["prevent"]))},[s(e)?l("",!0):(o(),r("span",k,"更多选项")),s(e)?(o(),r("span",v,"收起选项")):l("",!0),i("i",{class:d(["pi",{"pi-angle-down":!s(e),"pi-angle-up":s(e)}])},null,2)]),s(a)&&s(a).length>0?(o(),r("span",b,h(s(a)),1)):l("",!0)])])]))}};export{V as _};
