import{e as b}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as x}from"./useMultiOptionChildShared-CiaLWBcL.js";import{d as v,e as g,f as c,i as l,F as k,r as C,B,x as o}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as M,u as e,i as V}from"./vendor-vue-reactivity-CheHbvBM.js";import{a as D,t as H}from"./vendor-vue-shared-DrzsEcag.js";import{_ as L}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./color-filter.utils-DukMf1cu.js";import"./appearanceStore-Cp-euDX2.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";const S={class:"ccb-box-with-checkbox-and-description ccb-checkbox-grid"},T=["for"],w=["id","name","value"],y={class:"ccb-checkbox-label"},A={class:"label"},F=["innerHTML"],I=v({__name:"BoxWithCheckboxAndDescription",props:{field:{},values:{}},emits:["update"],setup(_,{emit:f}){const h=f,p=_,{field:d}=M(p),m=g(()=>Math.random().toString(36).substring(2,15)),{optionValues:s,changeValue:u,getName:i}=x(p,h);return(N,t)=>(l(),c("div",S,[(l(!0),c(k,null,C(e(d).options,(n,a)=>(l(),c("label",{for:e(i)+"_"+a+"_"+m.value,class:D({"ccb-option-disabled":e(d).disableOptions.includes(a)})},[B(o("input",{type:"checkbox",id:e(i)+"_"+a+"_"+m.value,name:e(i),value:n.optionValue,"onUpdate:modelValue":t[0]||(t[0]=r=>V(s)?s.value=r:null),onChange:t[1]||(t[1]=(...r)=>e(u)&&e(u)(...r))},null,40,w),[[b,e(s)]]),o("span",y,[o("span",A,H(n.optionText),1),o("span",{class:"description",innerHTML:n.optionHint},null,8,F)])],10,T))),256))]))}}),X=L(I,[["__scopeId","data-v-3d2fc450"]]);export{X as default};
//# sourceMappingURL=BoxWithCheckboxAndDescription-CcN9FaKb.js.map
