1import{_ as B}from"./CPlwdP3t.js";import{d as C,r as E,O as b,e as _,p as M,o as h,j as N,k,P as w,g as T,l as V,n as d,i as s,t as u,Q as $,R as j,x as A}from"./BTDG1Jc3.js";import{u as D,a as I}from"./sEjCqvXW.js";const L=["for"],P=["id","name"],R={key:0,class:"error"},q=C({__name:"Number",props:{field:{},header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{}},setup(y){var c;const r=y,t=E(!1),{value:o,meta:m,errorMessage:l}=D(r.field.name??"",(c=r.field.label)!=null&&c.mandatory?b().required():b()),i=_(()=>{var a;if(!l.value)return"";if(!((a=r.field.label)!=null&&a.title))return l;const e=l.value.split(" ");return e[0]=r.field.label.title,e.join(" ")}),F=I(),f=_(()=>m.dirty||m.validated||F.value);return(e,a)=>{const g=B;return h(),M(g,{class:d(["item-"+e.field.marker,e.field.css])},{default:N(()=>{var p,v;return[k("label",{for:"field-"+e.field.marker,class:d([s(t)?"active":"",s(o)?"hasContent":""])},u((p=e.field.label)==null?void 0:p.title)+u((v=e.field.label)!=null&&v.mandatory?"*":""),11,L),w(k("input",{id:"field-"+e.field.marker,"onUpdate:modelValue":a[0]||(a[0]=n=>$(o)?o.value=n:null),name:e.field.name,type:"number",onFocus:a[1]||(a[1]=n=>t.value=!0),onBlur:a[2]||(a[2]=n=>t.value=!1),class:d([s(f)&&s(i)?"hasError":"",s(t)?"active":""])},null,42,P),[[j,s(o)]]),s(f)&&s(i)?(h(),T("div",R,u(s(i)),1)):V("",!0)]}),_:1},8,["class"])}}}),O=A(q,[["__scopeId","data-v-9c5098bd"]]);export{O as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.