import{az as e,aw as l,aA as a,e as t,aD as m}from"./vendor-element-plus.js?ver=3.1.0";import{V as o}from"./_VerifiedEmailInput.js?ver=3.1.0";import{r as i,c as s,o as d,d as r,L as _,w as n,O as u,P as p,b as f}from"./vendor.js?ver=3.1.0";import{_ as v}from"./fc-bits-ui.js?ver=3.1.0";const c={key:0,class:"fcrm_highlight_gray fc_t_10"},g={style:{margin:"0",padding:"0","font-size":"10px"}};const V=v({name:"MailerSettings",components:{VerifiedEmailInput:o},props:{mailer_settings:{type:Object,default:()=>({from_name:"",from_email:"",reply_to_name:"",reply_to_email:"",is_custom:"no"})}},mounted(){}},[["render",function(o,v,V,y,b,h){const $=e,E=l,j=t,F=a,N=i("verified-email-input"),U=m;return d(),s("div",null,[r(E,null,{default:n(()=>[r($,{"true-value":"yes","false-value":"no",modelValue:V.mailer_settings.is_custom,"onUpdate:modelValue":v[0]||(v[0]=e=>V.mailer_settings.is_custom=e)},{default:n(()=>[u(p(o.$t("Vie_Set_CFNaE")),1)],void 0,!0),_:1},8,["modelValue"])],void 0),_:1}),"yes"==V.mailer_settings.is_custom?(d(),s("div",c,[r(U,{gutter:20},{default:n(()=>[r(F,{md:12,sm:24},{default:n(()=>[r(E,{label:o.$t("From Name")},{default:n(()=>[r(j,{placeholder:o.$t("From Name"),modelValue:V.mailer_settings.from_name,"onUpdate:modelValue":v[1]||(v[1]=e=>V.mailer_settings.from_name=e)},null,8,["placeholder","modelValue"])],void 0,!0),_:1},8,["label"])],void 0,!0),_:1}),r(F,{md:12,sm:24},{default:n(()=>[r(E,{label:o.$t("From Email")},{default:n(()=>[r(N,{modelValue:V.mailer_settings.from_email,"onUpdate:modelValue":v[2]||(v[2]=e=>V.mailer_settings.from_email=e),field:{placeholder:o.$t("From Email"),"data-type":"email"}},null,8,["modelValue","field"]),f("p",g,p(o.$t("Vie_Please_msteisbyS")),1)],void 0,!0),_:1},8,["label"])],void 0,!0),_:1})],void 0),_:1}),r(U,{gutter:20},{default:n(()=>[r(F,{md:12,sm:24},{default:n(()=>[r(E,{label:o.$t("Reply To Name")},{default:n(()=>[r(j,{placeholder:o.$t("Reply To Name"),modelValue:V.mailer_settings.reply_to_name,"onUpdate:modelValue":v[3]||(v[3]=e=>V.mailer_settings.reply_to_name=e)},null,8,["placeholder","modelValue"])],void 0,!0),_:1},8,["label"])],void 0,!0),_:1}),r(F,{md:12,sm:24},{default:n(()=>[r(E,{label:o.$t("Reply To Email")},{default:n(()=>[r(j,{placeholder:o.$t("Reply To Email"),modelValue:V.mailer_settings.reply_to_email,"onUpdate:modelValue":v[4]||(v[4]=e=>V.mailer_settings.reply_to_email=e)},null,8,["placeholder","modelValue"])],void 0,!0),_:1},8,["label"])],void 0,!0),_:1})],void 0),_:1})])):_("",!0)])}]]);export{V as M};
