import{a as f,C as x,b as g,m as r,g as l,F as v,H as k,I as C,u as e,M,p as s,$ as B,Z as D,D as V}from"./convert-case-to-camel-case.utils-DDUpNI96.js";import{u as H}from"./useMultiOptionChildShared-DVKrDZdt.js";import{_ as I}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./color-filter.utils-DukMf1cu.js";import"./widget-BUAABBRb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./translationsStore-DBJu9sBR.js";const L={class:"ccb-box-with-checkbox-and-description ccb-checkbox-grid"},S=["for"],T=["id","name","value"],w={class:"ccb-checkbox-label"},y={class:"label"},A=["innerHTML"],F=f({__name:"BoxWithCheckboxAndDescription",props:{field:{},values:{}},emits:["update"],setup(_,{emit:b}){const h=b,p=_,{field:d}=x(p),u=g(()=>Math.random().toString(36).substring(2,15)),{optionValues:o,changeValue:m,getName:n}=H(p,h);return(N,t)=>(l(),r("div",L,[(l(!0),r(v,null,k(e(d).options,(a,i)=>(l(),r("label",{for:e(n)+"_"+i+"_"+u.value,class:C({"ccb-option-disabled":e(d).disableOptions.includes(i)})},[M(s("input",{type:"checkbox",id:e(n)+"_"+i+"_"+u.value,name:e(n),value:a.optionValue,"onUpdate:modelValue":t[0]||(t[0]=c=>D(o)?o.value=c:null),onChange:t[1]||(t[1]=(...c)=>e(m)&&e(m)(...c))},null,40,T),[[B,e(o)]]),s("span",w,[s("span",y,V(a.optionText),1),s("span",{class:"description",innerHTML:a.optionHint},null,8,A)])],10,S))),256))]))}}),j=I(F,[["__scopeId","data-v-1e125d55"]]);export{j as default};
//# sourceMappingURL=BoxWithCheckboxAndDescription-DnAgRnR9.js.map
