import{b as n}from"./settings.consts-BmuAyinH.js";import{T as a}from"./Toggle-BcLdQVXd.js";import"./vendor-vueform-slider-CCH9_7pb.js";import{u as _}from"./OrderForm-fKMspevZ.js";import{T as b}from"./Tab-goXNMqq_.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-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"},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-CzHIxvlK.js.map
