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