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-Dz2zbQB_.js";import{s}from"./UserAccountModal-BgHvsXCt.js";import M from"./BaseSetting-BsPIjpWF.js";import N from"./AccountSetting-C5nmXNhO.js";import A from"./TenantSetting-Ckk5-M80.js";import U from"./WeChatDingSetting-BrQswxWB.js";import{C as q,B as x,at as E,_ as F}from"./index-B_2CoVdl.js";import"./index-exs4VcBw.js";import"./index-DAURrYyA.js";import"./index-ByLO0zSl.js";import"./useTimeout-CB9F1PLu.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./index-D2AmS0aU.js";import"./BasicModal-D3g2CFhF.js";import"./ModalHeader-C-C0dUi_.js";import"./useWindowSizeFn-C3WExEpc.js";import"./index-ARbUvvsq.js";import"./useForm-CcjrODHR.js";import"./componentMap-CzCGDP7x.js";import"./useFormItem-CWa0w7fA.js";import"./download-2tYEzlDW.js";import"./base64Conver-24EVOS6V.js";import"./index-Cgt544dC.js";import"./index-BZ9ST2iq.js";import"./useCountdown-ImUE7YaG.js";import"./useFormItemSingle-DM34aWgK.js";import"./JSelectUser-BQIJUcBR.js";import"./props-BCVPj-bG.js";import"./JSelectBiz-CJyWq5s2.js";import"./JAddInput-YFlAniYT.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./index-CkL00Q0a.js";import"./index-BKs2x_To.js";import"./bem-C6eT35UB.js";import"./props-BLY2qIO5.js";import"./useContextMenu-CSt5a1-F.js";import"./depart.api-0qTriT9h.js";import"./JDictSelectTag-CxpDdimB.js";import"./JSelectDept-wKz_Qtmc.js";import"./JPopup-BJBYqoWe.js";import"./JEllipsis-Cn7GCKHR.js";import"./JUpload-DzM-D4DX.js";import"./index-khU3p_On.js";import"./index-DPEnuI0R.js";import"./index-Cnb8BkwG.js";import"./JAreaLinkage-CSgDAlrn.js";import"./JCodeEditor-esTLnfS3.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./EasyCronInput-DclSHT47.js";import"./validator-jM63P_3m.js";import"./user.api-BLHI3_6c.js";import"./UserSetting.api-CrEn9FF2.js";import"./index-weROJe7c.js";import"./header-OZa5fSDc.js";import"./upload-ChdKO_td.js";import"./UserPhoneModal-CzANkxgp.js";import"./UserEmailModal-G60uFNyd.js";import"./UserPasswordModal-D0zTMrZ6.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};
