import{u as w,_ as A,a as M,__tla as R}from"./useTable-21d5d3f6.js";import{_ as D,__tla as U}from"./ContentWrap-83998678.js";import{d as j,r as v,b as q,a4 as F,o as c,c as I,f as l,A as _,a as t,k as s,C as i,D as u,F as J,Q as O,J as Q,_ as B,__tla as E}from"./index-286756b9.js";import{a as P,__tla as G}from"./account.data-fb6dc76b.js";import{a as H,d as K,__tla as N}from"./index-84f3c12a.js";import T,{__tla as V}from"./MailAccountForm-0c6e2df3.js";import W,{__tla as X}from"./MailAccountDetail-7e0a763e.js";import{__tla as Y}from"./Form-75bb2af4.js";import{__tla as Z}from"./el-virtual-list-76825854.js";import{__tla as $}from"./el-tree-select-7a83bfa8.js";import{__tla as tt}from"./el-time-select-7234e78f.js";import{__tla as at}from"./InputPassword-57bce014.js";import{__tla as rt}from"./InputPassword.vue_vue_type_style_index_0_scoped_3f07eb1d_lang-058d317a.js";import{__tla as _t}from"./Editor-514f76f8.js";import{__tla as et}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-6643271d.js";import{__tla as lt}from"./index-5a40c383.js";import{__tla as ot}from"./el-image-viewer-e0e5d3be.js";import{__tla as ct}from"./useMessage-084b1e70.js";import{__tla as mt}from"./UploadImg-d2713eac.js";import{__tla as nt}from"./UploadImgs-b8116d2f.js";import{__tla as st}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-a65d467a.js";import{__tla as it}from"./UploadFile-e148930d.js";import{__tla as ut}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-3e346ba0.js";import{__tla as pt}from"./index-fb47c94c.js";import{__tla as ft}from"./useForm-2c8a5436.js";import"./download-20922b56.js";import{__tla as yt}from"./el-card-d3d5a654.js";import{__tla as ht}from"./formatTime-83e416ef.js";import{__tla as dt}from"./formRules-b40a428a.js";import{__tla as gt}from"./dict-82dca549.js";import{__tla as kt}from"./useCrudSchemas-2fd8541b.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag-f72b04ca.js";import"./color-6e929987.js";import{__tla as Ct}from"./Dialog-4c2de357.js";import{__tla as vt}from"./Descriptions-3fb46c10.js";import{__tla as Pt}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-2b782ce2.js";import{__tla as xt}from"./el-descriptions-item-63e151c1.js";let x,zt=Promise.all([(()=>{try{return R}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return G}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 Ct}catch{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return xt}catch{}})()]).then(async()=>{x=B(j({name:"SystemMailAccount",__name:"index",setup(bt){const{tableObject:e,tableMethods:p}=w({getListApi:H,delListApi:K}),{getList:f,setSearchParams:y}=p,h=v(),d=(k,a)=>{h.value.open(k,a)},g=v();return q(()=>{f()}),(k,a)=>{const z=O,m=Q,b=A,S=D,L=M,n=F("hasPermi");return c(),I(J,null,[l(S,null,{default:_(()=>[l(b,{schema:t(P).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(z,{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(L,{columns:t(P).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:C=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[n,["system:mail-account:update"]]]),s((c(),i(m,{link:"",type:"primary",onClick:C=>{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:C=>{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{zt as __tla,x as default};