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