import{k as s,c as u,$ as i,a8 as p,s as c,S as d}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{u as f,ab as m}from"./naive-ui--dJnpVcV.js?v=1773287522785";const C=s({__name:"index",props:{value:{default:0},type:{default:"line"},height:{default:5},borderRadius:{default:4},textColor:{},defaultColor:{default:""}},setup(t){const a=t,r=f(),n=u(()=>{const{value:e,defaultColor:o}=a;return e>=90?r.value.errorColor:e>=80?r.value.warningColor:o||r.value.primaryColor});return(e,o)=>{const l=m;return i(),p(l,c({type:e.type,color:d(n),height:e.height,percentage:e.value,"indicator-text-color":e.textColor,"border-radius":e.borderRadius},e.$attrs),null,16,["type","color","height","percentage","indicator-text-color","border-radius"])}}});export{C as _};
