import{_ as e}from"./u-icon.BNGPST4x.js";import{k as t,p as n,m as s,w as a,q as i,t as o,v as c,E as l,N as r,G as p,o as m}from"./index-C9TJPork.js";import{r as u}from"./uni-app.es.CUt9gedF.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 j=u(t("u-icon"),e),k=p,x=m;return n(),s(x,{class:l(["u-flex-col buttom-btn-left-inner","reject"===y.btnType?"reject":""]),onClick:r(g.handleClick,["stop"])},{default:a((()=>[y.customIcon?(n(),s(j,{key:0,name:y.iconName,size:y.size,"custom-prefix":y.btnIcon},null,8,["name","size","custom-prefix"])):(n(),s(j,{key:1,name:y.iconName,size:y.size},null,8,["name","size"])),i(k,null,{default:a((()=>[o(c(y.btnText),1)])),_:1})])),_:1},8,["onClick","class"])}]]);export{f as C};