const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor-vue3-html2pdf-DBfPfU4j.css","./DefaultStyle-BOEujDN8.css","./WithIcon-CsCsbGy3.css"])))=>i.map(i=>d[i]);
import{_ as u}from"./convert-case-to-camel-case.utils-CK5dBN7n.js";import{u as I}from"./appearanceStore-Cp-euDX2.js";import{u as A}from"./useSingleOptionFieldShared-BVLBb8KI.js";import{_ as D}from"./ProBadge.vue_vue_type_style_index_0_lang-DqDXUf8-.js";import{_ as O}from"./RequiredHint.vue_vue_type_style_index_0_lang-DGTCbwUk.js";import{d as S,e as f,$ as b,f as s,i,x as n,t as r,k as v,z as q,j as w,v as E}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as P,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 B={class:"ccb-field__label"},N={class:"ccb-field__title"},T={key:0,class:"ccb-field-required-mark"},$={key:0,class:"ccb-field__descriptions ccb-before"},z={key:0,class:"ccb-field__description"},L={class:"ccb-field__input-wrapper"},U={key:1,class:"ccb-field__descriptions ccb-after"},j={key:0,class:"ccb-field__description"},ne=S({__name:"ImageRadio",props:{field:{}},setup(y){const d=y,{field:t}=P(d),p=I(),{selectValue:h,fieldValue:k,isRequired:m,getKey:V,requiredWarningText:C}=A(d),g=f(()=>{var c,a;const o=((a=(c=t.value)==null?void 0:c.styles)==null?void 0:a.style)||"default";return o==="default"?b(()=>u(()=>import("./DefaultStyle-CraMBgYo.js"),__vite__mapDeps([0,1]),import.meta.url)):o==="with-icon"?b(()=>u(()=>import("./WithIcon-DOqL-1tK.js"),__vite__mapDeps([0,2]),import.meta.url)):""}),x=f(()=>{var o;return((o=t.value)==null?void 0:o.additionalStyles)||""});return(o,c)=>{var a,_;return i(),s("div",{class:R(["ccb-field ccb-radio-img-field",{required:e(m),"ccb-field-disabled":e(t).disabled,[x.value]:!0,[`ccb-field-element-columns-${(a=e(t).styles)==null?void 0:a.elementColumns}`]:(_=e(t).styles)==null?void 0:_.elementColumns}])},[n("div",B,[e(m)?(i(),v(O,{key:0,text:e(C)},null,8,["text"])):r("",!0),n("div",N,[q(l(e(t).label),1),e(t).required?(i(),s("span",T,"*")):r("",!0),w(D)])]),e(p).getAppearanceDescriptionPosition==="before"?(i(),s("div",$,[e(t).description?(i(),s("div",z,l(e(t).description),1)):r("",!0)])):r("",!0),n("div",L,[(i(),v(E(g.value),{key:e(V),alias:e(t).alias,options:e(t).options,current:e(k),onUpdate:e(h),repeter:e(t).repeaterIdx,showValueInOption:e(t).showValueInOption,field:e(t)},null,40,["alias","options","current","onUpdate","repeter","showValueInOption","field"]))]),e(p).getAppearanceDescriptionPosition==="after"?(i(),s("div",U,[e(t).description?(i(),s("div",j,l(e(t).description),1)):r("",!0)])):r("",!0)],2)}}});export{ne as default};
//# sourceMappingURL=index-D64lmJPc.js.map
