1import{s as p}from"./0DslTxmF-2d4475b7-19ad-4ce1-a642-5c1641602da1-c.js";import{L as h,M as B,o as a,c as s,n as u,v as r,N as n,b as f,d as c,F as S,am as g,y as o}from"./C5RtQ-Rz-2d4475b7-19ad-4ce1-a642-5c1641602da1.js";const k=["aria-invalid","aria-labelledby"],$={key:0,class:"row"},z=["id"],F={class:"col"},N={key:0},G=["id"],I=["id"],O=h({name:"BaseFormGroup",__name:"BaseFormGroup",props:{labelCols:{type:[String,Number,Boolean],default:void 0},labelSize:{default:void 0},labelClass:{default:void 0},labelSrOnly:{type:Boolean,default:!1},state:{type:[Boolean,null],default:null},validated:{type:Boolean,default:!1}},setup(t){const l=t,m=B(),d=g(),i=o(()=>!!m.label),b=o(()=>l.labelCols!==void 0&&l.labelCols!==!1),C=o(()=>`col-${l.labelCols===!0||l.labelCols===""?12:l.labelCols}`),v=o(()=>l.labelSize?`col-form-label-${l.labelSize}`:null),y=o(()=>p(l.state)),_=o(()=>l.state===!1?"true":void 0);return(e,w)=>(a(),s("fieldset",{class:u([y.value,{"was-validated":t.validated}]),"aria-invalid":_.value,"aria-labelledby":b.value&&i.value?r(d):void 0},[b.value?(a(),s("div",$,[i.value?(a(),s("legend",{key:0,id:r(d),tabindex:"-1",class:u([C.value,"col-form-label",v.value,"bv-no-focus-ring",t.labelClass])},[n(e.$slots,"label")],10,z)):f("",!0),c("div",F,[n(e.$slots,"default")])])):(a(),s(S,{key:1},[t.labelSrOnly&&i.value?(a(),s("div",N,[c("legend",{id:r(d),class:"visually-hidden"},[n(e.$slots,"label")],8,G)])):i.value?(a(),s("legend",{key:1,id:r(d),tabindex:"-1",class:u(["form-label","col-form-label","pt-0","bv-no-focus-ring",v.value,t.labelClass])},[n(e.$slots,"label")],10,I)):f("",!0),c("div",null,[n(e.$slots,"default")])],64))],10,k))}}),j=Object.assign(O,{__name:"BaseFormGroup"});export{j 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.