import{d as b,e as k,f as c,a1 as T,o as h,U as l,a2 as r,ad as u,af as n,a4 as f,k as B,a3 as y,ae as K,ar as D,V as v,ai as $,G as V,a5 as w,F as L,a6 as P}from"./vue-vendor-CxLCUzY4.js";import{a4 as S}from"./antd-vue-vendor-CahNzUUa.js";import{S as R}from"./index-CYoRlduV.js";import{s}from"./UserAccountModal-CBwJdheG.js";import M from"./BaseSetting-CTL87h8v.js";import N from"./AccountSetting-DXNsWRD-.js";import A from"./TenantSetting-BP6oXN82.js";import U from"./WeChatDingSetting-ifEaUezb.js";import{C as q,B as x,at as E,_ as F}from"./index-Cy4uayzW.js";import"./index-DYB8Ashr.js";import"./index-Bdn0r8CG.js";import"./index-CrdW4fN1.js";import"./useTimeout-gJpgadD6.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-zKZnG1QC.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./index-BN26Feep.js";import"./useForm-DfoT2G6J.js";import"./componentMap-0iK4HQBq.js";import"./useFormItem-IOFWTdED.js";import"./download-Bn4f3tzD.js";import"./base64Conver-24EVOS6V.js";import"./index-D6H6KsT6.js";import"./index-CLxBW_h0.js";import"./useCountdown-2P9HvnfJ.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-B98pRPrS.js";import"./props-CtlWAg-s.js";import"./JSelectBiz-vYDBA0SK.js";import"./JAddInput-DP4caUmw.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-tDBMxW9-.js";import"./index-CNQBnF3P.js";import"./bem-IZKqD41e.js";import"./props-CG-jAkbI.js";import"./useContextMenu-Q6J5bB_u.js";import"./depart.api-B8q8MC-j.js";import"./JImageUpload-C5OCTlCG.js";import"./JDictSelectTag-CalJXNVe.js";import"./JSelectDept-D-TUaHvK.js";import"./JPopup-CVHkQZFq.js";import"./JEllipsis-TuDc52fh.js";import"./JUpload-DSWoDwh2.js";import"./index-B4vNk56t.js";import"./index-Dc7Jr5-j.js";import"./index-Dm1rPBfc.js";import"./JAreaLinkage-CTMEfTuh.js";import"./JCodeEditor-U9QIstNN.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CZdChTcP.js";import"./validator-CyHCj96y.js";import"./user.api-CoaMxYm2.js";import"./UserSetting.api-B2NdllNJ.js";import"./index-Cc69gAuV.js";import"./header-OZa5fSDc.js";import"./upload-Dy5FKYXA.js";import"./UserPhoneModal-t5Q8GFIH.js";import"./UserEmailModal-BPX9z9j7.js";import"./UserPasswordModal-0GtmxuZB.js";const z=b({components:{ScrollContainer:R,Tabs:S,TabPane:S.TabPane,BaseSetting:M,AccountSetting:N,TenantSetting:A,WeChatDingSetting:U},props:{componentList:{type:Array,default:s}},setup(){const{prefixCls:o}=q("user-account-setting-container"),{getDarkMode:i}=x(),d=k(()=>i.value===E.DARK),a=c("1"),g=c(!1),C=c(""),p=T(),_=k(()=>g.value?s:s.filter(e=>e.component!="MyVipSetting"));function m(e){a.value=e}function t(){let e=p.currentRoute.value.query;e&&e.page==="tenantSetting"&&(a.value="2")}return h(()=>{t()}),{prefixCls:o,settingList:s,tabBarStyle:{width:"220px",marginBottom:"200px"},componentClick:m,activeKey:a,isDark:d}}}),G={style:{display:"flex","align-items":"center",cursor:"pointer"}},I={style:{width:"30px"}},W=["src"],j=["src"];function H(o,i,d,a,g,C){const p=l("TabPane"),_=l("Tabs"),m=l("ScrollContainer");return r(),u(m,null,{default:n(()=>[f("div",{ref:"wrapperRef",class:P(["user-account-setting",[o.prefixCls]])},[B(_,{"tab-position":"left",tabBarStyle:o.tabBarStyle,onTabClick:o.componentClick,activeKey:o.activeKey,"onUpdate:activeKey":i[0]||(i[0]=t=>o.activeKey=t)},{default:n(()=>[(r(!0),y(L,null,K(o.componentList,t=>(r(),u(p,{key:t.key},{tab:n(()=>[f("span",G,[f("span",I,[o.activeKey===t.key||o.isDark?(r(),y("img",{key:0,src:t.img2,style:{height:"18px"}},null,8,W)):(r(),y("img",{key:1,src:t.img1,style:{height:"16px"}},null,8,j))]),V(" "+w(t.name),1)])]),default:n(()=>[o.activeKey===t.key&&!t.isSlot?(r(),u(D(t.component),{key:0})):v("",!0),o.activeKey===t.key&&t.isSlot?$(o.$slots,"component",{key:1},void 0,!0):v("",!0)]),_:2},1024))),128))]),_:3},8,["tabBarStyle","onTabClick","activeKey"])],2)]),_:3})}const ao=F(z,[["render",H],["__scopeId","data-v-88cea074"]]);export{ao as default};
