const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor-vue3-html2pdf-DBfPfU4j.css","./Default-DFFV5dUV.css","./WithIcon-DfgZNe1s.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{u as A}from"./useMultiOptionsFieldShared-Ma2tkgMo.js";import{_ as D}from"./ProBadge.vue_vue_type_style_index_0_lang-DqDXUf8-.js";import{_ as q}from"./RequiredHint.vue_vue_type_style_index_0_lang-DGTCbwUk.js";import{d as E,e as f,$ as b,f as o,i as s,x as n,t as r,k as v,z as P,j as S,v as B}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as N,u as e}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as l,a as R}from"./vendor-vue-shared-DrzsEcag.js";import"./vendor-pinia-BSPefQhS.js";import"./fieldsStore-CQRN0FvQ.js";import"./settingsStore-8bwiLMEn.js";import"./appStore-CFAkQG2b.js";import"./translationsStore-D6vLzgNA.js";import"./vendor-moment-Cv92BTSA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-php-date-formatter-DSpPwBF8.js";import"./callbackStore-BhxBUA6V.js";import"./pageBreakerStore-BevSHYnU.js";const T={class:"ccb-field__label"},$={class:"ccb-field__title"},I={key:0,class:"ccb-field-required-mark"},O={key:0,class:"ccb-field__descriptions ccb-before"},w={key:0,class:"ccb-field__description"},z={class:"ccb-field__input-wrapper"},L={key:1,class:"ccb-field__descriptions ccb-after"},U={key:0,class:"ccb-field__description"},ce=E({__name:"ImageCheckbox",props:{field:{}},setup(y){const d=y,{field:t}=N(d),p=V(),{applyChanges:h,isRequired:m,fieldValue:k,requiredWarningText:C}=A(d),x=f(()=>{var c,a;const i=((a=(c=t.value)==null?void 0:c.styles)==null?void 0:a.style)||"default";return i==="default"?b(()=>u(()=>import("./Default-C4KnAzJN.js"),__vite__mapDeps([0,1]),import.meta.url)):i==="with-icon"?b(()=>u(()=>import("./WithIcon-CjvynzQz.js"),__vite__mapDeps([0,2]),import.meta.url)):""}),g=f(()=>{var i;return((i=t.value)==null?void 0:i.additionalStyles)||""});return(i,c)=>{var a,_;return s(),o("div",{class:R(["ccb-field ccb-image-checkbox-field",{required:e(m),"ccb-field-disabled":e(t).disabled,[g.value]:!0,[`ccb-field-element-columns-${(a=e(t).styles)==null?void 0:a.elementColumns}`]:(_=e(t).styles)==null?void 0:_.elementColumns}])},[n("div",T,[e(m)?(s(),v(q,{key:0,text:e(C)},null,8,["text"])):r("",!0),n("div",$,[P(l(e(t).label),1),e(t).required?(s(),o("span",I,"*")):r("",!0),S(D)])]),e(p).getAppearanceDescriptionPosition==="before"?(s(),o("div",O,[e(t).description?(s(),o("div",w,l(e(t).description),1)):r("",!0)])):r("",!0),n("div",z,[(s(),v(B(x.value),{values:e(k),onUpdate:e(h),field:e(t)},null,40,["values","onUpdate","field"]))]),e(p).getAppearanceDescriptionPosition==="after"?(s(),o("div",L,[e(t).description?(s(),o("div",U,l(e(t).description),1)):r("",!0)])):r("",!0)],2)}}});export{ce as default};
//# sourceMappingURL=index-TsNq6Jhg.js.map
