1import{e as u,l as i,p as m,b as f,d as h,u as t,q as k,t as p,i as x,s as b,c as s,v as g,o as C}from"./Cq1rSXih.js";const y=["for"],v=["id","name","checked"],B=u({inheritAttrs:!0,__name:"CheckboxInput",props:b({name:{type:String,default:"checkbox"},labelBefore:{type:Boolean,default:!0},text:{type:String,default:""},hasDarkBackground:{type:Boolean,default:!1},colorRole:{type:String,default:""},extraClass:{type:String,default:""}},{modelValue:{default:{value:"",isValid:!0,isDirty:!1}},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const o=e,n=i(e,"modelValue"),{value:a}=m(n.value),c=()=>{a.value=!a.value},r=g(),l=s(()=>`${o.name}-${r}`),d=s(()=>`checkbox--is-${o.colorRole}`);return(V,I)=>(C(),f("label",{class:x([[e.labelBefore?"checkbox--is-reversed":"",t(d),e.extraClass],"checkbox"]),for:t(l)},[h("input",{type:"checkbox",id:t(l),name:e.name,checked:t(a),onChange:c},null,40,v),k(" "+p(e.text),1)],10,y))}}),D=Object.assign(B,{__name:"FormFieldsCheckboxInput"});export{D 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.