import{a as f,C as h,m as i,g as c,F as x,H as v,I as g,u as e,M as k,p as u,$ as C,Z as B,D as V}from"./convert-case-to-camel-case.utils-DDUpNI96.js";import{u as D}from"./useMultiOptionChildShared-DVKrDZdt.js";import{_ as M}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./color-filter.utils-DukMf1cu.js";import"./widget-BUAABBRb.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./translationsStore-DBJu9sBR.js";const y={class:"ccb-box-checkbox ccb-checkbox-grid"},F=["for"],I=["id","name","value"],N={class:"ccb-checkbox-label"},O=f({__name:"Box",props:{field:{},values:{}},emits:["update"],setup(d,{emit:_}){const b=_,l=d,{field:r}=h(l),{optionValues:s,changeValue:p,getName:t}=D(l,b);return(R,o)=>(c(),i("div",y,[(c(!0),i(x,null,v(e(r).options,(m,a)=>(c(),i("label",{for:e(t)+"_"+a,class:g({"ccb-option-disabled":e(r).disableOptions.includes(a)})},[k(u("input",{type:"checkbox",id:e(t)+"_"+a,name:e(t),value:m.optionValue,"onUpdate:modelValue":o[0]||(o[0]=n=>B(s)?s.value=n:null),onChange:o[1]||(o[1]=(...n)=>e(p)&&e(p)(...n))},null,40,I),[[C,e(s)]]),u("span",N,V(m.optionText),1)],10,F))),256))]))}}),Z=M(O,[["__scopeId","data-v-acc1573b"]]);export{Z as default};
//# sourceMappingURL=Box-CXiFXvTn.js.map
