1import{d as h,r as p,e as t,f as i,j as s,v as _,k as v,F as V,m as x,S as g,aw as k,l as u,U as q}from"./entry-lQ9S7KN9.js";const w=["innerHTML"],y=["innerHTML"],b={class:"-radio"},B=["id","name","value"],C=["for","innerHTML"],F=["innerHTML"],U=h({__name:"input-radio",props:{formData:{default:null},formValue:{default:""},index:{default:0}},emits:["update"],setup(m,{expose:M,emit:L}){const{formData:e,formValue:H,index:n}=m,a=p(H||""),l=p(""),T=L,$=c=>{const r=c.target.value;T("update",r)};return M({validate:()=>(l.value="",e!=null&&e.required&&a.value.length===0?(l.value="鏿ãå¿
è¦ã§ãã",{valid:!1,index:n}):{valid:!0,index:n})}),(c,r)=>(t(),i("dl",null,[s("dt",{class:v({"-required":e==null?void 0:e.required})},[s("label",{innerHTML:e==null?void 0:e.label},null,8,w),e!=null&&e.description?(t(),i("p",{key:0,class:"-description",innerHTML:e==null?void 0:e.description},null,8,y)):_("",!0)],2),s("dd",{class:v({"-error":u(l)!==""})},[s("ul",b,[(t(!0),i(V,null,x(e==null?void 0:e.select,(d,o)=>(t(),i("li",{key:`${n}-${o}-${d.val}`},[g(s("input",{id:`answer_${n}_${o}`,"onUpdate:modelValue":r[0]||(r[0]=f=>q(a)?a.value=f:null),name:`question_${n}`,value:d.val,type:"radio",onInput:$},null,40,B),[[k,u(a)]]),s("label",{for:`answer_${n}_${o}`,innerHTML:d.txt},null,8,C)]))),128))]),u(l)!==""?(t(),i("p",{key:0,class:"-message",innerHTML:u(l)},null,8,F)):_("",!0)],2)]))}});export{U 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.