import{_ as f,c as n,w as l,B as i,j as _,C as h,D as C,E as b,o as r,k as a,a1 as k,i as d,p as c,t as u,J as x}from"./index-CZJgrp0v.js";import{t as S}from"./themeMixins.C76yI6bA.js";const p={mixins:[S],props:{customStyle:{type:Object,default:()=>({})},titleStyle:{type:Object,default:()=>({})},valueStyle:{type:Object,default:()=>({})},title:{type:String,default:""},value:{type:String,default:""},isLink:{type:Boolean,default:!0},border:{type:Boolean,default:!1},isGroup:{type:Boolean,default:!1},index:{type:String,default:""},linkColor:{type:String,default:""}},computed:{outCustomStyle(){let o={height:this.isGroup?"104rpx":"84rpx"};return Object.assign({},this.customStyle,o)},showIndex(){return!!this.index},linkColorGetter(){return this.linkColor||this.themePrimaryColorGetter}},data(){return{}},methods:{handleClick(){this.$emit("customClick")}}};function g(o,y,e,v,j,s){const t=_,m=h(b("uv-icon"),C);return r(),n(t,{class:"ceil-button-container",style:i(s.outCustomStyle),onClick:s.handleClick},{default:l(()=>[a(t,{class:k(["ceil-button-main",{borderBottom:e.border}])},{default:l(()=>[s.showIndex?(r(),n(t,{key:0,class:"ceil-button-index"},{default:l(()=>[c(u(e.index),1)]),_:1})):d("",!0),a(t,{class:"ceil-button-left",style:i(e.titleStyle)},{default:l(()=>[c(u(e.title),1)]),_:1},8,["style"]),a(t,{class:"ceil-button-right",style:i(e.valueStyle)},{default:l(()=>[a(t,{class:"value"},{default:l(()=>[c(u(e.value),1)]),_:1}),e.isLink?(r(),n(m,{key:0,name:"arrow-right",color:e.linkColor},null,8,["color"])):d("",!0),x(o.$slots,"right",{},void 0,!0)]),_:3},8,["style"])]),_:3},8,["class"])]),_:3},8,["style","onClick"])}const w=f(p,[["render",g],["__scopeId","data-v-29aaf2eb"]]);export{w as c};
