import{bE as v,U as _,l as m,az as h,X as x,Y as e,B as a,y as r,F as u,a3 as t,bL as y,bM as i}from"./index.69621fe4.js";import{Q as V}from"./QEditor.4bcec48e.js";import{_ as w}from"./SelectedEmail.9f697e2d.js";import"./emoji.fc152414.js";const k={class:""},q={class:"flex items-center"},B=e("img",{class:"h-10 w-10 rounded-full mr-4",src:"https://via.placeholder.com/150",alt:"Avatar of John Doe"},null,-1),E={class:"text-lg font-bold mb-2"},Q={class:"text-sm"},U={class:"flex items-center"},$=e("i",{class:"fas fa-reply"},null,-1),j=[$],z=e("i",{class:"fas fa-dots"},null,-1),A=[z],C={class:"flex flex-row mt-4 space-x-1"},D=e("img",{class:"mt-6 h-10 w-10 rounded-full mr-4",src:"https://via.placeholder.com/150",alt:"Avatar of John Doe"},null,-1),M={class:"q-gutter-sm q-mb-md flex"},H={__name:"gmailPage",setup(F){const f=v(),l=_(()=>f.dark.isActive),d={assunto:"Hello World",from:"john.doe@example.com",messages:[{id:1,texto:"Mensagem de teste",from:"teste@gmail.com"}]},c=m([]),n=m(!0),p=m(""),b=()=>{n.value=!0};return(g,s)=>(h(),x("div",k,[e("div",{class:a(["p-6",r(l)?"bg-dark text-white":"bg-white text-gray-800"])},[e("div",{class:a(["flex justify-between items-center border-b-2 pb-4 mb-4",r(l)?"border-gray-600":"border-gray-200"])},[e("div",q,[B,e("div",null,[e("h2",E,u(d.subject),1),e("p",Q,"From: "+u(d.sender),1)])]),e("div",U,[e("button",{class:a(["mr-2",r(l)?"text-gray-400 hover:text-gray-300":"text-gray-500 hover:text-gray-700 "])},j,2),e("button",{class:a(r(l)?"text-gray-400 hover:text-gray-300":"text-gray-500 hover:text-gray-700 ")},A,2)])],2),e("div",null,[e("p",null,u(d.body),1)]),e("div",C,[D,e("div",{class:a(["flex-1 mt-4 p-6 rounded-3xl",r(l)?"border-t border-gray-600":"border-t border-gray-200 shadow-lg"])},[e("div",M,[t(y,{class:"flex-1",label:g.$t("para"),modelValue:c.value,"onUpdate:modelValue":s[0]||(s[0]=o=>c.value=o),"use-input":"","use-chips":"",multiple:"","hide-dropdown-icon":"","input-debounce":"0","new-value-mode":"add-unique"},null,8,["label","modelValue"]),t(i,{size:"sm",flat:"",dense:"",round:"",icon:"delete",onClick:b})]),t(V,{modelValue:p.value,"onUpdate:modelValue":s[1]||(s[1]=o=>p.value=o),class:"q-mb-sm",flat:""},null,8,["modelValue"]),t(i,{rounded:"",color:"primary",class:a(["text-white",r(l)?"bg-blue-4":""]),label:"Enviar",onClick:s[2]||(s[2]=o=>n.value=!0)},null,8,["class"]),t(i,{icon:"insert_emoticon",flat:"",round:"",dense:"",class:"q-ml-sm"}),t(i,{icon:"attach_file",flat:"",round:"",dense:"",class:"q-ml-sm"})],2)])],2),t(w,{selectedEmail:d,modelValue:n.value,"onUpdate:modelValue":s[3]||(s[3]=o=>n.value=o),messages:d.messages},null,8,["modelValue","messages"])]))}};export{H as default};
