import{h as g}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as h}from"./useSingleOptionChildShared-C5mC6TrZ.js";import{H as v}from"./Hint-CWcQ7Doh.js";import{d as x,f as s,i as a,F as V,r as C,B as H,x as r,t as B,j as D,m as N}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as k,u as t,i as y}from"./vendor-vue-reactivity-CheHbvBM.js";import{a as L,t as M}from"./vendor-vue-shared-DrzsEcag.js";import{_ as R}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./appearanceStore-Cp-euDX2.js";import"./vendor-pinia-BSPefQhS.js";import"./color-filter.utils-DukMf1cu.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";const S={class:"ccb-default-radio ccb-radio-grid"},T=["name","value"],w={class:"ccb-radio-label"},F={key:0,class:"ccb-toggle-item__postfix"},O=["innerHTML"],j=x({__name:"Default",props:{options:{},alias:{},current:{},repeater:{},field:{}},emits:["update"],setup(m,{emit:d}){const c=d,l=m,{options:u,field:f}=k(l),{optionValues:i,changeValue:p,getName:_}=h(l,c);return(z,e)=>(a(),s("div",S,[(a(!0),s(V,null,C(t(u),(o,b)=>(a(),s("label",{class:L({"ccb-option-disabled":t(f).disableOptions.includes(b)})},[H(r("input",{type:"radio",name:t(_),value:o.optionValue,"onUpdate:modelValue":e[0]||(e[0]=n=>y(i)?i.value=n:null),onChange:e[1]||(e[1]=(...n)=>t(p)&&t(p)(...n))},null,40,T),[[g,t(i)]]),r("span",w,M(o.optionText),1),o.optionHint?(a(),s("div",F,[D(t(v),null,{content:N(()=>[r("span",{innerHTML:o.optionHint},null,8,O)]),_:2},1024)])):B("",!0)],2))),256))]))}}),$=R(j,[["__scopeId","data-v-6521831f"]]);export{$ as default};
//# sourceMappingURL=Default-BgBKrF1n.js.map
