import{l as c,e as u,G as b,m as a,p as _,H as f,u as d,A as p,ah as v,M as l,O as y,Q as g,q as x,T as I,I as S}from"./vendor-98154105-1779868775780v=1.0.0.js";import{_ as m}from"./_plugin-vue_export-helper-8c5478df-1779868775780v=1.0.0.js";import{_ as k}from"./index-0f3e2c06-1779868775780v=1.0.0.js";const h={class:"tabbar_left_container"},C=c({name:"TabbarLeft"}),T=c({...C,props:{value:String},emits:["update:value","tab-click"],setup(e,{emit:n}){let s=e;const o=n,i=u({get(){return s.value},set(t){o("tab-click",t),o("update:value",t)}});return b("active",i),(t,r)=>(a(),_("div",h,[f(t.$slots,"default",{active:d(i)},void 0,!0)]))}});const w=m(T,[["__scopeId","data-v-95b6b0d7"]]),B={class:"tabbar-text font-606"},L=c({name:"TabbarLeftItem"}),$=c({...L,props:{label:{type:String,default:"\u57FA\u672C\u4FE1\u606F"},name:String,iconName:{type:String,default:"xianxingzijiayou"},disabled:{type:Boolean,default:!1},active:{type:String},elementIcon:{type:String,default:""}},setup(e){const n=e,s=p("active"),o=()=>{n.disabled||(s.value=n.name)};return(i,t)=>{const r=v("el-icon");return a(),_("div",{class:S(["tabbar-item",[d(s)==e.name?"tabbar-active":"",e.disabled?"forbidden-pointer":""]]),onClick:o},[e.elementIcon?(a(),l(r,{key:0},{default:y(()=>[(a(),l(g(e.elementIcon)))]),_:1})):(a(),l(k,{key:1,name:e.iconName,class:"tabbar-icon"},null,8,["name"])),x("span",B,I(e.label),1)],2)}}});const z=m($,[["__scopeId","data-v-509f5a06"]]);export{w as T,z as a};
