import{b as c}from"./settings.consts-C6F6lZ8o.js";import{T as V}from"./Toggle-CJkQhFp2.js";import{_ as g}from"./Dropdown.vue_vue_type_script_setup_true_lang-DIVo72j0.js";import"./vendor-vueform-slider-CCH9_7pb.js";import{u as O}from"./OrderForm--Em8u8hn.js";import{O as h}from"./OrderFormOptionsEditor-DqGOht0q.js";import{T as m}from"./Tab-CaYIC5iw.js";import{O as v,b as F}from"./field-settings.constants-BwuDQrPV.js";import{d as E,f as R,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-BM775jCq.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-DMeQTXRR.js";import"./EmbedPopup-BUj0yGgY.js";import"./useAppearanceStore-IzenP-G4.js";import"./vendor-vue-flow-CRbOssRZ.js";import"./Badge.vue_vue_type_script_setup_true_lang-D3oqtQF2.js";import"./ThemeToggle-a3yohy6x.js";/* empty css                */const C={class:"ccb-order-form-field-editor"},D={class:"ccb-field-sidebar__body"},S={class:"ccb-field-sidebar__item"},T={class:"ccb-field-sidebar__item"},x={class:"ccb-field-sidebar__item"},y={class:"ccb-field-sidebar__item"},L={class:"ccb-field-sidebar__item"},k={class:"ccb-field-sidebar__item"},pe=E({__name:"OrderFormRadio",setup(q){const{stringAttribute:d,booleanAttribute:a,updateAttribute:s,fieldWidth:n,updateFieldWidth:_,fieldBoxStyle:p,optionItems:u,defaultValue:f,updateDefaultValue:b}=O();return(A,i)=>(B(),R("div",C,[o("div",D,[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",y,[r(e(g),{label:"Default Value",items:e(u),modelValue:e(f),onChange:i[2]||(i[2]=(l,t)=>e(b)(t))},null,8,["items","modelValue"])]),o("div",L,[r(m,{items:e(v),modelValue:e(n),onChange:i[3]||(i[3]=(l,t)=>e(_)(t))},null,8,["items","modelValue"])]),o("div",k,[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=OrderFormRadio-BPhuEbi7.js.map
