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