const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor-vue3-html2pdf-DBfPfU4j.css","./Hint-BAxc7GHP.css","./Default-BuKaD1el.css","./Box-Bv1675MU.css","./BoxRadio-WnhaawwQ.css"])))=>i.map(i=>d[i]);
import{_ as n}from"./convert-case-to-camel-case.utils-CK5dBN7n.js";import{u as D}from"./appearanceStore-Cp-euDX2.js";import{u as E}from"./useSingleOptionFieldShared-BwGNj4hC.js";import{_ as R}from"./RequiredHint.vue_vue_type_style_index_0_lang-DGTCbwUk.js";import{d as g,e as b,$ as l,f as r,i,x as d,t as s,k as v,z as P,v as S}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as q,u as e}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as p,a as I}from"./vendor-vue-shared-DrzsEcag.js";import{_ as T}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./vendor-pinia-BSPefQhS.js";import"./fieldsStore-CNpVuoPu.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-Bkj6mcUr.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-html2canvas-BfYXEYrK.js";import"./vendor-vue-runtime-dom-B2rky8vu.js";const B={class:"ccb-field__label"},O={class:"ccb-field__title"},L={key:0,class:"ccb-field-required-mark"},N={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"},U={key:0,class:"ccb-field__description"},F=g({__name:"Radio",props:{field:{}},setup(y){const _=y,{field:t}=q(_),m=D(),{selectValue:k,fieldValue:h,isRequired:u,getKey:x,requiredWarningText:C}=E(_),V=b(()=>{var c,a;const o=((a=(c=t.value)==null?void 0:c.styles)==null?void 0:a.style)||"default";return o==="default"?l(()=>n(()=>import("./Default-BgBKrF1n.js"),__vite__mapDeps([0,1,2]),import.meta.url)):o==="box"?l(()=>n(()=>import("./Box-CI5BnijE.js"),__vite__mapDeps([0,3]),import.meta.url)):o==="box-with-radio"?l(()=>n(()=>import("./BoxRadio-D6UsxITQ.js"),__vite__mapDeps([0,4]),import.meta.url)):""}),A=b(()=>{var o;return((o=t.value)==null?void 0:o.additionalStyles)||""});return(o,c)=>{var a,f;return i(),r("div",{class:I(["ccb-field ccb-radio-field",{required:e(u),"ccb-field-disabled":e(t).disabled,[A.value]:!0,[`ccb-field-element-columns-${(a=e(t).styles)==null?void 0:a.elementColumns}`]:(f=e(t).styles)==null?void 0:f.elementColumns}])},[d("div",B,[e(u)?(i(),v(R,{key:0,text:e(C)},null,8,["text"])):s("",!0),d("div",O,[P(p(e(t).label),1),e(t).required?(i(),r("span",L,"*")):s("",!0)])]),e(m).getAppearanceDescriptionPosition==="before"?(i(),r("div",N,[e(t).description?(i(),r("div",$,p(e(t).description),1)):s("",!0)])):s("",!0),d("div",w,[(i(),v(S(V.value),{key:e(x),alias:e(t).alias,options:e(t).options,current:e(h),onUpdate:e(k),repeater:e(t).repeaterIdx,field:e(t)},null,40,["alias","options","current","onUpdate","repeater","field"]))]),e(m).getAppearanceDescriptionPosition==="after"?(i(),r("div",z,[e(t).description?(i(),r("div",U,p(e(t).description),1)):s("",!0)])):s("",!0)],2)}}}),pe=T(F,[["__scopeId","data-v-87c66e11"]]);export{pe as default};
//# sourceMappingURL=index-DuUayTwD.js.map
