import{b as a}from"./settings.consts-BmuAyinH.js";import{T as u}from"./Toggle-BcLdQVXd.js";import"./vendor-vueform-slider-CCH9_7pb.js";import{u as c}from"./OrderForm-fKMspevZ.js";import{T as b}from"./Tab-goXNMqq_.js";import{O as f}from"./field-settings.constants-BwuDQrPV.js";import{d as h,f as g,i as V,x as r,j as o}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"},C={class:"ccb-field-sidebar__body"},F={class:"ccb-field-sidebar__item"},T={class:"ccb-field-sidebar__item"},E={class:"ccb-field-sidebar__item"},O={class:"ccb-field-sidebar__item"},x={class:"ccb-field-sidebar__item"},re=h({__name:"OrderFormTextarea",setup(A){const{stringAttribute:d,numberAttribute:s,booleanAttribute:n,updateAttribute:l,fieldWidth:p,updateFieldWidth:_}=c();return(B,i)=>(V(),g("div",v,[r("div",C,[r("div",F,[o(e(u),{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"])]),r("div",T,[o(e(a),{label:"Label",placeholder:"Enter label",modelValue:e(d)("label"),onChange:i[1]||(i[1]=(m,t)=>e(l)("label",String(t||"")))},null,8,["modelValue"])]),r("div",E,[o(e(a),{label:"Placeholder",placeholder:"Enter placeholder",modelValue:e(d)("placeholder"),onChange:i[2]||(i[2]=(m,t)=>e(l)("placeholder",String(t||"")))},null,8,["modelValue"])]),r("div",O,[o(e(a),{label:"Character Limit",placeholder:"400",modelValue:e(s)("character_limit"),onChange:i[3]||(i[3]=(m,t)=>e(l)("character_limit",Number(t||0)))},null,8,["modelValue"])]),r("div",x,[o(b,{items:e(f),modelValue:e(p),onChange:i[4]||(i[4]=(m,t)=>e(_)(t))},null,8,["items","modelValue"])])])]))}});export{re as default};
//# sourceMappingURL=OrderFormTextarea-CjK8mIf5.js.map
