import{_ as u}from"./settings.consts-BmuAyinH.js";import{d as h,f as b,i as f,x as c,j as x}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as k,u as e}from"./vendor-vue-reactivity-CheHbvBM.js";import{_ as V}from"./vendor-vue3-html2pdf-KR020wX8.js";const B={class:"ccb-toggle"},v={class:"ccb-toggle__item__label ccb-text-m"},w=["checked","disabled"],z=h({__name:"Toggle",props:{modelValue:{type:Boolean},label:{},disabled:{type:Boolean},name:{},size:{},weight:{}},emits:["change","update:modelValue"],setup(l,{emit:n}){const i=l,{label:d,modelValue:_,disabled:o,name:m,size:r,weight:p}=k(i),a=n;function g(s){if(o.value)return;const t=s.target;a("update:modelValue",t.checked),a("change",m.value||"",t.checked)}return(s,t)=>(f(),b("div",B,[c("label",v,[x(u,{text:e(d)||"",size:e(r)||"l",weight:e(p)||"bold"},null,8,["text","size","weight"]),c("input",{type:"checkbox",class:"ccb-toggle__item__input",checked:e(_),disabled:e(o),onChange:g},null,40,w)])]))}}),j=V(z,[["__scopeId","data-v-9b4409ed"]]);export{j as T};
//# sourceMappingURL=Toggle-BcLdQVXd.js.map
