import{d as l,c as n,e as a,f as c,s as d,g as _,k as p,h as i,j as f,B as u,n as t,aB as m}from"./index-a0da86f0.js";import{_ as y}from"./_plugin-vue_export-helper-c27b6911.js";const b={class:"field-label"},g={key:0,class:"required"},v=l({__name:"Percent",props:{df:{},record:{},canEdit:{type:Boolean},ctx:{}},setup(o){const s=o,r=n(()=>s.df.label_layout||"vertical");return(e,N)=>(t(),a("div",{class:u(["field-wrapper",`layout-${r.value}`])},[c("label",b,[d(_(e.ctx.t(e.df.label||e.df.fieldname))+" ",1),e.df.reqd?(t(),a("span",g,"*")):p("",!0)]),i(f(m),{type:"line",percentage:Number(e.record[e.df.fieldname])||0,"show-indicator":!0},null,8,["percentage"])],2))}});const B=y(v,[["__scopeId","data-v-90ae1ce6"]]),k=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"}));export{k as _};
