import{e as f}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as x}from"./useMultiOptionChildShared-CiaLWBcL.js";import{d as g,e as v,f as c,i as l,F as k,r as C,x as o,B}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as H,u as e,i as M}from"./vendor-vue-reactivity-CheHbvBM.js";import{a as V,t as D}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-heading-checkbox-and-description ccb-checkbox-grid"},T=["for"],w={class:"ccb-checkbox-label"},y={class:"label"},A=["innerHTML"],F=["id","name","value"],I=g({__name:"BoxWithHeadingCheckboxAndDescription",props:{field:{},values:{}},emits:["update"],setup(_,{emit:h}){const b=h,p=_,{field:d}=H(p),{optionValues:s,changeValue:m,getName:i}=x(p,b),u=v(()=>Math.random().toString(36).substring(2,15));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+"_"+u.value,class:V({"ccb-option-disabled":e(d).disableOptions.includes(a)})},[o("span",w,[o("span",y,D(n.optionText),1),o("span",{class:"description",innerHTML:n.optionHint},null,8,A)]),B(o("input",{type:"checkbox",id:e(i)+"_"+a+"_"+u.value,name:e(i),value:n.optionValue,"onUpdate:modelValue":t[0]||(t[0]=r=>M(s)?s.value=r:null),onChange:t[1]||(t[1]=(...r)=>e(m)&&e(m)(...r))},null,40,F),[[f,e(s)]])],10,T))),256))]))}}),X=L(I,[["__scopeId","data-v-6218c7eb"]]);export{X as default};
//# sourceMappingURL=BoxWithHeadingCheckboxAndDescription-CZtRy3pI.js.map
