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-CDWW6V_M.js";import{S as R}from"./index-BRTtls-l.js";import{s}from"./UserAccountModal-Cwi4lHkS.js";import M from"./BaseSetting-BGmaaPM-.js";import N from"./AccountSetting-ToPwtSoI.js";import A from"./TenantSetting-qeozWecT.js";import U from"./WeChatDingSetting-Dqe13-91.js";import{C as q,B as x,at as E,_ as F}from"./index-CYriLmQo.js";import"./index-DOuVMe-q.js";import"./index-CxQILSKV.js";import"./index-ByLO0zSl.js";import"./useTimeout-DC8132dd.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-CF_FJn6P.js";import"./BasicModal-BBgVjypv.js";import"./ModalHeader-jGKMr-DQ.js";import"./useWindowSizeFn-BxrEMPtP.js";import"./index-BkgeZpOO.js";import"./useForm-8o5KRzWo.js";import"./componentMap-7D1QIeNI.js";import"./useFormItem-CWa0w7fA.js";import"./download-CkbK5et1.js";import"./base64Conver-24EVOS6V.js";import"./index-QMJkXEyl.js";import"./index-Bb_NRLur.js";import"./useCountdown-C3-PRPLY.js";import"./useFormItemSingle-DM34aWgK.js";import"./JSelectUser-nVFm3ao2.js";import"./props-DoGpHXAD.js";import"./JSelectBiz-BW6f3e--.js";import"./JAddInput-CXT54-j9.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./index-BTSd5ebC.js";import"./index-BTAl55Kt.js";import"./bem-2ra1afoV.js";import"./props-BLY2qIO5.js";import"./useContextMenu-DYyhcDf7.js";import"./depart.api-C9T5xfw6.js";import"./JDictSelectTag-Jqy9TBcS.js";import"./JSelectDept-DorRVguN.js";import"./JPopup-KP1kIsae.js";import"./JEllipsis-287cEHxd.js";import"./JUpload-pyrTRFCz.js";import"./index-Bx9Mnn3N.js";import"./index-B1-pj6uh.js";import"./index-isxCPgHp.js";import"./JAreaLinkage-DFTeDmm8.js";import"./JCodeEditor-_KZ8XnNK.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./EasyCronInput-XK54XB3r.js";import"./validator-0TDlyteC.js";import"./user.api-BUwWVSBN.js";import"./UserSetting.api-CGfUrWue.js";import"./index-DOkjshAX.js";import"./header-OZa5fSDc.js";import"./upload-IuglDJ8l.js";import"./UserPhoneModal-4NITfeJF.js";import"./UserEmailModal-BBD2U2U6.js";import"./UserPasswordModal-BnhOqYRn.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 io=F(z,[["render",H],["__scopeId","data-v-88cea074"]]);export{io as default};
