import{u as w,_ as L,a as A,__tla as D}from"./useTable-7f6450d1.js";import{_ as M,__tla as U}from"./ContentWrap-a3bb871b.js";import{d as j,r as C,l as q,R as F,o as c,c as O,g as l,w as _,a as t,y as s,x as i,n as u,F as B,q as E,D as G,_ as H,__tla as I}from"./index-b362e1d5.js";import{a as P,__tla as J}from"./account.data-11dd404f.js";import{a as K,d as N,__tla as Q}from"./index-600c85b0.js";import T,{__tla as V}from"./MailAccountForm-c67b24f9.js";import W,{__tla as X}from"./MailAccountDetail-27069034.js";import{__tla as Y}from"./Form-c11af986.js";import{__tla as Z}from"./el-virtual-list-7a983ac2.js";import{__tla as $}from"./el-tree-select-0f207944.js";import{__tla as tt}from"./el-time-select-155fcbe8.js";import{__tla as at}from"./InputPassword-f465bdd1.js";import{__tla as rt}from"./InputPassword.vue_vue_type_style_index_0_scoped_3f07eb1d_lang-7b692495.js";import{__tla as _t}from"./Editor-e146bd91.js";import{__tla as et}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-b4af8eb1.js";import{__tla as lt}from"./index-6b00d885.js";import{__tla as ot}from"./el-image-viewer-68ae3e49.js";import{__tla as ct}from"./useMessage-7c1dd10e.js";import{__tla as mt}from"./UploadImg-badad53e.js";import{__tla as nt}from"./UploadImgs-38746988.js";import{__tla as st}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-e4965946.js";import{__tla as it}from"./UploadFile-72d0b6b9.js";import{__tla as ut}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-830ad10b.js";import{__tla as pt}from"./index-39b44010.js";import{__tla as yt}from"./useForm-7c4e3e7f.js";import"./download-20922b56.js";import{__tla as ft}from"./el-card-732e29b8.js";import{__tla as ht}from"./formatTime-053b1c05.js";import{__tla as dt}from"./formRules-c26349aa.js";import{__tla as gt}from"./dict-9948b178.js";import{__tla as St}from"./useCrudSchemas-e69582bb.js";import"./tree-0af4953a.js";import{__tla as kt}from"./DictTag-e097450d.js";import"./color-6e929987.js";import{__tla as vt}from"./Dialog-71bebaff.js";import{__tla as Ct}from"./Descriptions-fc7b6d9e.js";import{__tla as Pt}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-c20fe443.js";import{__tla as xt}from"./el-descriptions-item-190ce268.js";let x,zt=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return Q}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 yt}catch{}})(),(()=>{try{return ft}catch{}})(),(()=>{try{return ht}catch{}})(),(()=>{try{return dt}catch{}})(),(()=>{try{return gt}catch{}})(),(()=>{try{return St}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return xt}catch{}})()]).then(async()=>{x=H(j({name:"SystemMailAccount",__name:"index",setup(bt){const{tableObject:e,tableMethods:p}=w({getListApi:K,delListApi:N}),{getList:y,setSearchParams:f}=p,h=C(),d=(S,a)=>{h.value.open(S,a)},g=C();return q(()=>{y()}),(S,a)=>{const z=E,m=G,b=L,k=M,R=A,n=F("hasPermi");return c(),O(B,null,[l(k,null,{default:_(()=>[l(b,{schema:t(P).searchSchema,onSearch:t(f),onReset:t(f)},{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(k,null,{default:_(()=>[l(R,{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: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(y)},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};