import{e as h}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as v}from"./useMultiOptionChildShared-CiaLWBcL.js";import{H as g}from"./Hint-CWcQ7Doh.js";import{d as x,e as k,f as s,i as a,F as V,r as C,x as n,t as y,B as H,j as M,m as S}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as B,u as e,i as D}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as N,a as w}from"./vendor-vue-shared-DrzsEcag.js";import{_ as L}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./color-filter.utils-DukMf1cu.js";import"./appearanceStore-Cp-euDX2.js";import"./vendor-pinia-BSPefQhS.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 T={class:"ccb-default-checkbox ccb-checkbox-grid"},F=["for"],I=["id","name","value"],O={class:"ccb-checkbox-label"},R={key:0,class:"ccb-toggle-item__postfix"},j=["innerHTML"],z=x({__name:"DefaultStyle",props:{field:{},values:{}},emits:["update"],setup(_,{emit:f}){const b=f,p=_,{field:m}=B(p),u=k(()=>Math.random().toString(36).substring(2,15)),{optionValues:i,changeValue:d,getName:r}=v(p,b);return(E,o)=>(a(),s("div",T,[(a(!0),s(V,null,C(e(m).options,(t,l)=>(a(),s("div",{key:t.optionValue,class:"ccb-checkbox-wrapper"},[n("label",{for:e(r)+"_"+l+"_"+u.value,class:w({"ccb-option-disabled":e(m).disableOptions.includes(l)})},[H(n("input",{id:e(r)+"_"+l+"_"+u.value,"onUpdate:modelValue":o[0]||(o[0]=c=>D(i)?i.value=c:null),type:"checkbox",name:e(r),value:t.optionValue,onChange:o[1]||(o[1]=(...c)=>e(d)&&e(d)(...c))},null,40,I),[[h,e(i)]]),n("span",O,N(t.optionText),1)],10,F),t.optionHint?(a(),s("div",R,[M(e(g),null,{content:S(()=>[n("span",{innerHTML:t.optionHint},null,8,j)]),_:2},1024)])):y("",!0)]))),128))]))}}),te=L(z,[["__scopeId","data-v-b0bc8310"]]);export{te as default};
//# sourceMappingURL=DefaultStyle-C5jA-acw.js.map
