import{a as g,C as v,m as t,g as i,F as x,H as h,I as B,u as e,M as C,p,ac as V,Z as D,D as R}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 y={class:"ccb-box-radio ccb-radio-grid"},F=["name","value"],I={class:"ccb-radio-label"},M=g({__name:"Box",props:{options:{},alias:{},current:{},repeater:{},field:{}},emits:["update"],setup(c,{emit:d}){const m=d,n=c,{options:u,field:_}=v(n),{optionValues:a,changeValue:r,getName:b}=S(n,m);return(N,o)=>(i(),t("div",y,[(i(!0),t(x,null,h(e(u),(l,f)=>(i(),t("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]=s=>D(a)?a.value=s:null),onChange:o[1]||(o[1]=(...s)=>e(r)&&e(r)(...s))},null,40,F),[[V,e(a)]]),p("span",I,R(l.optionText),1)],2))),256))]))}}),Z=k(M,[["__scopeId","data-v-c996420b"]]);export{Z as default};
//# sourceMappingURL=Box-BqDPgYwx.js.map
