import{az as e,aw as l,aA as a,e as t,aD as m}from"./vendor-element-plus.js?ver=3.1.10";import{aQ as o,W as i,X as s,ab as d,a5 as r,a9 as _,aa as n,Z as u,a8 as p}from"./vendor.js?ver=3.1.10";import{V as f}from"./_VerifiedEmailInput.js?ver=3.1.10";import{_ as v}from"./fc-bits-ui.js?ver=3.1.10";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:f},props:{mailer_settings:{type:Object,default:()=>({from_name:"",from_email:"",reply_to_name:"",reply_to_email:"",is_custom:"no"})}},mounted(){}},[["render",function(f,v,V,y,b,h){const $=e,E=l,j=t,F=a,N=o("verified-email-input"),U=m;return i(),s("div",null,[d(E,null,{default:r(()=>[d($,{"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:r(()=>[_(n(f.$t("Vie_Set_CFNaE")),1)],void 0,!0),_:1},8,["modelValue"])],void 0),_:1}),"yes"==V.mailer_settings.is_custom?(i(),s("div",c,[d(U,{gutter:20},{default:r(()=>[d(F,{md:12,sm:24},{default:r(()=>[d(E,{label:f.$t("From Name")},{default:r(()=>[d(j,{placeholder:f.$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}),d(F,{md:12,sm:24},{default:r(()=>[d(E,{label:f.$t("From Email")},{default:r(()=>[d(N,{modelValue:V.mailer_settings.from_email,"onUpdate:modelValue":v[2]||(v[2]=e=>V.mailer_settings.from_email=e),field:{placeholder:f.$t("From Email"),"data-type":"email"}},null,8,["modelValue","field"]),u("p",g,n(f.$t("Vie_Please_msteisbyS")),1)],void 0,!0),_:1},8,["label"])],void 0,!0),_:1})],void 0),_:1}),d(U,{gutter:20},{default:r(()=>[d(F,{md:12,sm:24},{default:r(()=>[d(E,{label:f.$t("Reply To Name")},{default:r(()=>[d(j,{placeholder:f.$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}),d(F,{md:12,sm:24},{default:r(()=>[d(E,{label:f.$t("Reply To Email")},{default:r(()=>[d(j,{placeholder:f.$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})])):p("",!0)])}]]);export{V as M};
