import{a as g,C as v,m as s,g as i,F as x,H as h,I as B,u as e,M as C,p,ac as R,Z as V,D}from"./convert-case-to-camel-case.utils-DDUpNI96.js";import{u as S}from"./useSingleOptionChildShared-BHJplqM1.js";import{_ as k}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./widget-BUAABBRb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./translationsStore-DBJu9sBR.js";import"./color-filter.utils-DukMf1cu.js";const w={class:"ccb-box-with-radio ccb-radio-grid"},y=["name","value"],F={class:"ccb-radio-label"},I=g({__name:"BoxRadio",props:{options:{},alias:{},current:{},repeater:{},field:{}},emits:["update"],setup(d,{emit:c}){const m=c,n=d,{options:u,field:_}=v(n),{optionValues:a,changeValue:r,getName:b}=S(n,m);return(M,o)=>(i(),s("div",w,[(i(!0),s(x,null,h(e(u),(l,f)=>(i(),s("label",{class:B(["ccb-radio-label",{"ccb-option-disabled":e(_).disableOptions.includes(f)}])},[C(p("input",{type:"radio",name:e(b),value:l.optionValue,"onUpdate:modelValue":o[0]||(o[0]=t=>V(a)?a.value=t:null),onChange:o[1]||(o[1]=(...t)=>e(r)&&e(r)(...t))},null,40,y),[[R,e(a)]]),p("span",F,D(l.optionText),1)],2))),256))]))}}),Z=k(I,[["__scopeId","data-v-25ac900b"]]);export{Z as default};
//# sourceMappingURL=BoxRadio-CxSf1v7C.js.map
