import{u as k}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as v}from"./useMultiOptionChildShared-CiaLWBcL.js";import{u as g}from"./useAppearanceTypography-BBl5RU11.js";import{d as B,e as V,f as t,i as s,F as l,r as y,t as F,x as m}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as e,t as N}from"./vendor-vue-reactivity-CheHbvBM.js";import{a as S,t as A}from"./vendor-vue-shared-DrzsEcag.js";import{_ as I}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./color-filter.utils-DukMf1cu.js";import"./appearanceStore-Cp-euDX2.js";import"./vendor-pinia-BSPefQhS.js";import"./useAppearanceStore-IzenP-G4.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.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 M={class:"ccb-box-with-checkbox"},O=["for"],T=["id","name","value","checked"],W={class:"ccb-checkbox-label"},w=B({__name:"BoxWithCheckbox",props:{field:{},values:{}},emits:["update"],setup(p,{emit:u}){k(C=>({b80327c8:e(f),"533503a8":e(_),"7abe3a06":e(d),"45cec77f":e(b),"51ab551f":e(h)}));const{borderColor:d,formFieldsColor:_,textColor:f,accentColor:h,accentColorAlpha:b}=g(),x=u,c=p,{field:i}=N(c),n=V(()=>Math.random().toString(36).substring(2,15)),{getName:r}=v(c,x);return(C,z)=>(s(),t("div",M,[(s(!0),t(l,null,y(e(i).options,(a,o)=>(s(),t(l,null,[a.optionText?(s(),t("label",{key:0,for:e(r)+"_"+o+"_"+n.value,class:S({"ccb-option-disabled":e(i).disableOptions.includes(o)})},[m("input",{type:"checkbox",id:e(r)+"_"+o+"_"+n.value,name:e(r),value:a.optionValue,checked:o===0},null,8,T),m("span",W,A(a.optionText),1)],10,O)):F("",!0)],64))),256))]))}}),ee=I(w,[["__scopeId","data-v-f03d538c"]]);export{ee as default};
//# sourceMappingURL=BoxWithCheckbox-CIKDiXjs.js.map
