import{b as c}from"./settings.consts-BmuAyinH.js";import{T as V}from"./Toggle-BcLdQVXd.js";import{_ as g}from"./MultiSelect.vue_vue_type_script_setup_true_lang-DYhaIBB7.js";import"./vendor-vueform-slider-CCH9_7pb.js";import{u as O}from"./OrderForm-fKMspevZ.js";import{O as h}from"./OrderFormOptionsEditor-C32wBz6h.js";import{T as m}from"./Tab-goXNMqq_.js";import{O as v,b as F}from"./field-settings.constants-BwuDQrPV.js";import{d as C,f as E,i as B,x as o,j as r}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as e}from"./vendor-vue-reactivity-CheHbvBM.js";import"./admin-8MB3iCV_.js";import"./vendor-vue-runtime-dom-B2rky8vu.js";import"./vendor-vue-shared-DrzsEcag.js";import"./convert-case-to-camel-case.utils-CK5dBN7n.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.js";/* empty css               */import"./vendor-vue3-html2pdf-KR020wX8.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";import"./SidebarCollapseToolbar-BCDtuoPm.js";import"./EmbedPopup-D-ZgVQoP.js";import"./useAppearanceStore-IzenP-G4.js";import"./vendor-vue-flow-CRbOssRZ.js";import"./Badge.vue_vue_type_script_setup_true_lang-CTWDxomc.js";import"./ThemeToggle--5IoyzR8.js";/* empty css                */const D={class:"ccb-order-form-field-editor"},R={class:"ccb-field-sidebar__body"},S={class:"ccb-field-sidebar__item"},T={class:"ccb-field-sidebar__item"},x={class:"ccb-field-sidebar__item"},L={class:"ccb-field-sidebar__item"},k={class:"ccb-field-sidebar__item"},y={class:"ccb-field-sidebar__item"},pe=C({__name:"OrderFormCheckbox",setup(q){const{stringAttribute:d,booleanAttribute:a,updateAttribute:s,fieldWidth:n,updateFieldWidth:_,fieldBoxStyle:p,optionItems:u,defaultValueList:b,updateDefaultValue:f}=O();return(A,i)=>(B(),E("div",D,[o("div",R,[o("div",S,[r(e(V),{label:"Make this field required",modelValue:e(a)("required"),onChange:i[0]||(i[0]=(l,t)=>e(s)("required",t?"1":"0")),size:"m",weight:"medium"},null,8,["modelValue"])]),o("div",T,[r(e(c),{label:"Label",placeholder:"Enter label",modelValue:e(d)("label"),onChange:i[1]||(i[1]=(l,t)=>e(s)("label",String(t||"")))},null,8,["modelValue"])]),o("div",x,[r(h)]),o("div",L,[r(e(g),{label:"Default Value",items:e(u),modelValue:e(b),onChange:i[2]||(i[2]=(l,t)=>e(f)(t))},null,8,["items","modelValue"])]),o("div",k,[r(m,{items:e(v),modelValue:e(n),onChange:i[3]||(i[3]=(l,t)=>e(_)(t))},null,8,["items","modelValue"])]),o("div",y,[r(m,{title:"Layout",items:e(F),modelValue:e(p),onChange:i[4]||(i[4]=(l,t)=>e(s)("display",String(t||"")))},null,8,["items","modelValue"])])])]))}});export{pe as default};
//# sourceMappingURL=OrderFormCheckbox-CFJ7TTNT.js.map
