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