import{ao as S,z as h,D as _,I as g,F as w,m as i,o as s,p as D,g as r,ai as I}from"./index-DpP8vbvu.js";import{u as k}from"./email-BqixZxSP.js";import{e as x}from"./index-v7AaNdhX.js";import{b as y,c as L}from"./email-CsVstZMr.js";import{s as C,a as b}from"./star-DxhhrwZA.js";import{I as l}from"./iconify-CxZjXnJf.js";import{_ as v}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./time-utils-B0cDvgwY.js";import"./index-BMdPKuCq.js";import"./vnode-DPqF99Zc.js";import"./event-BB_Ol6Sd.js";import"./index-D7KcZu8a.js";import"./position-5hNBDW7r.js";import"./throttle-BCwYugI2.js";import"./el-scrollbar-DIXSy-7M.js";import"./el-empty-BRrnteWe.js";import"./el-tooltip-l0sNRNKZ.js";import"./el-tag-CjAzCWMf.js";import"./index-dQfRzLGT.js";import"./el-checkbox-DjYzjb3f.js";import"./index-Bm-x70H-.js";import"./day-B6NtfdPE.js";import"./dayjs.min-BjOfKEma.js";/* empty css                       *//* empty css                  *//* empty css                 */import"./index-CcAtbSPY.js";import"./index-BWeK8p2T.js";const A=Object.assign({name:"send"},{__name:"index",setup(E){const e=k(),m=S(),a=h({}),o=_({timeSort:0});g(()=>{e.sendScroll=a}),w(()=>m.currentAccountId,()=>{a.value.refreshList()});function c(){o.timeSort=o.timeSort?0:1,a.value.refreshList()}function p(t){e.contentData.email=t,e.contentData.delType="logic",e.contentData.showStar=!0,e.contentData.showReply=!0,I.push("/message")}function u(t){e.starScroll?.addItem(t)}function d(t){e.starScroll?.deleteEmail([t.emailId])}function f(t,n){return L(m.currentAccountId,t,o.timeSort,n,1)}return(t,n)=>(s(),i(x,{ref_key:"sendScroll",ref:a,"cancel-success":d,"star-success":u,getEmailList:f,emailDelete:r(y),"star-add":r(b),"show-status":"",actionLeft:"4px","star-cancel":r(C),onJump:p,"time-sort":o.timeSort},{first:D(()=>[o.timeSort===0?(s(),i(r(l),{key:0,class:"icon",onClick:c,icon:"material-symbols-light:timer-arrow-down-outline",width:"28",height:"28"})):(s(),i(r(l),{key:1,class:"icon",onClick:c,icon:"material-symbols-light:timer-arrow-up-outline",width:"28",height:"28"}))]),_:1},8,["emailDelete","star-add","star-cancel","time-sort"]))}}),it=v(A,[["__scopeId","data-v-0659138e"]]);export{it as default};
