import{b as s}from"./settings.consts-BmuAyinH.js";import{T as _}from"./Toggle-BcLdQVXd.js";import"./vendor-vueform-slider-CCH9_7pb.js";import{u as c}from"./OrderForm-fKMspevZ.js";import{T as u}from"./Tab-goXNMqq_.js";import{O as b}from"./field-settings.constants-BwuDQrPV.js";import{d as f,f as h,i as g,x as i,j as r}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as e}from"./vendor-vue-reactivity-CheHbvBM.js";import{_ as V}from"./vendor-vue3-html2pdf-KR020wX8.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"./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                */import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";const v={class:"ccb-order-form-field-editor"},F={class:"ccb-field-sidebar__body"},O={class:"ccb-field-sidebar__item"},C={class:"ccb-field-sidebar__item"},E={class:"ccb-field-sidebar__item"},T={class:"ccb-field-sidebar__item"},x=f({__name:"OrderFormName",setup(B){const{stringAttribute:m,booleanAttribute:a,updateAttribute:l,fieldWidth:p,updateFieldWidth:n}=c();return(N,o)=>(g(),h("div",v,[i("div",F,[i("div",O,[r(e(_),{label:"Make this field required",modelValue:e(a)("required"),onChange:o[0]||(o[0]=(d,t)=>e(l)("required",t?"1":"0")),size:"m",weight:"medium"},null,8,["modelValue"])]),i("div",C,[r(e(s),{label:"Label",placeholder:"Enter label",modelValue:e(m)("label"),onChange:o[1]||(o[1]=(d,t)=>e(l)("label",String(t||"")))},null,8,["modelValue"])]),i("div",E,[r(e(s),{label:"Placeholder",placeholder:"Enter placeholder",modelValue:e(m)("placeholder"),onChange:o[2]||(o[2]=(d,t)=>e(l)("placeholder",String(t||"")))},null,8,["modelValue"])]),i("div",T,[r(u,{items:e(b),modelValue:e(p),title:"Width (columns)",onChange:o[3]||(o[3]=(d,t)=>e(n)(t))},null,8,["items","modelValue"])])])]))}}),ie=V(x,[["__scopeId","data-v-d82661b9"]]);export{ie as default};
//# sourceMappingURL=OrderFormName-BUM7L6CJ.js.map
