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