import{y as l,al as c,z as t,A as i,B as m,P as o,I as _,J as r,O as p,M as u}from"./vendor-1e24e3ad-1782729249161v=1.0.0.js";import{_ as f}from"./index-b309bf9f-1782729249161v=1.0.0.js";import"./eleVendor-5008d1ec-1782729249161v=1.0.0.js";const y={class:"common-title"},x={class:"title"},C=l({__name:"CommonTitle",props:{title:{type:String,default:""},showAdd:{type:Boolean,default:!0},addText:{type:String,default:"\u65B0\u589E"}},emits:["add"],setup(e,{emit:a}){const s=a,n=()=>{s("add")};return(h,B)=>{const d=c("el-button");return t(),i("div",y,[m("span",x,o(e.title),1),e.showAdd?(t(),_(d,{key:0,type:"primary",link:"",onClick:n,icon:"Plus"},{default:r(()=>[p(o(e.addText),1)]),_:1})):u("v-if",!0)])}}});const g=f(C,[["__scopeId","data-v-a3ae9e78"]]);export{g as default};
