import{d as l,bU as c,m as r,f as p,aj as u,aT as g,aU as T,o as _,a as m,w as f,h as d,t as y,x as h,i as C}from"./index-f4658ae7.js";const b=l({name:"BasicTableTitle",components:{BasicTitle:c},props:{title:{type:[Function,String]},getSelectRows:{type:Function},helpMessage:{type:[String,Array]}},setup(e){const{prefixCls:a}=r("basic-table-title");return{getTitle:p(()=>{const{title:t,getSelectRows:n=()=>{}}=e;let s=t;return u(t)&&(s=t({selectRows:n()})),s}),prefixCls:a}}});function B(e,a,o,t,n,s){const i=T("BasicTitle");return e.getTitle?(_(),m(i,{key:0,class:h(e.prefixCls),helpMessage:e.helpMessage},{default:f(()=>[d(y(e.getTitle),1)]),_:1},8,["class","helpMessage"])):C("",!0)}const x=g(b,[["render",B]]);export{x as default};