import{_ as e}from"./u-icon.wXcRZHbn.js";import{o as t,t as n,p as s,w as a,v as i,x as o,y as c,H as l,R as r,I as p,q as m}from"./index-P0fyQ2Em.js";import{r as u}from"./uni-app.es.DOtS5Ldl.js";import{_ as d}from"./_plugin-vue_export-helper.BCo6x5W8.js";const f=d({props:{btnLoading:{type:Boolean,default:!1},customIcon:{type:Boolean,default:!1},btnText:{type:String,default:""},btnIcon:{type:String,default:"icon-ym icon-ym-add-cancel"},btnType:{type:String,default:"cancel"},iconName:{type:String,default:"icon-ym"},size:{type:[Number,String],default:24}},methods:{handleClick(){return"cancel"===this.btnType?this.jnpf.goBack():"more"===this.btnType?this.$emit("handleBtn",!this.btnLoading):"save"===this.btnType||"reject"===this.btnType?this.$emit("handleBtn"):void 0}}},[["render",function(d,f,y,b,h,g){const x=u(t("u-icon"),e),j=p,T=m;return n(),s(T,{class:l(["u-flex-col buttom-btn-left-inner","reject"===y.btnType?"reject":""]),onClick:r(g.handleClick,["stop"])},{default:a((()=>[y.customIcon?(n(),s(x,{key:0,name:y.iconName,size:y.size,"custom-prefix":y.btnIcon},null,8,["name","size","custom-prefix"])):(n(),s(x,{key:1,name:y.iconName,size:y.size},null,8,["name","size"])),i(j,null,{default:a((()=>[o(c(y.btnText),1)])),_:1})])),_:1},8,["onClick","class"])}]]);export{f as C};