import{u as L,_ as M,a as R,__tla as j}from"./useTable-bd38ae37.js";import{_ as A,__tla as U}from"./ContentWrap-e272a077.js";import{d as q,r as P,q as D,Q as F,o as c,c as G,f as l,w as _,a as t,z as s,x as i,y as u,F as O,j as Q,G as B,_ as E,__tla as H}from"./index-f0268dea.js";import{a as z,__tla as I}from"./account.data-10b89ef2.js";import{a as J,d as K,__tla as N}from"./index-e5ef0e0b.js";import T,{__tla as V}from"./MailAccountForm-10951599.js";import W,{__tla as X}from"./MailAccountDetail-a7f69b4f.js";import{__tla as Y}from"./Form-6485ba03.js";import{__tla as Z}from"./el-virtual-list-7ae46d04.js";import{__tla as $}from"./el-tree-select-e2269997.js";import{__tla as tt}from"./el-time-select-beeb2637.js";import{__tla as at}from"./InputPassword-ac0c52fb.js";import{__tla as rt}from"./Editor-5c67e34d.js";import{__tla as _t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-dca087cc.js";import{__tla as et}from"./index-940e4a52.js";import{__tla as lt}from"./el-image-viewer-2d93f09d.js";import{__tla as ot}from"./useMessage-5111adbe.js";import{__tla as ct}from"./UploadImg-3fa12899.js";import{__tla as mt}from"./UploadImgs-7a5dd0aa.js";import{__tla as nt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-5b749cb3.js";import{__tla as st}from"./UploadFile-7db79c0f.js";import{__tla as it}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-c4be4d93.js";import{__tla as ut}from"./fixed-size-list-226c3ba6.js";import{__tla as pt}from"./index-2164f5de.js";import{__tla as ft}from"./useForm-9743aa8c.js";import"./download-20922b56.js";import{__tla as yt}from"./el-card-dd06867e.js";import{__tla as ht}from"./formatTime-e6faaf52.js";import{__tla as dt}from"./formRules-e69c368b.js";import{__tla as gt}from"./dict-9a671b35.js";import{__tla as kt}from"./useCrudSchemas-ac85affd.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag-f1e4f3db.js";import"./color-6e929987.js";import{__tla as vt}from"./Dialog-86841680.js";import{__tla as Pt}from"./Descriptions-6f905ab3.js";import{__tla as zt}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-28a59b2b.js";import{__tla as Ct}from"./el-descriptions-item-214c3507.js";let C,xt=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})(),(()=>{try{return rt}catch{}})(),(()=>{try{return _t}catch{}})(),(()=>{try{return et}catch{}})(),(()=>{try{return lt}catch{}})(),(()=>{try{return ot}catch{}})(),(()=>{try{return ct}catch{}})(),(()=>{try{return mt}catch{}})(),(()=>{try{return nt}catch{}})(),(()=>{try{return st}catch{}})(),(()=>{try{return it}catch{}})(),(()=>{try{return ut}catch{}})(),(()=>{try{return pt}catch{}})(),(()=>{try{return ft}catch{}})(),(()=>{try{return yt}catch{}})(),(()=>{try{return ht}catch{}})(),(()=>{try{return dt}catch{}})(),(()=>{try{return gt}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return St}catch{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return zt}catch{}})(),(()=>{try{return Ct}catch{}})()]).then(async()=>{C=E(q({name:"SystemMailAccount",__name:"index",setup(bt){const{tableObject:e,tableMethods:p}=L({getListApi:J,delListApi:K}),{getList:f,setSearchParams:y}=p,h=P(),d=(k,a)=>{h.value.open(k,a)},g=P();return D(()=>{f()}),(k,a)=>{const x=Q,m=B,b=M,S=A,w=R,n=F("hasPermi");return c(),G(O,null,[l(S,null,{default:_(()=>[l(b,{schema:t(z).searchSchema,onSearch:t(y),onReset:t(y)},{actionMore:_(()=>[s((c(),i(m,{type:"primary",plain:"",onClick:a[0]||(a[0]=r=>d("create"))},{default:_(()=>[l(x,{icon:"ep:plus",class:"mr-5px"}),u(" \u65B0\u589E ")]),_:1})),[[n,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),l(S,null,{default:_(()=>[l(w,{columns:t(z).tableColumns,data:t(e).tableList,loading:t(e).loading,pagination:{total:t(e).total},pageSize:t(e).pageSize,"onUpdate:pageSize":a[1]||(a[1]=r=>t(e).pageSize=r),currentPage:t(e).currentPage,"onUpdate:currentPage":a[2]||(a[2]=r=>t(e).currentPage=r)},{action:_(({row:r})=>[s((c(),i(m,{link:"",type:"primary",onClick:v=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[n,["system:mail-account:update"]]]),s((c(),i(m,{link:"",type:"primary",onClick:v=>{return o=r.id,void g.value.open(o);var o}},{default:_(()=>[u(" \u8BE6\u60C5 ")]),_:2},1032,["onClick"])),[[n,["system:mail-account:query"]]]),s((c(),i(m,{link:"",type:"danger",onClick:v=>{return o=r.id,void p.delList(o,!1);var o}},{default:_(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])),[[n,["system:mail-account:delete"]]])]),_:1},8,["columns","data","loading","pagination","pageSize","currentPage"])]),_:1}),l(T,{ref_key:"formRef",ref:h,onSuccess:t(f)},null,8,["onSuccess"]),l(W,{ref_key:"detailRef",ref:g},null,512)],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/mail/account/index.vue"]])});export{xt as __tla,C as default};