1import{D as e,F as t,Gt as n,Jt as r,M as i,O as a,T as o,Zt as s,gt as c,it as l,q as u,ut as d,wt as f}from"./DidYC9GO.js";import{t as p}from"./CbGRO9nr.js";import{t as m}from"./DLxPUxre.js";import{t as h}from"./Dj_T2mUC.js";var g=m({slots:{base:`relative mb-4 lg:mb-6`,label:`inline-block mb-1`},variants:{behavior:{inline:{base:`inline-block`},block:{base:`block`}}}}),_=t({__name:`z-input-field`,props:{label:{default:void 0},name:{default:void 0},rules:{type:[String,Object,Function,Array],default:void 0},errorMessage:{default:``},hasError:{type:Boolean,default:!1},behavior:{default:`block`},ui:{default:()=>({})}},setup(t){let m=t,_=c(),v=o(()=>g({behavior:m.behavior}));return(o,c)=>(l(),e(n(p),{"data-component":`z-input-field`,as:`label`,class:r(v.value.base({class:[m.ui?.base,n(_).class]})),name:t.name??t.label??``,rules:t.rules},{default:f(c=>[t.label?(l(),e(n(h),{key:0,class:r(v.value.label({class:m.ui?.label})),align:`left`,weight:`middle`},{default:f(()=>[i(s(t.label),1)]),_:1},8,[`class`])):a(``,!0),d(o.$slots,`default`,u(c,{hasError:t.hasError||!!c.errors.length})),t.hasError&&t.errorMessage||c.errors.length?(l(),e(n(h),{key:1,tag:`span`,color:`danger`,size:`small`},{default:f(()=>[i(s(t.errorMessage||c.errors[0]),1)]),_:2},1024)):a(``,!0)]),_:3},8,[`class`,`name`,`rules`]))}});export{_ as t};
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.