import{a as f,C as g,b as x,m as r,g as l,F as v,H as k,I as C,u as e,p as s,M as H,D as M,$ as B,Z as D}from"./convert-case-to-camel-case.utils-DDUpNI96.js";import{u as V}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-heading-checkbox-and-description ccb-checkbox-grid"},S=["for"],T={class:"ccb-checkbox-label"},w={class:"label"},y=["innerHTML"],A=["id","name","value"],F=f({__name:"BoxWithHeadingCheckboxAndDescription",props:{field:{},values:{}},emits:["update"],setup(_,{emit:b}){const h=b,p=_,{field:d}=g(p),{optionValues:o,changeValue:u,getName:n}=V(p,h),m=x(()=>Math.random().toString(36).substring(2,15));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+"_"+m.value,class:C({"ccb-option-disabled":e(d).disableOptions.includes(i)})},[s("span",T,[s("span",w,M(a.optionText),1),s("span",{class:"description",innerHTML:a.optionHint},null,8,y)]),H(s("input",{type:"checkbox",id:e(n)+"_"+i+"_"+m.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(u)&&e(u)(...c))},null,40,A),[[B,e(o)]])],10,S))),256))]))}}),j=I(F,[["__scopeId","data-v-92bf08cf"]]);export{j as default};
//# sourceMappingURL=BoxWithHeadingCheckboxAndDescription-CnU3oumV.js.map
