y9-interface-platform/y9vue-interfacePlatform/interface/assets/index-58fbd7ef.js

2 lines
41 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import"./vue-20eed888.js";import{u as j,y as Y,$ as je,i as Ze,a as Ne}from"./index-03a63030.js";import{u as Ge,b as Pe}from"./vue-router-e03c3082.js";import{c as ue,b as ie,d as et,f as tt,g as nt,h as lt,j as re,k as ot,l as Ve,m as at,n as st,o as ut,p as it,q as rt,r as dt,s as ct,t as mt,u as pt,v as ft,w as gt,x as de,y as bt,A as vt}from"./element-plus-53a783a7.js";import{d as O,k as A,r as B,w as Q,o as d,c as v,a as l,u as c,U as h,K as N,e as o,i as se,P as r,T as M,F as T,ah as we,ai as x,J as Ae,b as I,_ as Be,G as J,aB as U,R as Z,S as X,a8 as P,L as H,Q as F,V as E,f as ce,Z as Ie,n as yt}from"./@vue-e95c845e.js";import{_ as L}from"./y9plugin-components-412bad23.js";import{m as me,o as pe,p as fe}from"./@vueuse-409d7ed5.js";import{S as _t}from"./@element-plus-57b52633.js";import{u as St}from"./vue-i18n-d6e8419a.js";import"./lodash-11751b8b.js";import"./axios-db0ed51e.js";import"./pinia-22d008e7.js";import"./nprogress-e9cc33fd.js";/* empty css *//* empty css *//* empty css */import"./y9plugin-sso-6f4b3ca3.js";import"./y9plugin-watermark-e18d3181.js";import"./@intlify-d4a3a758.js";import"./lodash-es-2e98bc53.js";import"./@popperjs-c75af06c.js";import"./@ctrl-f8748455.js";import"./dayjs-e13f206c.js";import"./async-validator-20f92749.js";import"./memoize-one-297ddbcb.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-606f2ab9.js";import"./v-viewer-decd5d79.js";import"./viewerjs-c43574b2.js";import"./vxe-table-3ccf2bcd.js";import"./xe-utils-90392958.js";import"./dom-zindex-d72a3c32.js";const ge=(e,t)=>{let u={title:"",path:"",redirect:"",roles:[]};for(let i=0,m=t.length;i<m;i+=1){const p=t[i];if(p.path===e){u=p;break}if(p.children&&(u=ge(e,p.children),u.path!==""))break}return u},ht=e=>e.filter(u=>!u.hidden).length>0,kt=(e,t="/")=>{const u=[];if(!e||e==="")return u;const i=e.split(t);for(let m=1,p=i.length-1;m<p;m+=1)u.push(i.slice(0,m+1).join(t));return u},$t=(e,t)=>{const u=[];for(let i=0,m=e.length;i<m;i+=1){const p=e[i],n=ge(p,t);n.path!==""&&u.push(n)}return u},Ct=(e,t,u)=>{if(!e.breadcrumb){const i=$t(t,u);return e.breadcrumb===!1?i:[...i,e]}return e.breadcrumb},ze=e=>e.selectLeftMenu||e.path,xe=e=>e.belongTopMenu?e.belongTopMenu:`/${e.path.split("/")[1]}`,wt={class:"content"},At=["src"],It={class:"form"},zt=O({__name:"pass",setup(e){const t=j(),u=A(()=>t.getUnlockScreenPwd),i=A(()=>t.getLockScreen),m=B(""),p=B(!1);let n=B("");const y=()=>{m.value===u.value?t.$patch({lockScreen:!1}):p.value=!0};i.value&&_(),Q(i,()=>{_()});function _(){let g=Y.getObjectItem("ssoUserInfo");g.avator?$(g.avator).then(()=>{n.value=g.avator}).catch(()=>{n.value="https://i.gtimg.cn/club/item/face/img/2/16022_100.gif"}):n.value="https://i.gtimg.cn/club/item/face/img/2/16022_100.gif"}function $(g){return new Promise(function(b,f){var S=new Image;S.src=g,S.onload=function(C){b(C)},S.onerror=function(C){f(C)}})}return B("hidden"),B(""),(g,b)=>{const f=ue,S=ie;return d(),v(T,null,[b[4]||(b[4]=l("div",{class:"lock-pane"},null,-1)),l("div",wt,[l("img",{src:c(n),alt:"头像"},null,8,At),l("span",null,h(g.$t("屏幕已锁定")),1),l("div",It,[l("span",{class:N({showErrorText:c(p)})},h(g.$t("密码错误")),3),o(f,{modelValue:c(m),"onUpdate:modelValue":b[0]||(b[0]=C=>se(m)?m.value=C:null),type:"password",placeholder:"Please input password","show-password":"",onChange:y,onFocus:b[1]||(b[1]=C=>p.value=!1)},null,8,["modelValue"]),o(S,{type:"primary",onClick:y,onMousemove:b[2]||(b[2]=C=>g.toopTipsVisible=!1)},{default:r(()=>[b[3]||(b[3]=l("i",{class:"ri-lock-unlock-line"},null,-1)),M(h(g.$t("解锁")),1)]),_:1})])])],64)}}});const Lt=L(zt,[["__scopeId","data-v-751c49ab"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/Lock/pass.vue"]]),Dt=j(),te=A(()=>Dt.getLockScreen);let Le=[];te.value&&Re();Q(te,()=>{Re()});function Re(){Le.push(setInterval(()=>{var t;document.getElementById("indexlayout").style.display="none";const e=(t=document.getElementsByClassName("lock-div")[0])==null?void 0:t.className;if(te.value&&e!=="lock-div"){const u={logoutUrl:"http://localhost:7055/sso/logout?service=http://localhost:7070/interface/"};je.ssoLogout(u)}},100)),te.value||(console.log(1),document.getElementById("indexlayout").style.display="",Le.forEach(e=>{clearInterval(e)}))}const Ot=O({name:"lock-comp",render(){return we("div",{class:"lock-div"},we(Lt))}});const be=L(Ot,[["__scopeId","data-v-c37c4a2f"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/Lock/index.vue"]]),Tt="/interface/assets/yun-e2e8aa64.png",Mt=O({name:"ALink",props:{to:{type:String,required:!0},replace:{type:Boolean,default:!1}},setup(){return{isExternal:Ze}}}),Ft=["href"];function Et(e,t,u,i,m,p){const n=x("router-link");return e.isExternal(e.to)?(d(),v("a",{key:0,href:e.to,target:"_blank",rel:"noreferrer"},[Ae(e.$slots,"default")],8,Ft)):(d(),I(n,{key:1,to:e.to,replace:e.replace},{default:r(()=>[Ae(e.$slots,"default")]),_:3},8,["to","replace"]))}const He=L(Mt,[["render",Et],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/ALink/index.vue"]]),jt=O({name:"IconSvg",props:{type:{type:String,required:!0}}});const Nt={class:"svg-icon","aria-hidden":"true"},Pt=["xlink:href"];function Vt(e,t,u,i,m,p){return d(),v("svg",Nt,[l("use",{"xlink:href":`#${e.type}`},null,8,Pt)])}const Je=L(jt,[["render",Vt],["__scopeId","data-v-10d12dd7"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/IconSvg/index.vue"]]),Bt=O({name:"Icon",props:{type:{type:String,required:!0}},components:{Icons:Je}});function xt(e,t,u,i,m,p){const n=x("Icons");return d(),I(n,{type:e.type},null,8,["type"])}const Rt=L(Bt,[["render",xt],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/Icon.vue"]]),ve=O({name:"SiderMenuItem",props:{routeItem:{type:Object,required:!0},belongTopMenu:{type:String,default:""}},components:{ALink:He,Icon:Rt},setup(e){const{routeItem:t}=Be(e),u=A(()=>xe(t.value)),i=j(),{toggleCollapsed:m}=i,p=()=>{i.getDevice==="mobile"&&m()},n=J("sizeObjInfo");return{item:t,topMenuPath:u,hasChildRoute:ht,toggleCollapsedFunc:p,fontSizeObj:n}}}),De=()=>{U(e=>({"c7383546-fontSizeObj.largeFontSize":e.fontSizeObj.largeFontSize,"c7383546-fontSizeObj.baseFontSize":e.fontSizeObj.baseFontSize}))},Oe=ve.setup;ve.setup=Oe?(e,t)=>(De(),Oe(e,t)):De;const Ht=ve;function Jt(e,t,u,i,m,p){const n=et,y=x("sider-menu-item",!0),_=tt,$=nt,g=x("a-link");return e.item.hidden?X("",!0):(d(),v(T,{key:0},[e.item.children&&Array.isArray(e.item.children)&&e.hasChildRoute(e.item.children)?(d(),I(_,{key:0,index:e.item.path,class:"y9-el-sub-menu"},{title:r(()=>[e.item.meta.icon?(d(),v("i",{key:0,class:N(["icon",e.item.meta.icon])},null,2)):e.item.meta.elIcon?(d(),I(n,{key:1},{default:r(()=>[(d(),I(Z(e.item.meta.elIcon)))]),_:1})):X("",!0),l("span",null,h(e.$t(`${e.item.meta.title}`)),1)]),default:r(()=>[(d(!0),v(T,null,P(e.item.children,b=>(d(),I(y,{key:b.path,routeItem:b,belongTopMenu:e.belongTopMenu},null,8,["routeItem","belongTopMenu"]))),128))]),_:1},8,["index"])):(d(),I(g,{key:1,to:e.item.path},{default:r(()=>[o($,{index:e.item.path,onClick:e.toggleCollapsedFunc},{title:r(()=>[M(h(e.$t(`${e.item.meta.title}`)),1)]),default:r(()=>[e.item.meta.icon?(d(),v("i",{key:0,class:N(["icon",e.item.meta.icon])},null,2)):e.item.meta.elIcon?(d(),I(n,{key:1},{default:r(()=>[(d(),I(Z(e.item.meta.elIcon)))]),_:1})):X("",!0)]),_:1},8,["index","onClick"])]),_:1},8,["to"]))],64))}const Ut=L(Ht,[["render",Jt],["__scopeId","data-v-c7383546"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/SiderMenuItem.vue"]]),qt=O({name:"SiderMenu",props:{menuCollapsed:{type:Boolean,default:!1},menuMode:{type:String,default:"vertical"},belongTopMenu:{type:String,default:""},defaultActive:{type:String,default:""},menuData:{type:Array,default:()=>[]}},components:{SiderMenuItem:Ut},setup(e){const{menuData:t}=Be(e);return{newMenuData:A(()=>{const i=[];for(let m=0,p=t.value.length;m<p;m+=1){const n=t.value[m];!n.hidden&&n.children&&(n.children.length===1?i.push(...n.children):i.push(n))}return i})}}});function Wt(e,t,u,i,m,p){const n=x("sider-menu-item"),y=lt;return d(),I(y,{collapse:e.menuCollapsed,"collapse-transition":!1,"default-active":e.defaultActive,mode:e.menuMode,ellipsis:!1},{default:r(()=>[(d(!0),v(T,null,P(e.newMenuData,_=>(d(),I(n,{key:_.path,routeItem:_,belongTopMenu:e.belongTopMenu},null,8,["routeItem","belongTopMenu"]))),128))]),_:1},8,["collapse","default-active","mode"])}const ye=L(qt,[["render",Wt],["__scopeId","data-v-1494862b"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/SiderMenu.vue"]]),Kt={class:"left-logo"},Qt={key:0,alt:"y9-logo",src:Tt},Xt={key:1,class:"logo-title"},Yt={class:"left-menu"},Zt=O({__name:"Left",props:{menuCollapsed:{type:Boolean,required:!0},belongTopMenu:{type:String,default:""},defaultActive:{type:String,default:""},menuData:{type:Array,default:()=>[]},layoutSubName:{type:String,required:!0}},setup(e){U(i=>({"59826a6b-fontSizeObj.lineHeight":c(u).lineHeight,"59826a6b-fontSizeObj.extraLargeFont":c(u).extraLargeFont,"59826a6b-fontSizeObj.largeFontSize":c(u).largeFontSize}));const t=j(),u=J("sizeObjInfo");return(i,m)=>{const p=x("router-link");return d(),v("div",{id:"left",class:N({narrow:e.menuCollapsed,"sidebar-separate":e.layoutSubName==="sidebar-separate","add-backgroundImage":!!c(t).getMenuBg}),style:H({"background-image":c(t).getMenuBg?"url("+c(t).getMenuBg+")":""})},[l("div",Kt,[o(p,{to:"/",class:"logo-url"},{default:r(()=>[e.menuCollapsed?(d(),v("img",Qt)):X("",!0),e.menuCollapsed?X("",!0):(d(),v("span",Xt,h(i.$t("接口管理")),1))]),_:1})]),l("div",Yt,[o(ye,{menuCollapsed:e.menuCollapsed,belongTopMenu:e.belongTopMenu,defaultActive:e.defaultActive,menuData:e.menuData},null,8,["menuCollapsed","belongTopMenu","defaultActive","menuData"])])],6)}}});const Gt=L(Zt,[["__scopeId","data-v-59826a6b"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/Y9-default/Left.vue"]]),_e=O({name:"RightTopUser",components:{IconSvg:Je},setup(){const e=j(),t=J("sizeObjInfo"),u=Ge(),i=Y.getObjectItem("ssoUserInfo"),m=Y.getObjectItem("initInfo"),p=Y.getObjectItem("departmentMapList");return{settingStore:e,userInfo:i,initInfo:m,departmentMapList:p,onMenuClick:async y=>{switch(y){case"personalCenter":u.push({name:"personInfo"});break;case"signIn":break;case"signOut":break;case"changeDept":break;case"logout":try{const _={to:{path:window.location.pathname},logoutUrl:"http://localhost:7055/sso/logout?service=http://localhost:7070/interface/",__y9delete__:()=>{console.log("删除前执行的函数")}};je.ssoLogout(_)}catch(_){this.$message.error(_.message||"Has Error")}break}},fontSizeObj:t}}}),Te=()=>{U(e=>({"b04c6897-fontSizeObj.baseFontSize":e.fontSizeObj.baseFontSize}))},Me=_e.setup;_e.setup=Me?(e,t)=>(Te(),Me(e,t)):Te;const en=_e;const tn=["onClick"];function nn(e,t,u,i,m,p){const n=re,y=ot,_=Ve,$=at,g=st;return d(),I(g,{onCommand:e.onMenuClick,"hide-on-click":!0,class:"user-el-dropdown",disabled:!e.userInfo.name},{dropdown:r(()=>[o($,null,{default:r(()=>[o(y,{command:"personalCenter"},{default:r(()=>[l("div",{class:"el-dropdown-item",style:H({"font-size":e.fontSizeObj.baseFontSize,"line-height":e.fontSizeObj.lineHeight})},[t[1]||(t[1]=l("i",{class:"ri-user-line"},null,-1)),M(h(e.$t("个人中心")),1)],4)]),_:1}),o(y,{command:"signIn"},{default:r(()=>[l("div",{class:"el-dropdown-item",style:H({"font-size":e.fontSizeObj.baseFontSize,"line-height":e.fontSizeObj.lineHeight})},[t[2]||(t[2]=l("i",{class:"ri-calendar-check-line"},null,-1)),M(h(e.$t("已签到")),1)],4)]),_:1}),o(y,{command:"signOut"},{default:r(()=>[l("div",{class:"el-dropdown-item",style:H({"font-size":e.fontSizeObj.baseFontSize,"line-height":e.fontSizeObj.lineHeight})},[t[3]||(t[3]=l("i",{class:"ri-bookmark-line"},null,-1)),M(h(e.$t("已签退")),1)],4)]),_:1}),o(_,{style:{"padding-bottom":"12px",margin:"0px","margin-top":"6px"}}),o(y,{command:"changeDept"},{default:r(()=>[l("div",{class:"el-dropdown-item",style:H({"font-size":e.fontSizeObj.baseFontSize,"line-height":e.fontSizeObj.lineHeight})},[t[4]||(t[4]=l("i",{class:"ri-route-line"},null,-1)),M(h(e.$t("选择切换部门")),1)],4)]),_:1}),o(y,null,{default:r(()=>[(d(!0),v(T,null,P(e.departmentMapList,b=>(d(),v("div",{class:"el-dropdown-item",style:H([{"font-size":e.fontSizeObj.baseFontSize,"line-height":e.fontSizeObj.lineHeight},{"text-align":"center"}]),key:b.departmentId,onClick:f=>e.changeDept(b.departmentId)},h(b.departmentName),13,tn))),128))]),_:1}),o(_,{style:{"padding-bottom":"5px",margin:"0px"}}),o(y,{command:"logout"},{default:r(()=>[l("div",{class:"el-dropdown-item",style:H({"font-size":e.fontSizeObj.baseFontSize,"line-height":e.fontSizeObj.lineHeight})},[t[5]||(t[5]=l("i",{class:"ri-logout-box-r-line"},null,-1)),M(h(e.$t("退出")),1)],4)]),_:1})]),_:1})]),default:r(()=>{var b,f;return[l("div",{class:"name",onClick:t[0]||(t[0]=S=>S.preventDefault())},[F(l("div",null,[l("span",null,h(e.$t(`${e.userInfo.name?e.userInfo.name:"游客"}`)),1),l("span",null,h((f=(b=e.initInfo)==null?void 0:b.department)==null?void 0:f.name),1)],512),[[E,e.settingStore.getWindowWidth>425]]),e.settingStore.device==="mobile"?(d(),I(n,{key:0,style:H({"font-size":e.fontSizeObj.baseFontSize,"background-color":"var(--el-color-primary)","margin-top":"8px"}),src:e.userInfo.avator?e.userInfo.avator:""},{default:r(()=>[M(h(e.userInfo.loginName?e.userInfo.loginName:"游"),1)]),_:1},8,["style","src"])):X("",!0)])]}),_:1},8,["onCommand","disabled"])}const ne=L(en,[["render",nn],["__scopeId","data-v-b04c6897"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/RightTopUser.vue"]]),ln={id:"right-top"},on={class:"left"},an={key:0,class:"ri-menu-unfold-line"},sn={key:1,class:"ri-menu-fold-line"},un={class:"right"},rn={class:"item web-setting"},dn={class:"item user"},cn={class:"item user"},mn=O({__name:"RightTop",props:{menuCollapsed:{type:Boolean,default:!1}},emits:["refresh"],setup(e,{emit:t}){U(S=>({"5597c4bb-fontSizeObj.extraLargeFont":c(y).extraLargeFont,"5597c4bb-fontSizeObj.baseFontSize":c(y).baseFontSize,"5597c4bb-fontSizeObj.lineHeight":c(y).lineHeight}));const u=Y.getObjectItem("ssoUserInfo"),{isFullscreen:i,toggle:m}=me(),p=m,n=j(),y=J("sizeObjInfo"),_=()=>{n.$patch({menuCollapsed:!n.getMenuCollapsed})},$=pe({selector:"html",valueDark:"theme-dark",valueLight:""});fe($);const g=()=>{n.$patch({lockScreen:!0})},b=t,f=()=>{b("refresh")};return(S,C)=>{const q=re;return d(),v("div",ln,[l("div",on,[l("div",{class:"indexlayout-flexible",onClick:_},[e.menuCollapsed?(d(),v("i",an)):(d(),v("i",sn))])]),l("div",un,[F(l("div",{class:"item",onClick:g},[C[1]||(C[1]=l("i",{class:"ri-lock-2-line"},null,-1)),l("span",null,h(S.$t("锁屏")),1)],512),[[E,c(n).getLock]]),F(l("div",{class:"item",onClick:f},[C[2]||(C[2]=l("i",{class:"ri-refresh-line"},null,-1)),l("span",null,h(S.$t("刷新")),1)],512),[[E,c(n).getRefresh]]),F(l("div",{class:"item",onClick:C[0]||(C[0]=(...G)=>c(p)&&c(p)(...G))},[C[3]||(C[3]=l("i",{class:"ri-fullscreen-line"},null,-1)),l("span",null,h(S.$t("全屏")),1)],512),[[E,c(n).getFullScreeen]]),l("div",rn,[C[4]||(C[4]=l("i",{class:"ri-edit-box-line"},null,-1)),l("span",null,h(S.$t("设置")),1)]),l("div",dn,[o(ne)]),l("div",cn,[o(q,{src:c(u).avator?c(u).avator:""},{default:r(()=>[M(h(c(u).loginName?c(u).loginName:"游"),1)]),_:1},8,["src"])])])])}}});const pn=L(mn,[["__scopeId","data-v-5597c4bb"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/Y9-default/RightTop.vue"]]),fn=O({__name:"SettingsMobile",setup(e){const t=j(),u=B(!1),i=A(()=>t.getSettingAnimation),m=A(()=>t.getSettingWidth),p=A(()=>t.getDevice);ce(()=>{setTimeout(()=>{document.getElementsByClassName("web-setting")[0].addEventListener("click",()=>{u.value||(u.value=!0)})},500)});const n=Ie({allPcLayout:t.getAllPcLayout,pcLayout:t.getLayout,webName:t.getWebName,logoSvgName:t.getLogoSvgName,webLanguage:t.getWebLanguage,fontSize:t.getFontSize,themeName:t.getThemeName,menuAnimation:t.menuAnimation,menuStyle:t.getMenuStyle,menuWidth:t.getMenuWidth,showLabel:t.getShowLabel,showLabelIcon:t.getShowLabelIcon,labelStyle:t.getLabelStyle,fixedHeader:t.getFixedHeader,progress:t.getProgress,refresh:t.getRefresh,search:t.getSearch,notify:t.getNotify,fullScreeen:t.getFullScreeen,lock:t.getLock,lockScreen:t.getLockScreen,unlockScreenPwd:t.getUnlockScreenPwd,pageAnimation:t.getPageAnimation,settingPageStyle:t.getSettingPageStyle,settingAnimation:t.getSettingAnimation,settingWidth:t.getSettingWidth}),y=[{value:"Y9Default",label:"左右"},{value:"Y9Horizontal",label:"上下"},{value:"Y9Default sidebar-separate",label:"浮动"}],_=[{value:"简体中文",label:"zh"},{value:"English",label:"en"}],$=[{value:"小",label:"small"},{value:"中",label:"default"},{value:"大",label:"large"}],g=[{value:"theme-default",label:"默认"},{value:"theme-green",label:"绿"},{value:"theme-blue",label:"蓝"}],b=[{value:"ltr",label:"左移入效果"},{value:"rtl",label:"右移入效果"},{value:"ttb",label:"下拉效果"},{value:"btt",label:"上拉效果"}];let f=[new URL("/interface/assets/menu-bg5-93a7b1e7.png",self.location).href,new URL("data:image/png;base64,UklGRq4CAABXRUJQVlA4IKICAADQSgCdASqQASoDPpVKo02lpCMiIAgAsBKJaW7hd2EbQAecQ133nqKn7z1FT956ip9M1c+av868XJyHvtk5D4adsl2vFych77ZOTxwi5OQ99snIe+2hyG14uTkPfbJyHw07ZLteLk5D32ycnjhFych77ZOQ99tDkNrxcnIe+2TkPhp2yXa8XJyHvtk5PHCLk5D32ych77aHIbXi5OQ99snIfDTtku14uTkPfbJyeOEXJyHvtk5D320OQ2vFych77ZOQ+GnbJdrxcnIe+2Tk8cIuTkPfbJyHvtochteLk5D32ych8NO2S7Xi5OQ99snJ44RcnIe+2TkPfbQ5Da8XJyHvtk5D4adsl2vFych77ZOTxwi5OQ99snIe+2hyG14uTkPfbJyHw07ZLteLk5D32ycnjhFych77ZOQ99tDkNrxcnIe+2TkPhp2yXa8XJyHvtk5PHCLk5D32ych77aHIbXi5OQ99snIfDTtku14uTkPfbJyeOEXJyHvtk5D320OQ2vFych77ZOQ+GnbJdrxcnIe+2Tk8cIuTkPfbJyHvtochteLk5D32ych8NO2S7Xi5OQ99snJ44RcnIe+2TkPfbQ5Da8XJyHvtk5D4adsl2vFych77ZOTxwi5OQ99snIe+2hyG14uTkPfbJyHw07ZLteLk5D32ycnjhFych77ZOQ99tDkNrxcnIe+2TkPhp2yXa8XJyHvtk5PHCLk5D32ych77aHIbXi5OQ99snIfDTtku14uTkPfbJyeOEXJyHvtk5D320OQ2vFych77ZOQ+FIETCkjxDrJtsBVk22AqybWgAAP72OkuJowvX/615+w8rQyd1MtB+d2Vdw4wuijwp4WjAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPXAAAAA==",self.location).href,new URL("/interface/assets/menu-bg8-39d6e725.png",self.location).href,new URL("/interface/assets/menu-bg9-8523f483.png",self.location).href,new URL("/interface/assets/menu-bg10-6152cf9b.png",self.location).href];const S=A(()=>t.getMenuBg);function C(){S.value&&(f.unshift(S.value),f=[...new Set(f)])}C();const q=[{key:"bg1",src:f[0]},{key:"bg2",src:f[1]},{key:"bg3",src:f[2]},{key:"bg4",src:f[3]},{key:"bg5",src:f[4]},{key:"bg6",src:f[5]},{key:"bg7",src:f[6]},{key:"bg8",src:f[7]},{key:"bg9",src:f[8]},{key:"bg10",src:f[9]}],G=[{value:"60%",label:"60%"},{value:"70%",label:"70%"},{value:"80%",label:"80%"},{value:"90%",label:"90%"},{value:"100%",label:"100%"}],le=[{value:"ltr",label:"左移入效果"},{value:"rtl",label:"右移入效果"},{value:"ttb",label:"下拉效果"},{value:"btt",label:"上拉效果"}],z=Ie([{value:"15%",label:"15%"},{value:"20%",label:"20%"},{value:"25%",label:"25%"},{value:"30%",label:"30%"}]);Q(i,(k,s)=>{k==="ttb"||k==="btt"?(z[0].label="40%",z[1].label="50%",z[2].label="60%",z[3].label="70%",z[0].value="40%",z[1].value="50%",z[2].value="60%",z[3].value="70%"):(z[0].label="15%",z[1].label="20%",z[2].label="25%",z[3].label="30%",z[0].value="15%",z[1].value="20%",z[2].value="25%",z[3].value="30%"),n.settingWidth=z[1].value,w("settingWidth")});const w=k=>{if(k=="pcLayout"){let s=t.getAllPcLayoutList||[],V="interface",R={name:V,value:n.pcLayout},D=!1;for(let W=0;W<s.length;W++)if(s[W].name==V){D=!0,s[W]=R;break}D||s.push(R),t.$patch({allLayoutList:s})}t.$patch({[k]:n[k]})},ee=()=>{},oe=()=>{t.$patch({allPcLayout:n.allPcLayout,webName:n.webName,logoSvgName:n.logoSvgName,webLanguage:n.webLanguage,fontSize:t.getFontSize,themeName:n.themeName,menuAnimation:n.menuAnimation,menuStyle:n.menuStyle,menuWidth:n.menuWidth,showLabel:n.showLabel,showLabelIcon:n.showLabelIcon,labelStyle:n.labelStyle,fixedHeader:n.fixedHeader,progress:n.progress,refresh:n.refresh,search:n.search,notify:n.notify,fullScreeen:n.fullScreeen,lock:n.lock,pageAnimation:n.pageAnimation,settingPageStyle:n.settingPageStyle,settingAnimation:n.settingAnimation,settingWidth:n.settingWidth}),u.value=!1};function Ue(k){const s=k.target;if(!Array.from(s.classList).includes("selected")){const V=s.style.backgroundImage.split('"')[1];t.$patch({menuBg:V||""})}}return(k,s)=>{const V=ut,R=it,D=rt,W=dt,ae=ct,qe=mt,K=pt,We=ue,Ke=ft,Qe=Ve,Ce=ie,Xe=gt,Ye=de;return d(),I(Ye,{"custom-class":"indexlayout-settings",class:"index-layout-setting-list",title:k.$t("网站设置"),modelValue:u.value,"onUpdate:modelValue":s[34]||(s[34]=a=>u.value=a),direction:i.value,size:p.value!=="mobile"?m.value:"68%","z-index":2e3},{default:r(()=>[o(Ke,{id:"webSettingForm"},{default:r(()=>[o(D,{label:k.$t("布局"),rules:[{required:!0}]},{default:r(()=>[o(R,{modelValue:n.pcLayout,"onUpdate:modelValue":s[0]||(s[0]=a=>n.pcLayout=a),placeholder:"选择",disabled:p.value==="mobile",onChange:s[1]||(s[1]=a=>w("pcLayout"))},{default:r(()=>[(d(),v(T,null,P(y,a=>o(V,{key:a.value,label:k.$t(`${a.label}`),value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue","disabled"])]),_:1},8,["label"]),o(D,{label:k.$t("语言"),rules:[{required:!0}]},{default:r(()=>[o(ae,{modelValue:n.webLanguage,"onUpdate:modelValue":s[2]||(s[2]=a=>n.webLanguage=a),onChange:s[3]||(s[3]=a=>w("webLanguage"))},{default:r(()=>[(d(),v(T,null,P(_,a=>o(W,{label:a.label,key:a.label,size:"large"},{default:r(()=>[M(h(a.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("字号"),rules:[{required:!0}]},{default:r(()=>[o(ae,{modelValue:n.fontSize,"onUpdate:modelValue":s[4]||(s[4]=a=>n.fontSize=a),onChange:s[5]||(s[5]=a=>w("fontSize"))},{default:r(()=>[(d(),v(T,null,P($,a=>o(W,{label:a.label,key:a.label,size:"large"},{default:r(()=>[M(h(k.$t(`${a.value}`)),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("主题"),rules:[{required:!0}]},{default:r(()=>[o(R,{modelValue:n.themeName,"onUpdate:modelValue":s[6]||(s[6]=a=>n.themeName=a),placeholder:"选择",onChange:s[7]||(s[7]=a=>w("themeName"))},{default:r(()=>[(d(),v(T,null,P(g,a=>o(V,{key:a.value,label:k.$t(`${a.label}`),value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("菜单背景")},{default:r(()=>[o(qe,null,{default:r(()=>[l("div",{class:"menu-bg-content",onClick:Ue},[l("div",{class:N({item:!0,"item-off":!!S.value,selected:S.value===""})},null,2),(d(),v(T,null,P(q,a=>l("div",{key:a.key,style:H({backgroundImage:"url("+a.src+")",backgroundSize:"cover"}),class:N({item:!0,selected:S.value===a.src})},null,6)),64))])]),_:1})]),_:1},8,["label"]),F(o(D,{label:k.$t("菜单动画")},{default:r(()=>[o(R,{modelValue:n.menuAnimation,"onUpdate:modelValue":s[8]||(s[8]=a=>n.menuAnimation=a),placeholder:"选择",onChange:s[9]||(s[9]=a=>w("menuAnimation"))},{default:r(()=>[(d(),v(T,null,P(b,a=>o(V,{key:a.value,label:k.$t(`${a.label}`),value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["label"]),[[E,p.value==="mobile"]]),F(o(D,{label:k.$t("菜单宽度")},{default:r(()=>[o(R,{modelValue:n.menuWidth,"onUpdate:modelValue":s[10]||(s[10]=a=>n.menuWidth=a),placeholder:"选择",onChange:s[11]||(s[11]=a=>w("menuWidth"))},{default:r(()=>[(d(),v(T,null,P(G,a=>o(V,{key:a.value,label:a.label,value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["label"]),[[E,p.value==="mobile"]]),o(D,{label:k.$t("设置动画")},{default:r(()=>[o(R,{modelValue:n.settingAnimation,"onUpdate:modelValue":s[12]||(s[12]=a=>n.settingAnimation=a),placeholder:"选择",onChange:s[13]||(s[13]=a=>w("settingAnimation"))},{default:r(()=>[(d(),v(T,null,P(le,a=>o(V,{key:a.value,label:k.$t(`${a.label}`),value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("设置宽度")},{default:r(()=>[o(R,{modelValue:n.settingWidth,"onUpdate:modelValue":s[14]||(s[14]=a=>n.settingWidth=a),placeholder:"选择",disabled:p.value==="mobile",onChange:s[15]||(s[15]=a=>w("settingWidth"))},{default:r(()=>[(d(!0),v(T,null,P(z,a=>(d(),I(V,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1},8,["label"]),o(D,{label:k.$t("头部固定")},{default:r(()=>[o(K,{modelValue:n.fixedHeader,"onUpdate:modelValue":s[16]||(s[16]=a=>n.fixedHeader=a),onChange:s[17]||(s[17]=a=>w("fixedHeader"))},null,8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("进度条")},{default:r(()=>[o(K,{modelValue:n.progress,"onUpdate:modelValue":s[18]||(s[18]=a=>n.progress=a),onChange:s[19]||(s[19]=a=>w("progress"))},null,8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("刷新")},{default:r(()=>[o(K,{modelValue:n.refresh,"onUpdate:modelValue":s[20]||(s[20]=a=>n.refresh=a),onChange:s[21]||(s[21]=a=>w("refresh"))},null,8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("全屏")},{default:r(()=>[o(K,{modelValue:n.fullScreeen,"onUpdate:modelValue":s[22]||(s[22]=a=>n.fullScreeen=a),onChange:s[23]||(s[23]=a=>w("fullScreeen"))},null,8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("页面动画")},{default:r(()=>[o(K,{modelValue:n.pageAnimation,"onUpdate:modelValue":s[24]||(s[24]=a=>n.pageAnimation=a),onChange:s[25]||(s[25]=a=>w("pageAnimation"))},null,8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("锁屏功能")},{default:r(()=>[o(K,{modelValue:n.lock,"onUpdate:modelValue":s[26]||(s[26]=a=>n.lock=a),onChange:s[27]||(s[27]=a=>w("lock"))},null,8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("锁屏")},{default:r(()=>[o(K,{modelValue:n.lockScreen,"onUpdate:modelValue":s[28]||(s[28]=a=>n.lockScreen=a),onChange:s[29]||(s[29]=a=>w("lockScreen"))},null,8,["modelValue"])]),_:1},8,["label"]),o(D,{label:k.$t("锁屏密码")},{default:r(()=>[o(We,{style:{width:"60%"},modelValue:n.unlockScreenPwd,"onUpdate:modelValue":s[30]||(s[30]=a=>n.unlockScreenPwd=a),type:"password","show-password":"",onChange:s[31]||(s[31]=a=>w("unlockScreenPwd")),placeholder:n.unlockScreenPwd},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1}),o(Qe),o(Xe,{class:"mb-4",style:{"justify-content":"end"}},{default:r(()=>[o(Ce,{style:{"background-color":"var(--el-color-primary)",color:"#fff"},onClick:s[32]||(s[32]=a=>oe())},{default:r(()=>[M(h(k.$t("保存")),1)]),_:1}),o(Ce,{onClick:s[33]||(s[33]=a=>ee())},{default:r(()=>[M(h(k.$t("恢复默认")),1)]),_:1})]),_:1})]),_:1},8,["title","modelValue","direction","size"])}}});const Se=L(fn,[["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/SettingsMobile.vue"]]),he=O({name:"BreadCrumbs",data(){return{}},props:{layoutSubName:{type:String,required:!0},list:{type:Array,default:()=>[]},menuCollapsed:{type:Boolean,required:!0}},components:{ALink:He},setup(e){return{fontSizeObj:J("sizeObjInfo")}}}),Fe=()=>{U(e=>({"44d40279-fontSizeObj.largerFontSize":e.fontSizeObj.largerFontSize,"44d40279-fontSizeObj.baseFontSize":e.fontSizeObj.baseFontSize}))},Ee=he.setup;he.setup=Ee?(e,t)=>(Fe(),Ee(e,t)):Fe;const gn=he;const bn={class:"title"},vn={style:{display:"flex","align-items":"center",cursor:"pointer"}};function yn(e,t,u,i,m,p){const n=x("a-link"),y=bt,_=vt;return d(),v("div",{id:"breadcrumbs",class:N({breadcrumbs:!0,"sidebar-separate-uncollapsed":!e.menuCollapsed&&e.layoutSubName==="sidebar-separate","sidebar-separate-menuCollapsed":e.menuCollapsed&&e.layoutSubName==="sidebar-separate"})},[l("span",bn,h(e.$t(`${e.list[0].meta.title}`)),1),l("div",vn,[t[0]||(t[0]=l("i",{class:"ri-map-pin-line ri-lx",style:{color:"var(--el-color-primary)"}},null,-1)),t[1]||(t[1]=M("    ")),o(_,null,{default:r(()=>[(d(!0),v(T,null,P(e.list,$=>(d(),I(y,{key:$.path},{default:r(()=>[o(n,{to:$.path,class:"title-link"},{default:r(()=>[M(h(e.$t(`${$.meta.title}`)),1)]),_:2},1032,["to"])]),_:2},1024))),128))]),_:1})])],2)}const ke=L(gn,[["render",yn],["__scopeId","data-v-44d40279"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/BreadCrumbs/index.vue"]]),_n=O({__name:"index",setup(e){const t=j(),u=B(!1),i=B(""),m=()=>{const p="https://www.youshengyun.com/datacenter/officeInfo/goToSearchResult?searchName=";window.open(p+i.value,"_search")};return ce(()=>{setTimeout(()=>{var p;(p=document.getElementsByClassName("search")[0])==null||p.addEventListener("click",()=>{u.value||(u.value=!0)})},500)}),(p,n)=>{const y=ie,_=ue,$=de;return d(),I($,{"z-index":9e3,modelValue:c(u),"onUpdate:modelValue":n[3]||(n[3]=g=>se(u)?u.value=g:null),"show-close":!1,direction:"ttb"},{default:r(()=>[l("div",{class:N({search:!0,"is-pc":c(t).getDevice==="pc"})},[o(_,{modelValue:c(i),"onUpdate:modelValue":n[0]||(n[0]=g=>se(i)?i.value=g:null),placeholder:"Please Input",class:"input",onChange:n[1]||(n[1]=g=>(u.value=!1,m())),onFocus:n[2]||(n[2]=g=>i.value="")},{append:r(()=>[o(y,{icon:c(_t)},null,8,["icon"])]),_:1},8,["modelValue"])],2)]),_:1},8,["modelValue"])}}});const $e=L(_n,[["__scopeId","data-v-9bf41169"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/components/search/index.vue"]]),Sn={id:"indexlayout-left"},hn={id:"indexlayout-right",class:"right"},kn=O({__name:"index",props:{layoutName:{type:String,required:!0},layoutSubName:{type:String,required:!0},menuData:{type:Object,required:!0},menuCollapsed:{type:Boolean,required:!0},belongTopMenu:{type:String,required:!0},defaultActive:{type:String,required:!0},breadCrumbs:{type:Array,required:!0},routeItem:{type:Object,required:!0}},setup(e){const t=j(),u=Ne(),i=A(()=>t.getSettingPageStyle);A(()=>t.getShowLabel);const m=A(()=>t.getLayout);function p(){const _=document.getElementById("indexlayout-left").classList,$=window.scrollY,g=Array.from(_).includes("fixed-header-after-scroll");if($>50&&!g&&(document.getElementById("indexlayout-left").className+=" fixed-header-after-scroll",t.menuCollapsed&&(document.getElementById("indexlayout-left").children[0].style.width="68px")),$<50&&g){let b=document.getElementById("indexlayout-left").className.split("fixed-header-after-scroll"),f="";b.forEach(S=>{f+=S}),document.getElementById("indexlayout-left").className=f,t.menuCollapsed&&(document.getElementById("indexlayout-left").children[0].style.width="")}}m.value.indexOf("sidebar-separate")>0&&window.addEventListener("scroll",p,!1),Q(m,(_,$)=>{_.indexOf("sidebar-separate")>0?window.addEventListener("scroll",p,!1):window.removeEventListener("scroll",p,!1)});const n=B(0);function y(){n.value++}return(_,$)=>{const g=x("router-view");return d(),v(T,null,[l("div",{id:"indexlayout",class:N({fixedHeader:!c(t).getFixedHeader,"fixedHeader-menuCollapsed":c(t).getMenuCollapsed&&!c(t).getFixedHeader,[m.value]:!0})},[l("div",Sn,[o(Gt,{layoutSubName:e.layoutSubName,menuCollapsed:e.menuCollapsed,belongTopMenu:e.belongTopMenu,defaultActive:e.defaultActive,menuData:e.menuData},null,8,["layoutSubName","menuCollapsed","belongTopMenu","defaultActive","menuData"])]),l("div",hn,[o(pn,{menuCollapsed:e.menuCollapsed,onRefresh:y},null,8,["menuCollapsed"]),(d(),I(Z(ke),{layoutSubName:e.layoutSubName,list:e.breadCrumbs,menuCollapsed:e.menuCollapsed},null,8,["layoutSubName","list","menuCollapsed"])),(d(),v("div",{class:N({"indexlayout-right-main":!0,"sidebar-separate":e.layoutSubName==="sidebar-separate","sidebar-separate-menuCollapsed":e.menuCollapsed&&e.layoutSubName==="sidebar-separate","tabs-position-left":c(u).getTabs.length&&c(t).getLabelStyle==="left","tabs-position-right":c(u).getTabs.length&&c(t).getLabelStyle==="right"}),key:c(n)},[(d(),I(g,{key:_.$route.path}))],2))])],2),(d(),I(Z(i.value==="Admin-plus"?Se:""))),F(o(be,null,null,512),[[E,c(t).getLockScreen]]),o($e)],64)}}});const $n=L(kn,[["__scopeId","data-v-a7cf7f58"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/Y9-default/index.vue"]]),Cn={id:"header-menus"},wn=O({__name:"Navs",props:{menuCollapsed:{type:Boolean,default:!1},belongTopMenu:{type:String,default:""},defaultActive:{type:String,default:""},menuData:{type:Array,default:()=>[]}},setup(e){U(u=>({"2b11b386-fontSizeObj.largeFontSize":c(t).largeFontSize}));const t=J("sizeObjInfo");return(u,i)=>(d(),v("div",Cn,[o(ye,{menuCollapsed:e.menuCollapsed,belongTopMenu:e.belongTopMenu,defaultActive:e.defaultActive,menuData:e.menuData,menuMode:"horizontal"},null,8,["menuCollapsed","belongTopMenu","defaultActive","menuData"])]))}});const An=L(wn,[["__scopeId","data-v-2b11b386"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/Y9-horizontal/Navs.vue"]]),In={id:"right-top"},zn={class:"left"},Ln={class:"right"},Dn={class:"item web-setting"},On={class:"item user"},Tn={class:"item user"},Mn=O({__name:"RightTop",emits:["refresh"],setup(e,{emit:t}){U(f=>({"1593e800-fontSizeObj.extraLargeFont":c(i).extraLargeFont,"1593e800-fontSizeObj.baseFontSize":c(i).baseFontSize,"1593e800-fontSizeObj.lineHeight":c(i).lineHeight}));const u=j(),i=J("sizeObjInfo"),{isFullscreen:m,toggle:p}=me(),n=p,y=pe({selector:"html",valueDark:"theme-dark",valueLight:""});fe(y);const _=()=>{u.$patch({lockScreen:!0})},$=t,g=()=>{$("refresh")},b=Y.getObjectItem("ssoUserInfo");return(f,S)=>{const C=re;return d(),v("div",In,[l("div",zn,[l("span",null,h(f.$t("数字底座")),1)]),l("div",Ln,[l("div",{class:"item full-screen",onClick:S[0]||(S[0]=(...q)=>c(n)&&c(n)(...q))},[S[1]||(S[1]=l("i",{class:"ri-fullscreen-line"},null,-1)),l("span",null,h(f.$t("全屏")),1)]),F(l("div",{class:"item",onClick:_},[S[2]||(S[2]=l("i",{class:"ri-lock-2-line"},null,-1)),l("span",null,h(f.$t("锁屏")),1)],512),[[E,c(u).getLock]]),l("div",Dn,[S[3]||(S[3]=l("i",{class:"ri-edit-box-line"},null,-1)),l("span",null,h(f.$t("设置")),1)]),F(l("div",{class:"item",onClick:g},[S[4]||(S[4]=l("i",{class:"ri-refresh-line"},null,-1)),l("span",null,h(f.$t("刷新")),1)],512),[[E,c(u).getRefresh]]),l("div",On,[o(ne,{style:{"z-index":"9999"}})]),l("div",Tn,[o(C,{src:c(b).avator?c(b).avator:""},{default:r(()=>[M(h(c(b).loginName?c(b).loginName:"游"),1)]),_:1},8,["src"])])])])}}});const Fn=L(Mn,[["__scopeId","data-v-1593e800"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/Y9-horizontal/RightTop.vue"]]),En={id:"indexlayout-right"},jn=O({__name:"index",props:{menuData:{type:Object,required:!0},menuCollapsed:Boolean,belongTopMenu:{type:String,required:!0},defaultActive:{type:String,required:!0},breadCrumbs:{type:Array,required:!0},routeItem:{type:Object,required:!0}},setup(e){const t=j(),u=A(()=>t.getSettingPageStyle),i=B(0);function m(){i.value++}return(p,n)=>{const y=x("router-view");return d(),v(T,null,[l("div",{id:"indexlayout",class:N({"fixed-header":c(t).getFixedHeader})},[l("div",En,[o(Fn,{onRefresh:m}),o(An,{menuCollapsed:e.menuCollapsed,belongTopMenu:e.belongTopMenu,defaultActive:e.defaultActive,menuData:e.menuData},null,8,["menuCollapsed","belongTopMenu","defaultActive","menuData"]),o(ke,{list:e.breadCrumbs,menuCollapsed:e.menuCollapsed},null,8,["list","menuCollapsed"]),(d(),v("div",{class:"indexlayout-right-main",key:c(i)},[(d(),I(y,{key:p.$route.path}))]))])],2),(d(),I(Z(c(u)==="Admin-plus"?Se:""))),F(o(be,null,null,512),[[E,c(t).getLockScreen]]),o($e)],64)}}});const Nn=L(jn,[["__scopeId","data-v-0db72f9e"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/Y9-horizontal/index.vue"]]),Pn="/interface/assets/yunLogo-78ed2c67.png",Vn={class:"indexlayout-left-logo"},Bn={key:0,class:"logo-title"},xn={class:"indexlayout-left-menu"},Rn=O({__name:"Left",props:{menuCollapsed:{type:Boolean,required:!0},belongTopMenu:{type:String,default:""},defaultActive:{type:String,default:""},menuData:{type:Array,default:()=>[]},layoutSubName:{type:String,required:!0}},setup(e){U(u=>({"927855bb-fontSizeObj.largeFontSize":c(t).largeFontSize}));const t=J("sizeObjInfo");return(u,i)=>{const m=x("router-link");return d(),v("div",{id:"indexlayout-left",class:N({narrow:e.menuCollapsed,"sidebar-separate":e.layoutSubName==="sidebar-separate"})},[l("div",Vn,[o(m,{to:"/",class:"logo-url"},{default:r(()=>[i[0]||(i[0]=l("img",{alt:"y9-logo",src:Pn},null,-1)),e.menuCollapsed?X("",!0):(d(),v("span",Bn,h(u.$t("数字底座")),1))]),_:1})]),l("div",xn,[o(ye,{menuCollapsed:e.menuCollapsed,belongTopMenu:e.belongTopMenu,defaultActive:e.defaultActive,menuData:e.menuData},null,8,["menuCollapsed","belongTopMenu","defaultActive","menuData"])])],2)}}});const Hn=L(Rn,[["__scopeId","data-v-927855bb"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/Y9-mobile/Left.vue"]]),Jn={id:"right-top"},Un={class:"left"},qn={key:0,class:"ri-menu-fold-line"},Wn={key:1,class:"ri-menu-unfold-line"},Kn={class:"right"},Qn={class:"item web-setting"},Xn=O({__name:"RightTop",props:{menuCollapsed:{type:Boolean,default:!1}},setup(e){U(b=>({"22d6a58d-fontSizeObj.extraLargeFont":c(p).extraLargeFont,"22d6a58d-fontSizeObj.baseFontSize":c(p).baseFontSize}));const{isFullscreen:t,toggle:u}=me(),i=u,m=j(),p=J("sizeObjInfo"),{toggleCollapsed:n}=m,y=()=>{n()},_=pe({selector:"html",valueDark:"theme-dark",valueLight:""});fe(_);const $=()=>{m.$patch({lockScreen:!0})},g=()=>{window.location=window.location.href};return(b,f)=>(d(),v("div",Jn,[l("div",Un,[l("div",{class:"indexlayout-flexible",onClick:y},[e.menuCollapsed?(d(),v("i",qn)):(d(),v("i",Wn))])]),l("div",Kn,[F(l("div",{class:"item",onClick:g},f[1]||(f[1]=[l("i",{class:"ri-refresh-line"},null,-1),l("span",null,null,-1)]),512),[[E,c(m).getRefresh]]),F(l("div",{class:"item",onClick:$},f[2]||(f[2]=[l("i",{class:"ri-lock-2-line"},null,-1),l("span",null,null,-1)]),512),[[E,c(m).getLock]]),l("div",{class:"item full-screen",onClick:f[0]||(f[0]=(...S)=>c(i)&&c(i)(...S))},[f[3]||(f[3]=l("i",{class:"ri-fullscreen-line"},null,-1)),F(l("span",null,h(b.$t("全屏")),513),[[E,c(m).getWindowWidth>425]])]),l("div",Qn,[f[4]||(f[4]=l("i",{class:"ri-edit-box-line"},null,-1)),F(l("span",null,h(b.$t("设置")),513),[[E,c(m).getWindowWidth>425]])]),l("div",{class:N({item:!0,user:!0,"user-mobile":c(m).getWindowWidth>425})},[o(ne)],2)])]))}});const Yn=L(Xn,[["__scopeId","data-v-22d6a58d"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/Y9-mobile/RightTop.vue"]]),Zn={id:"indexlayout"},Gn={style:{position:"fixed",left:"var(--el-dialog-padding-primary)",top:"4px"}},el={id:"indexlayout-right",class:"fiexd-header"},tl={class:N({"indexlayout-right-main":!0})},nl=O({__name:"index",props:{layoutSubName:{type:String,required:!0},menuData:{type:Object,required:!0},menuCollapsed:{type:Boolean,required:!0},belongTopMenu:{type:String,required:!0},defaultActive:{type:String,required:!0},breadCrumbs:{type:Array,required:!0},routeItem:{type:Object,required:!0}},setup(e){Pe();const t=j(),u=A(()=>t.getMenuAnimation),i=A(()=>t.getMenuWidth),m=A(()=>t.getMenuCollapsed),p=()=>{t.$patch({menuCollapsed:!1})};return(n,y)=>{const _=de,$=x("router-view");return d(),v(T,null,[l("div",Zn,[o(_,{"z-index":"2000",modelValue:m.value,"onUpdate:modelValue":y[0]||(y[0]=g=>m.value=g),size:i.value,onClose:p,direction:u.value},{default:r(()=>[l("div",Gn,[o(ne)]),o(Hn,{layoutSubName:e.layoutSubName,menuCollapsed:!e.menuCollapsed,belongTopMenu:e.belongTopMenu,defaultActive:e.defaultActive,menuData:e.menuData},null,8,["layoutSubName","menuCollapsed","belongTopMenu","defaultActive","menuData"])]),_:1},8,["modelValue","size","direction"]),l("div",el,[o(Yn,{menuCollapsed:e.menuCollapsed,style:{"z-index":"1999"}},null,8,["menuCollapsed"]),l("div",tl,[o(ke,{list:e.breadCrumbs},null,8,["list"]),(d(),I($,{key:n.$route.path}))])]),o(Se)]),F(o(be,null,null,512),[[E,c(t).getLockScreen]]),o($e)],64)}}});const ll=L(nl,[["__scopeId","data-v-2db14cd4"],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/Y9-mobile/index.vue"]]);j();const ol={name:"indexLayout",components:{Y9Default:$n,Y9Horizontal:Nn,Y9Mobile:ll},setup(){const{locale:e}=St(),t=j(),u=B(""),i=A(()=>{t.getLayout==="Y9Horizontal"&&t.$patch({menuCollapsed:!1});const w=t.getLayout.split(" ");return w[1]?u.value=w[1]:u.value="",w[0]}),m=A(()=>t.getThemeName);Q(m,()=>{if(document.getElementsByTagName("html")[0].className=m.value,document.getElementById("head")){let w=document.getElementById("head"),ee=w.href.split("/");ee[ee.length-1]=m.value+".css";let oe=ee.join("/");w.href=oe}}),t.getDevice==="mobile"&&t.$patch({layout:"Y9Mobile",settingWidth:"100%"});const{toggleDevice:p}=t;let n;const y=()=>{n&&clearTimeout(n),n=setTimeout(()=>{p()},250)};t.$subscribe(y);const _=A(()=>t.getMenuCollapsed),$=Ne(),g=$.getPermissionRoutes;let b=Pe();const f=A(()=>ge(b.path,g)),S=A(()=>kt(f.value.path)),C=A(()=>xe(f.value)),q=B(ze(f.value)),{addTab:G}=$;Q([f],async()=>{G(c(f)),await yt(),q.value=ze(f.value)});const le=A(()=>Ct(f.value,S.value,g));ce(()=>{document.getElementsByTagName("html")[0].className=m.value});const z=A(()=>t.getWebLanguage);return Q(z,()=>{e.value=z.value}),{layoutName:i,layoutSubName:u,menuData:g,menuCollapsed:_,belongTopMenu:C,defaultActive:q,breadCrumbs:le,routeItem:f}}};function al(e,t,u,i,m,p){return d(),I(Z(i.layoutName),{key:i.layoutName,layoutName:i.layoutName,layoutSubName:i.layoutSubName,menuCollapsed:i.menuCollapsed,belongTopMenu:i.belongTopMenu,defaultActive:i.defaultActive,menuData:i.menuData,breadCrumbs:i.breadCrumbs,routeItem:i.routeItem,ref:"indexLayoutRef"},null,8,["layoutName","layoutSubName","menuCollapsed","belongTopMenu","defaultActive","menuData","breadCrumbs","routeItem"])}const Pl=L(ol,[["render",al],["__file","E:/workSpaceJDK11/y9-interface-platform/y9vue-interfacePlatform/src/layouts/index.vue"]]);export{Pl as default};