import{b as s}from"./settings.consts-BmuAyinH.js";import{T as u}from"./Toggle-BcLdQVXd.js";import"./vendor-vueform-slider-CCH9_7pb.js";import{u as _}from"./OrderForm-fKMspevZ.js";import{T as c}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 t,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 V={class:"ccb-order-form-field-editor"},v={class:"ccb-field-sidebar__body"},F={class:"ccb-field-sidebar__item"},C={class:"ccb-field-sidebar__item"},E={class:"ccb-field-sidebar__item"},O={class:"ccb-field-sidebar__item"},oe=f({__name:"OrderFormNumber",setup(T){const{stringAttribute:d,booleanAttribute:a,updateAttribute:l,fieldWidth:p,updateFieldWidth:n}=_();return(B,o)=>(g(),h("div",V,[t("div",v,[t("div",F,[r(e(u),{label:"Make this field required",modelValue:e(a)("required"),onChange:o[0]||(o[0]=(m,i)=>e(l)("required",i?"1":"0")),size:"m",weight:"medium"},null,8,["modelValue"])]),t("div",C,[r(e(s),{label:"Label",placeholder:"Enter label",modelValue:e(d)("label"),onChange:o[1]||(o[1]=(m,i)=>e(l)("label",String(i||"")))},null,8,["modelValue"])]),t("div",E,[r(e(s),{label:"Placeholder",placeholder:"Enter placeholder",modelValue:e(d)("placeholder"),onChange:o[2]||(o[2]=(m,i)=>e(l)("placeholder",String(i||"")))},null,8,["modelValue"])]),t("div",O,[r(c,{items:e(b),modelValue:e(p),title:"Width (columns)",onChange:o[3]||(o[3]=(m,i)=>e(n)(i))},null,8,["items","modelValue"])])])]))}});export{oe as default};
//# sourceMappingURL=OrderFormNumber-fkvk37gX.js.map
