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