1import{o as s,c as r,F as i,D as c,a as u,p as d,G as m,t as f,V as p}from"./9ZAr5p4X.js";const b={class:"mt-2"},y=["onClick"],h=["id","value","name","checked","disabled"],k=["for"],$={__name:"Radio",props:{modelValue:{type:String,default:""},question:{type:Object,default:()=>({})},hasError:{type:Boolean,default:!1},options:{type:Array,default:Array},formResponses:{type:Object,default:Object}},emits:["update:modelValue"],setup(e){const t=p(e,"options");return(l,o)=>(s(),r("div",b,[(s(!0),r(i,null,c(d(t),a=>(s(),r("div",{key:a.data,class:"flex mb-4 cursor-pointer",onClick:n=>l.$emit("update:modelValue",a.data)},[u("input",{id:`${e.question.id}-${a.data}`,type:"radio",value:a.data,name:e.question.id,checked:e.modelValue==a.data,class:m([e.hasError?"input-custom-error":"",d(t).length==1?"w-8 h-8":"w-6 h-6","mr-4 border-2 cursor-pointer border-dark-gray text-brand-blue accent-brand-blue"]),disabled:e.question.disabled||d(t).length==0,onInput:o[0]||(o[0]=n=>l.$emit("update:modelValue",n.target.value))},null,42,h),u("label",{for:`${e.question.id}-${a.data}`,class:"p-2 -m-2 cursor-pointer"},f(a?.display),9,k)],8,y))),128))]))}};export{$ as default}; 2//# sourceMappingURL=C1lrHHYq.js.map
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.