import{u as v}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as C}from"./useMultiOptionChildShared-CiaLWBcL.js";import{p as y}from"./placeholder-JM22f3fS.js";import{u as I}from"./useAppearanceTypography-BBl5RU11.js";import{d as S,e as V,f as a,i,F as m,r as B,t as F,x as o}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as e,t as N}from"./vendor-vue-reactivity-CheHbvBM.js";import{a as z,b as A,t as M}from"./vendor-vue-shared-DrzsEcag.js";import{_ as O}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 T={class:"ccb-default-image-checkbox-withicon ccb-image-checkbox-grid"},W=["for"],w={class:"ccb-checkbox-image__box"},D=["src"],E={class:"ccb-checkbox-image__info"},L={class:"ccb-checkbox-image__title-box"},R={class:"ccb-checkbox-image__label"},j={class:"ccb-checkbox-image__item"},q=["id","name","value","checked"],G=["id"],H=S({__name:"WithIcon",props:{field:{},values:{}},emits:["update"],setup(_,{emit:d}){v(x=>({"91b93b7e":e(b),bf3e383c:e(p),"3e7ef6de":e(u),"2f6b5604":e(h),f256e48c:e(f)}));const{borderColor:p,formFieldsColor:u,textColor:b,accentColor:h,accentColorAlpha:f}=I(),g=d,r=_,{field:l}=N(r),n=V(()=>Math.random().toString(36).substring(2,15)),{getName:s,getImageStyles:k}=C(r,g);return(x,J)=>(i(),a("div",T,[(i(!0),a(m,null,B(e(l).options,(c,t)=>(i(),a(m,null,[c.optionText?(i(),a("label",{key:0,for:e(s)+"_"+t+"_"+n.value,class:z(["ccb-checkbox-image",{selected:t===0,"ccb-option-disabled":e(l).disableOptions.includes(t)}])},[o("div",w,[o("img",{src:c.icon||e(y),alt:"field-img",style:A(e(k))},null,12,D)]),o("div",E,[o("div",L,[o("span",R,M(c.optionText),1)])]),o("div",j,[o("input",{type:"checkbox",id:e(s)+"_"+t+"_"+n.value,name:e(s),value:c.optionValue,checked:t===0},null,8,q),o("label",{id:e(s)+"_"+t},null,8,G)])],10,W)):F("",!0)],64))),256))]))}}),me=O(H,[["__scopeId","data-v-9faf721c"]]);export{me as default};
//# sourceMappingURL=WithIcon-p8ZOWzlk.js.map
