import{a as g,C as h,m as o,g as a,F as v,H as C,I as H,u as e,M as V,p as r,q as x,ac as D,Z as M,D as N,n as k,w}from"./convert-case-to-camel-case.utils-DDUpNI96.js";import{u as y}from"./useSingleOptionChildShared-BHJplqM1.js";import{H as B}from"./Hint-BAiZXDnr.js";import{_ as L}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 R={class:"ccb-default-radio ccb-radio-grid"},S=["name","value"],T={class:"ccb-radio-label"},F={key:0,class:"ccb-toggle-item__postfix"},I=["innerHTML"],O=g({__name:"Default",props:{options:{},alias:{},current:{},repeater:{},field:{}},emits:["update"],setup(p,{emit:d}){const m=d,l=p,{options:u,field:_}=h(l),{optionValues:n,changeValue:c,getName:f}=y(l,m);return(q,t)=>(a(),o("div",R,[(a(!0),o(v,null,C(e(u),(s,b)=>(a(),o("label",{class:H({"ccb-option-disabled":e(_).disableOptions.includes(b)})},[V(r("input",{type:"radio",name:e(f),value:s.optionValue,"onUpdate:modelValue":t[0]||(t[0]=i=>M(n)?n.value=i:null),onChange:t[1]||(t[1]=(...i)=>e(c)&&e(c)(...i))},null,40,S),[[D,e(n)]]),r("span",T,N(s.optionText),1),s.optionHint?(a(),o("div",F,[k(e(B),null,{content:w(()=>[r("span",{innerHTML:s.optionHint},null,8,I)]),_:2},1024)])):x("",!0)],2))),256))]))}}),P=L(O,[["__scopeId","data-v-dcb03188"]]);export{P as default};
//# sourceMappingURL=Default-B-jIDLdc.js.map
