1import e from"./ChHF1uJm.js";import{_ as a,a as l,b as t}from"./BEwOxxtP.js";import{p as r,Z as o,_ as s,I as i,c as n,o as d,e as u,f as c,i as f,t as p,h as b,a5 as m,k as x,F as v,m as y,n as g}from"./jvgLhiLD.js";import{_ as h,a as k,b as w}from"./DcqvOH5s.js";const V={class:"relative p-2 max-md:!w-full"},_={class:"text-12 mb-1 pointer-events-none text-blue font-bold z-10 block w-auto bg-white"},j=["id"],z=["for"],B=["id"],$=r({__name:"FormCheckboxGroup",props:o({options:{},label:{},horizontal:{type:Boolean},description:{},error:{}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(r){const o=s(r,"modelValue"),h=m(),k=m(),w=m(),$=e=>`${h}-${e}`,F=i((()=>[r.description?w:null,r.error?k:null].filter(Boolean).join(" ")||void 0));return(r,s)=>{const i=e,m=l,h=a,G=t;return d(),n("div",V,[u("label",_,p(r.label),1),r.description?(d(),n("p",{key:0,id:b(w),class:"text-12 mb-1 leading-snug text-gray-400"},p(r.description),9,j)):c("",!0),f(G,{modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=e=>o.value=e),"aria-invalid":!!r.error,"aria-describedby":b(F),class:g(["flex",r.horizontal?"flex-wrap gap-y-2.5 gap-x-8 ":"flex-col gap-2.5"])},{default:x((()=>[(d(!0),n(v,null,y(r.options,(e=>(d(),n("div",{key:e.value,class:"flex items-start gap-4"},[f(h,{id:$(e.value),value:e.value,class:"flex h-6 w-6 shrink-0 appearance-none items-center justify-center border border-gray-600 outline-none hover:bg-stone-50"},{default:x((()=>[f(m,{class:"-m-px flex h-full w-full items-center justify-center border outline outline-2 outline-black data-[state='checked']:text-black"},{default:x((()=>[f(i,{class:"!size-3"})])),_:1})])),_:2},1032,["id","value"]),u("label",{for:$(e.value),class:"text-small text-gray-400 select-none"},p(e.label),9,z)])))),128))])),_:1},8,["modelValue","aria-invalid","aria-describedby","class"]),r.error?(d(),n("p",{key:1,id:b(k),role:"alert",class:"text-12 text-red mt-1"},p(r.error),9,B)):c("",!0)])}}}),F={class:"relative p-2 max-md:!w-full"},G={class:"text-12 mb-1 pointer-events-none text-blue font-bold z-10 block w-auto bg-white"},M=["id"],U=["for"],C=["id"],I=r({__name:"FormRadioGroup",props:o({options:{},label:{},horizontal:{type:Boolean},description:{},error:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=s(e,"modelValue"),l=m(),t=m(),r=m(),o=e=>`${l}-${e}`,V=i((()=>[e.description?r:null,e.error?t:null].filter(Boolean).join(" ")||void 0));return(e,l)=>{const s=k,i=h,m=w;return d(),n("div",F,[u("label",G,p(e.label),1),e.description?(d(),n("p",{key:0,id:b(r),class:"text-12 mb-1 leading-snug text-gray-400"},p(e.description),9,M)):c("",!0),f(m,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=e=>a.value=e),"aria-invalid":!!e.error,"aria-describedby":b(V),class:g(["flex",e.horizontal?"flex-wrap gap-y-2.5 gap-x-8 ":"flex-col gap-2.5"]),"default-value":"default","aria-label":"View density"},{default:x((()=>[(d(!0),n(v,null,y(e.options,(e=>(d(),n("div",{key:e.value,class:"flex items-start gap-4"},[f(i,{id:o(e.value),class:"flex h-6 w-6 shrink-0 appearance-none rounded-full items-center justify-center border border-gray-600 outline-none hover:bg-stone-50",value:e.value},{default:x((()=>[f(s,{class:"relative flex h-full items-center justify-center after:block after:h-5 after:w-5 after:rounded-[50%] after:outline-black after:outline-2 after:border-6 after:border-white after:bg-black after:p-1 after:content-['']"})])),_:2},1032,["id","value"]),u("label",{for:o(e.value),class:"text-small text-gray-400 select-none"},p(e.label),9,U)])))),128))])),_:1},8,["modelValue","aria-invalid","aria-describedby","class"]),e.error?(d(),n("p",{key:1,id:b(t),role:"alert",class:"text-12 text-red mt-1"},p(e.error),9,C)):c("",!0)])}}});export{$ as _,I as a};
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.