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-DS3utcig.js";import{s}from"./UserAccountModal-D92Z8vtM.js";import M from"./BaseSetting-UsZF3T3u.js";import N from"./AccountSetting-Bq8pohiH.js";import A from"./TenantSetting-VMv-kIod.js";import U from"./WeChatDingSetting-iUEgK-2s.js";import{C as q,B as x,at as E,_ as F}from"./index-CLZzJyTP.js";import"./index-BZbg0EjM.js";import"./index-DvqyyN77.js";import"./index-CrdW4fN1.js";import"./useTimeout-KpZCXEcl.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-XZKTTfG1.js";import"./BasicModal-B8XmAOm7.js";import"./ModalHeader-DIFQSP_0.js";import"./useWindowSizeFn-D9PllI8g.js";import"./index-ByX9XNkE.js";import"./useForm-Dx3lJ3DG.js";import"./componentMap-DpsJvoqz.js";import"./useFormItem-IOFWTdED.js";import"./download-DopMSmFN.js";import"./base64Conver-24EVOS6V.js";import"./index-CDa2_aYE.js";import"./index-D0jTtUNS.js";import"./useCountdown-BpP55PQ2.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-CfAGgHjD.js";import"./props-BtZrRNiI.js";import"./JSelectBiz-CLnJTMe2.js";import"./JAddInput-B36c3B5x.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-C7yPiS0L.js";import"./index-44tRnyoF.js";import"./bem-DT3DdmOs.js";import"./props-CG-jAkbI.js";import"./useContextMenu-BGU2vdqV.js";import"./depart.api-DHG2p2Yd.js";import"./JImageUpload-BFwNYdm5.js";import"./JDictSelectTag-CfF54ALX.js";import"./JSelectDept-CaEHrQp6.js";import"./JPopup-BvqhHpPl.js";import"./JEllipsis-C_gT_vEQ.js";import"./JUpload-DgDEmizw.js";import"./index-Bn2zmO2L.js";import"./index-CEznvAVZ.js";import"./index-CfAukas3.js";import"./JAreaLinkage-M9TGy8nY.js";import"./JCodeEditor-CR57XeIe.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CWOTSpxK.js";import"./validator-Dx9kcZ5e.js";import"./user.api-DAu0nuTv.js";import"./UserSetting.api-CEhzEVpJ.js";import"./index-BLEw2ljf.js";import"./header-OZa5fSDc.js";import"./upload-Dv8bNsjS.js";import"./UserPhoneModal-BAIn09UI.js";import"./UserEmailModal-D41EMlBQ.js";import"./UserPasswordModal-BV-Cdd5N.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};
