const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor-vue3-toastify-DHXAGmwn.css","./vendor-vue3-html2pdf-DBfPfU4j.css","./Default-B7IXw0Dx.css","./WithIcon-CQNVsntZ.css"])))=>i.map(i=>d[i]);
import{_ as u}from"./convert-case-to-camel-case.utils-CK5dBN7n.js";import{u as V}from"./appearanceStore-Cp-euDX2.js";import{_ as x}from"./ProBadge.vue_vue_type_style_index_0_lang-DqDXUf8-.js";import{d as A,e as r,$ as p,f as i,i as s,x as a,t as o,z as g,j as q,k as E,v as P}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as S,u as t}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as l,a as B}from"./vendor-vue-shared-DrzsEcag.js";import"./vendor-pinia-BSPefQhS.js";import"./appStore-CFAkQG2b.js";const I={class:"ccb-field__label"},N={class:"ccb-field__title"},R={key:0,class:"ccb-field-required-mark"},O={key:0,class:"ccb-field__hidden"},T={key:0,class:"ccb-field__descriptions ccb-before"},$={key:0,class:"ccb-field__description"},w={class:"ccb-field__input-wrapper"},z={key:1,class:"ccb-field__descriptions ccb-after"},L={key:0,class:"ccb-field__description"},Q=A({__name:"ImageCheckbox",props:{field:{}},setup(m){const f=p(()=>u(()=>import("./Default-CMQIeVyB.js"),__vite__mapDeps([0,1,2]),import.meta.url)),b=p(()=>u(()=>import("./WithIcon-p8ZOWzlk.js"),__vite__mapDeps([0,1,3]),import.meta.url)),v=m,{field:e}=S(v),y=r(()=>e.value.selectedOption||[]),h=r(()=>e.value.required||!1),n=V(),k=r(()=>{var c;return(((c=e.value.styles)==null?void 0:c.style)||"default")==="with-icon"?b:f}),C=r(()=>e.value.additionalStyles||"");return(D,c)=>{var d,_;return s(),i("div",{class:B(["ccb-field ccb-image-checkbox-field",{required:h.value,"ccb-field-disabled":t(e).disabled,[C.value]:!0,[`ccb-field-element-columns-${(d=t(e).styles)==null?void 0:d.elementColumns}`]:(_=t(e).styles)==null?void 0:_.elementColumns}])},[a("div",I,[a("div",N,[g(l(t(e).label),1),t(e).required?(s(),i("span",R,"*")):o("",!0),q(x)]),t(e).hidden?(s(),i("div",O,c[0]||(c[0]=[a("i",{class:"ccb-icon-ic_eye_crossed"},null,-1)]))):o("",!0)]),t(n).getAppearanceDescriptionPosition==="before"?(s(),i("div",T,[t(e).description?(s(),i("div",$,l(t(e).description),1)):o("",!0)])):o("",!0),a("div",w,[(s(),E(P(k.value),{values:y.value,field:t(e)},null,8,["values","field"]))]),t(n).getAppearanceDescriptionPosition==="after"?(s(),i("div",z,[t(e).description?(s(),i("div",L,l(t(e).description),1)):o("",!0)])):o("",!0)],2)}}});export{Q as default};
//# sourceMappingURL=ImageCheckbox-Clv_nA_j.js.map
