"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../config-provider/index.js");require("../ApStatus.vue.js");const a=require("../../../config-provider/hooks/use-namespace.js"),o=require("../ApStatus.vue2.js"),n=e.defineComponent({name:"ApStatusGroup",__name:"ApStatusGroup",props:{padding:{default:8},currentValue:{default:0},statusList:{default:null},style:{},show:{type:Boolean,default:!0}},setup(r){const t=r,l=e.computed(()=>({...t.style})),{b:s}=a.useNamespace("ap-status-group");return(c,p)=>t.statusList?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(s)()]),style:e.normalizeStyle(l.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.statusList,u=>(e.openBlock(),e.createBlock(o.default,{key:u.value,show:u.value===r.currentValue,color:u.color,text:u.text,padding:t.padding,style:e.normalizeStyle(t.style)},null,8,["show","color","text","padding","style"]))),128))],6)):e.createCommentVNode("",!0)}});exports.default=n;
