diff --git a/docs/assets/403.b8410aab.js b/docs/assets/403.0fb5bc82.js similarity index 90% rename from docs/assets/403.b8410aab.js rename to docs/assets/403.0fb5bc82.js index 3925f4c..ff38ede 100644 --- a/docs/assets/403.b8410aab.js +++ b/docs/assets/403.0fb5bc82.js @@ -1 +1 @@ -import{_,r as o,o as d,c as i,a as s,b as n,w as l,d as r,e as p,p as h,f as v}from"./index.12d7036b.js";const u="/vue-admin-perfect/assets/403.359d32ca.png",e="/vue-admin-perfect/assets/403_cloud.98e7ac66.png";const m={},c=t=>(h("data-v-662eb5d8"),t=t(),v(),t),b={class:"app-container"},f={class:"app-container-inner"},g={class:"wscn-http403-container"},x={class:"wscn-http403"},w=r('
{if(eo(s)){let c=o(n,s,i);c.length&&(l[i]||(l[i]={idx:i,item:s,matches:[]},a.push(l[i])),c.forEach(({matches:f})=>{l[i].matches.push(...f)}))}}),a}_searchObjectList(t){const n=p1(t,this.options),{keys:o,records:r}=this._myIndex,l=[];return r.forEach(({$:a,i:s})=>{if(!eo(a))return;let i=[];o.forEach((c,f)=>{i.push(...this._findMatches({key:c,value:a[f],searcher:n}))}),i.length&&l.push({idx:s,item:a,matches:i})}),l}_findMatches({key:t,value:n,searcher:o}){if(!eo(n))return[];let r=[];if(wr(n))n.forEach(({v:l,i:a,n:s})=>{if(!eo(l))return;const{isMatch:i,score:c,indices:f}=o.searchIn(l);i&&r.push({score:c,key:t,value:l,idx:a,norm:s,indices:f})});else{const{v:l,n:a}=n,{isMatch:s,score:i,indices:c}=o.searchIn(l);s&&r.push({score:i,key:t,value:l,norm:a,indices:c})}return r}}ms.version="6.6.2";ms.createIndex=C7;ms.parseIndex=Hke;ms.config=bt;ms.parseQuery=E7;tEe(eEe);const iEe={class:"m-headerSearch"},uEe=Z({__name:"HeaderSearch",setup(e){const t=Xl(),n=z(!1),o=z([]),r=z([]),l=z(""),a=z(null),s=vl(),i=E(()=>s.routes),c=()=>{n.value=!0},f=h=>{a.value=new ms(h,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})};_e(r,h=>{f(h)});const d=(h,m="/",_=[])=>{let g=[];for(const y of h){if(y.hidden)continue;const b={path:v7.resolve(m,y.path),title:[..._]};if(y.meta&&y.meta.title&&(b.title=[...b.title,y.meta.title],y.redirect!=="noRedirect"&&g.push(b)),y.children){const C=d(y.children,b.path,b.title);C.length>=1&&(g=[...g,...C])}}return g},p=h=>{h&&t.push({path:h}),o.value=[],l.value="",n.value=!1};tt(()=>{r.value=d(JSON.parse(JSON.stringify(i.value)))});const v=h=>{h!==""?o.value=a.value.search(h):o.value=[]};return(h,m)=>{const _=Ie("Search"),g=Ie("el-icon"),y=Ie("el-tooltip"),b=Ie("el-option"),C=Ie("el-select"),$=Ie("el-dialog");return w(),M("div",iEe,[R(y,{effect:"dark",content:"\u83DC\u5355\u641C\u7D22",placement:"bottom"},{default:q(()=>[R(g,{class:"bell header-icon",style:{"font-size":"22px"},onClick:c},{default:q(()=>[R(_)]),_:1})]),_:1}),R($,{modelValue:n.value,"onUpdate:modelValue":m[1]||(m[1]=k=>n.value=k),width:"600px","destroy-on-close":"","show-close":!1},{default:q(()=>[R(C,{style:{width:"100%"},ref:"headerSearchSelect",modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=k=>l.value=k),"remote-method":v,filterable:"","default-first-option":"",remote:"",placeholder:"\u83DC\u5355\u641C\u7D22 \uFF1A\u652F\u6301\u83DC\u5355\u540D\u79F0\u3001\u8DEF\u5F84",class:"header-search-select",onChange:p},{default:q(()=>[(w(!0),M(Re,null,pt(o.value,k=>(w(),se(b,{key:k.item.path,value:k.item.path,label:k&&k.item.title&&k.item.title.length&&k.item.title.join(" > ")},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])}}});const cEe=Zt(uEe,[["__scopeId","data-v-1e11e770"]]),dEe={class:"m-info"},fEe={class:"item-child"},pEe={class:"item-child"},hEe={class:"item-child"},vEe=Z({__name:"Remind",setup(e){const t=z("first"),n=r=>{window.open(r)},o=(r,l)=>{console.log(r,l)};return(r,l)=>{const a=Ie("Bell"),s=Ie("el-icon"),i=Ie("el-badge"),c=Ie("el-button"),f=Ie("el-divider"),d=Ie("el-tab-pane"),p=Ie("el-tabs"),v=Ie("el-popover");return w(),M("div",dEe,[R(v,{width:"200px",placement:"bottom"},{reference:q(()=>[R(i,{value:3,class:"item-info-pop"},{default:q(()=>[R(s,{class:"bell header-icon",style:{"font-size":"20px"}},{default:q(()=>[R(a)]),_:1})]),_:1})]),default:q(()=>[S("div",null,[R(p,{modelValue:t.value,"onUpdate:modelValue":l[3]||(l[3]=h=>t.value=h),class:"demo-tabs",onTabClick:o},{default:q(()=>[R(d,{label:"\u901A\u77E5",name:"first"},{default:q(()=>[S("div",fEe,[ot(" GitHub\u5F00\u6E90\u5730\u5740\uFF1A"),R(c,{type:"primary",link:"",onClick:l[0]||(l[0]=h=>n("https://github.com/zouzhibin/vue-admin-perfect"))},{default:q(()=>[ot("\u70B9\u6211")]),_:1})]),R(f,{style:{"margin-bottom":"15px"}}),S("div",pEe,[ot(" Gitee\u5F00\u6E90\u5730\u5740\uFF1A"),R(c,{type:"primary",link:"",onClick:l[1]||(l[1]=h=>n("https://gitee.com/yuanzbz/vue-admin-perfect"))},{default:q(()=>[ot("\u70B9\u6211")]),_:1})]),R(f),S("div",hEe,[ot(" github\u5F00\u6E90\u5730\u5740\uFF1A"),R(c,{type:"primary",link:"",onClick:l[2]||(l[2]=h=>n("https://github.com/zouzhibin/vue-admin-perfect"))},{default:q(()=>[ot("\u70B9\u6211")]),_:1})])]),_:1})]),_:1},8,["modelValue"])])]),_:1})])}}});const mEe=Zt(vEe,[["__scopeId","data-v-5d8c37a6"]]),gEe={class:"m-screenful"},_Ee=Z({__name:"ScreenFull",setup(e){const{toggle:t,isFullscreen:n}=rT();return(o,r)=>{const l=Ie("svg-icon"),a=Ie("el-tooltip");return w(),M("div",gEe,[R(a,{effect:"dark",content:"\u5168\u5C4F",placement:"bottom"},{default:q(()=>[R(l,{"icon-class":u(n)?"exit-fullscreen":"fullscreen",onClick:u(t),className:"header-icon"},null,8,["icon-class","onClick"])]),_:1})])}}});const yEe=Zt(_Ee,[["__scopeId","data-v-9ae0d4a8"]]),bEe={class:"m-setting"},wEe=Z({__name:"Setting",setup(e){const t=kn(),n=(o,r)=>{t.setThemeConfig({key:o,val:r})};return(o,r)=>{const l=Ie("Setting",!0),a=Ie("el-icon"),s=Ie("el-tooltip");return w(),M("div",bEe,[R(s,{effect:"dark",content:"\u4E3B\u9898\u8BBE\u7F6E",placement:"bottom"},{default:q(()=>[R(a,{style:{"font-size":"20px"},class:"bell header-icon"},{default:q(()=>[R(l,{onClick:r[0]||(r[0]=i=>n("showSetting",!0))})]),_:1})]),_:1})])}}});const CEe=Zt(wEe,[["__scopeId","data-v-dbf1a90e"]]),$Ee="/vue-admin-perfect/assets/avatar.31e95fb7.png",k4=Vi({id:"userState",state:()=>({token:null,userInfo:{},roles:localStorage.roles?JSON.parse(localStorage.roles):[]}),getters:{},actions:{login(e){const{username:t,password:n}=e;return new Promise(async(o,r)=>{this.token=t,this.userInfo=e,await this.getRoles(),o(t)})},getRoles(){return new Promise((e,t)=>{this.roles=["admin"],localStorage.roles=JSON.stringify(this.roles),e(this.roles)})},getInfo(e){return new Promise((t,n)=>{this.roles=e,t(e)})},logout(){return new Promise((e,t)=>{this.token=null,this.userInfo={},this.roles=[],e(null)})}},persist:{key:"userState",storage:window.localStorage}}),E4=Vi({id:"tagsViewState",state:()=>({activeTabsValue:"/home",visitedViews:[],cachedViews:[]}),getters:{},actions:{setTabsMenuValue(e){this.activeTabsValue=e},addView(e){this.addVisitedView(e)},removeView(e){return new Promise((t,n)=>{this.visitedViews=this.visitedViews.filter(o=>!e.includes(o.path)),t(null)})},addVisitedView(e){this.setTabsMenuValue(e.path),!this.visitedViews.some(t=>t.path===e.path)&&(this.visitedViews.push(Object.assign({},e,{title:e.meta.title||"no-name"})),e.meta.keepAlive&&this.cachedViews.push(e.name))},delView(e){return new Promise(t=>{this.delVisitedView(e),this.delCachedView(e),t({visitedViews:[...this.visitedViews],cachedViews:[...this.cachedViews]})})},toLastView(e){let t=this.visitedViews.findIndex(o=>o.path===e);const n=this.visitedViews[t+1]||this.visitedViews[t-1];!n||(rs.push(n.path),this.addVisitedView(n))},delVisitedView(e){return new Promise(t=>{this.visitedViews=this.visitedViews.filter(n=>n.path!==e||n.meta.affix),this.cachedViews=this.cachedViews.filter(n=>n.path!==e||n.meta.affix),t([...this.visitedViews])})},delCachedView(e){return new Promise(t=>{const n=this.cachedViews.indexOf(e.name);n>-1&&this.cachedViews.splice(n,1),t([...this.cachedViews])})},clearVisitedView(){this.delAllViews()},delAllViews(){return new Promise(e=>{this.visitedViews=this.visitedViews.filter(t=>t.meta.affix),this.cachedViews=this.visitedViews.filter(t=>t.meta.affix),e([...this.visitedViews])})},delOtherViews(e){this.visitedViews=this.visitedViews.filter(t=>t.path===e||t.meta.affix),this.cachedViews=this.visitedViews.filter(t=>t.path===e||t.meta.affix)},goHome(){this.activeTabsValue="/home",rs.push({path:"/home"})},updateVisitedView(e){for(let t of this.visitedViews)if(t.path===e.path){t=Object.assign(t,e);break}}}}),SEe={class:"dialog-footer"},kEe=Z({__name:"PersonalDialog",setup(e,{expose:t}){const n=z(!1),o=k4(),r=()=>{n.value=!0},l=z(""),a=z(),s=_t({name:o.userInfo.username,password:o.userInfo.password,configPassword:""}),i=_t({configPassword:[{required:!0,message:"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801",trigger:"blur"}]}),c=f=>{!f||f.validate(d=>{if(d)console.log("submit!");else return console.log("error submit!"),!1})};return t({show:r}),(f,d)=>{const p=Ie("el-input"),v=Ie("el-form-item"),h=Ie("el-form"),m=Ie("el-button"),_=Ie("el-dialog");return w(),se(_,{modelValue:n.value,"onUpdate:modelValue":d[5]||(d[5]=g=>n.value=g),title:"\u4FEE\u6539\u5BC6\u7801",width:"40%"},{footer:q(()=>[S("span",SEe,[R(m,{onClick:d[3]||(d[3]=g=>n.value=!1)},{default:q(()=>[ot("\u53D6\u6D88")]),_:1}),R(m,{type:"primary",onClick:d[4]||(d[4]=g=>c(a.value))},{default:q(()=>[ot("\u786E\u5B9A")]),_:1})])]),default:q(()=>[R(h,{ref_key:"ruleFormRef",ref:a,model:s,rules:i,"label-width":"120px",class:"demo-ruleForm",size:l.value},{default:q(()=>[R(v,{label:"\u59D3\u540D"},{default:q(()=>[R(p,{modelValue:s.name,"onUpdate:modelValue":d[0]||(d[0]=g=>s.name=g),disabled:""},null,8,["modelValue"])]),_:1}),R(v,{label:"\u65E7\u7684\u5BC6\u7801",prop:"password"},{default:q(()=>[R(p,{modelValue:s.password,"onUpdate:modelValue":d[1]||(d[1]=g=>s.password=g),type:"password"},null,8,["modelValue"])]),_:1}),R(v,{label:"\u65B0\u7684\u5BC6\u7801",prop:"configPassword"},{default:q(()=>[R(p,{modelValue:s.configPassword,"onUpdate:modelValue":d[2]||(d[2]=g=>s.configPassword=g),type:"password"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules","size"])]),_:1},8,["modelValue"])}}});const EEe=Zt(kEe,[["__scopeId","data-v-845d83a3"]]),MEe={class:"el-dropdown-link"},xEe=Z({__name:"Avatar",setup(e){const t=Xl(),n=k4(),o=E4(),r=vl(),l=E({get(){return n.roles[0]},set(d){(async()=>(await n.getInfo([d]),t.push({path:"/"}),location.reload()))()}}),a=d=>{d!==l.value&&(l.value=l.value==="admin"?"other":"admin")},s=E(()=>n.userInfo),i=z(),c=async()=>{j9.confirm("\u60A8\u662F\u5426\u786E\u8BA4\u9000\u51FA\u767B\u5F55?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{await n.logout(),await t.push({path:"/login"}),o.clearVisitedView(),r.clearRoutes(),h4({type:"success",message:"\u9000\u51FA\u767B\u5F55\u6210\u529F\uFF01"})}).catch(()=>{})},f=()=>{i.value.show()};return(d,p)=>{const v=Ie("el-avatar"),h=Ie("arrow-down"),m=Ie("el-icon"),_=Ie("el-dropdown-item"),g=Ie("Edit"),y=Ie("SwitchButton"),b=Ie("el-dropdown-menu"),C=Ie("el-dropdown");return w(),M(Re,null,[R(C,null,{dropdown:q(()=>[R(b,null,{default:q(()=>[R(_,{command:0,onClick:p[0]||(p[0]=$=>a("admin"))},{default:q(()=>[ot(Me(u(l)==="admin"?"\u5F53\u524D\u89D2\u8272":"\u5207\u6362\u89D2\u8272")+"\uFF1A\u7BA1\u7406\u5458 ",1)]),_:1}),R(_,{command:0,divided:"",onClick:p[1]||(p[1]=$=>a("other"))},{default:q(()=>[ot(Me(u(l)==="other"?"\u5F53\u524D\u89D2\u8272":"\u5207\u6362\u89D2\u8272")+"\uFF1A\u666E\u901A\u7528\u6237 ",1)]),_:1}),R(_,{command:3,divided:"",onClick:f},{default:q(()=>[R(m,null,{default:q(()=>[R(g)]),_:1}),ot("\u4FEE\u6539\u5BC6\u7801 ")]),_:1}),R(_,{command:4,divided:"",onClick:c},{default:q(()=>[R(m,null,{default:q(()=>[R(y)]),_:1}),ot("\u9000\u51FA\u767B\u5F55 ")]),_:1})]),_:1})]),default:q(()=>[S("span",MEe,[R(v,{size:30,class:"avatar",src:u($Ee)},null,8,["src"]),ot(" "+Me(u(s).username)+" ",1),R(m,{class:"header-icon el-icon--right"},{default:q(()=>[R(h)]),_:1})])]),_:1}),R(EEe,{ref_key:"person",ref:i},null,512)],64)}}});const TEe=Zt(xEe,[["__scopeId","data-v-65f0c517"]]),AEe={class:"m-tool-right"},LEe=Z({__name:"ToolRight",setup(e){return(t,n)=>(w(),M("div",AEe,[R(yke,{class:"item-children"}),R(wke,{class:"item-children"}),R(cEe,{class:"item-children"}),R(mEe,{class:"item-children"}),R(yEe,{class:"item-children"}),R(CEe,{class:"item-children"}),R(TEe)]))}});const M4=Zt(LEe,[["__scopeId","data-v-12f00dee"]]),IEe=Z({__name:"CollapseIcon",setup(e){const t=kn(),n=E(()=>!t.isCollapse),o=()=>{t.setCollapse(n.value)};return(r,l)=>{const a=Ie("expand"),s=Ie("el-icon"),i=Ie("fold");return w(),M("div",{class:"hamburger-container",onClick:o},[u(n)?(w(),se(s,{key:0,class:"icon"},{default:q(()=>[R(a)]),_:1})):(w(),se(s,{key:1,class:"icon"},{default:q(()=>[R(i)]),_:1}))])}}});const zEe=Zt(IEe,[["__scopeId","data-v-431b683b"]]),OEe=S("div",{class:"breadcrumb-item"},[S("span",{class:"breadcrumb-title"},"\u9996\u9875")],-1),NEe={key:0,class:"no-redirect"},PEe=["onClick"],REe=Z({__name:"Hamburger",setup(e){const t=Zl(),n=Xl(),o=l=>{n.push({path:l.path})},r=E(()=>t.matched.filter(l=>l.meta&&l.meta.title&&l.meta.breadcrumb!==!1));return(l,a)=>{const s=Ie("el-breadcrumb-item"),i=Ie("el-breadcrumb");return w(),se(i,{class:"app-breadcrumb",separator:"/"},{default:q(()=>[R(R1,{name:"breadcrumb"},{default:q(()=>[u(r)[0].meta.title!=="\u9996\u9875"?(w(),se(s,{to:{path:"/"},key:"home"},{default:q(()=>[OEe]),_:1})):ue("",!0),(w(!0),M(Re,null,pt(u(r),(c,f)=>(w(),se(s,{key:c.name},{default:q(()=>[c.redirect==="noRedirect"||f==u(r).length-1?(w(),M("span",NEe,Me(c.meta.title),1)):(w(),M("a",{key:1,onClick:Ye(d=>o(c),["prevent"])},Me(c.meta.title),9,PEe))]),_:2},1024))),128))]),_:1})]),_:1})}}}),VEe={class:"m-tool-left"},FEe=Z({__name:"ToolLeft",setup(e){return(t,n)=>(w(),M("div",VEe,[R(zEe),R(REe)]))}});const M7=Zt(FEe,[["__scopeId","data-v-01e7e18a"]]),HEe=Z({__name:"MoreButton",setup(e){Xl();const t=Zl(),n=kn(),o=E4();E(()=>o.visitedViews);const r=()=>{n.setReload()},l=i=>{o.toLastView(t.path),o.delView(t.path)},a=async()=>{o.delOtherViews(t.path)},s=async()=>{await o.delAllViews(),o.goHome()};return(i,c)=>{const f=Ie("arrow-down"),d=Ie("el-icon"),p=Ie("el-button"),v=Ie("Refresh"),h=Ie("el-dropdown-item"),m=Ie("FolderRemove"),_=Ie("Close"),g=Ie("FolderDelete"),y=Ie("el-dropdown-menu"),b=Ie("el-dropdown");return w(),se(b,{trigger:"hover"},{dropdown:q(()=>[R(y,null,{default:q(()=>[R(h,{onClick:r},{default:q(()=>[R(d,{size:14},{default:q(()=>[R(v)]),_:1}),ot(" "+Me(i.$t("tagsView.refresh")),1)]),_:1}),R(h,{onClick:l},{default:q(()=>[R(d,{size:14},{default:q(()=>[R(m)]),_:1}),ot(" "+Me(i.$t("tagsView.closeCurrent")),1)]),_:1}),R(h,{onClick:a},{default:q(()=>[R(d,{size:14},{default:q(()=>[R(_)]),_:1}),ot(Me(i.$t("tagsView.closeOther")),1)]),_:1}),R(h,{onClick:s},{default:q(()=>[R(d,{size:14},{default:q(()=>[R(g)]),_:1}),ot(Me(i.$t("tagsView.closeAll")),1)]),_:1})]),_:1})]),default:q(()=>[R(p,{size:"small",type:"primary"},{default:q(()=>[S("span",null,Me(i.$t("tagsView.more")),1),R(d,{class:"el-icon--right"},{default:q(()=>[R(f)]),_:1})]),_:1})]),_:1})}}});const BEe=Zt(HEe,[["__scopeId","data-v-a5aa8461"]]),DEe={class:"m-tags-view"},KEe={class:"tags-view"},WEe={class:"right-btn"},jEe=Z({__name:"index",setup(e){const t=Zl(),n=Xl(),o=E4(),r=vl(),l=E(()=>o.visitedViews),a=E(()=>r.routes),s=()=>{const{name:_}=t;if(_!=="Login")return _&&o.addView(t),!1};let i=z([]);function c(_,g="/"){let y=[];return _.forEach(b=>{if(b.meta&&b.meta.affix){const C=v7.resolve(g,b.path);y.push({fullPath:C,path:C,name:b.name,meta:{...b.meta}})}if(b.children){const C=c(b.children,b.path);C.length>=1&&(y=[...y,...C])}}),y}const f=()=>{let _=a.value,g=i.value=c(_);for(const y of g)y.name&&o.addVisitedView(y)};tt(()=>{f(),s()}),_e(t,()=>{s()});const d=E({get:()=>o.activeTabsValue,set:_=>{o.setTabsMenuValue(_)}});function p(_){let g=l.value.findIndex(b=>b.path===_);const y=l.value[g+1]||l.value[g-1];!y||(n.push(y.path),o.addVisitedView(y))}const v=_=>{let g=_.props.name;n.push(g)},h=_=>_===t.path,m=async _=>{h(_)&&p(_),await o.delView(_)};return(_,g)=>{const y=Ie("el-icon"),b=Ie("el-tab-pane"),C=Ie("el-tabs");return w(),M("div",DEe,[S("div",KEe,[R(C,{modelValue:u(d),"onUpdate:modelValue":g[0]||(g[0]=$=>Et(d)?d.value=$:null),type:"card",onTabClick:v,onTabRemove:m},{default:q(()=>[(w(!0),M(Re,null,pt(u(l),$=>(w(),se(b,{key:$.path,path:$.path,label:$.title,name:$.path,closable:!($.meta&&$.meta.affix)},{label:q(()=>[$.icon?(w(),se(y,{key:0,class:"tabs-icon"},{default:q(()=>[(w(),se(it($.icon)))]),_:2},1024)):ue("",!0),ot(" "+Me($.title),1)]),_:2},1032,["path","label","name","closable"]))),128))]),_:1},8,["modelValue"])]),S("div",WEe,[R(u(BEe))])])}}});const x4=Zt(jEe,[["__scopeId","data-v-59e8e7ea"]]),UEe={class:"header-inner"},qEe=Z({__name:"index",setup(e){const t=kn(),n=E(()=>t.themeConfig),o=E(()=>!t.isCollapse);return(r,l)=>(w(),M(Re,null,[R(g7),S("div",{class:A(["m-layout-header",{"fixed-header":u(n).fixedHeader,collapse:u(n).fixedHeader&&u(o),"no-collapse":u(n).fixedHeader&&!u(o)}])},[S("div",UEe,[R(M7),R(M4)]),u(n).showTag?(w(),se(x4,{key:0})):ue("",!0)],2)],64))}});const YEe=Zt(qEe,[["__scopeId","data-v-1f82c6f9"]]),Sd=new Map,GEe=(e,t)=>{let n;if(e){const o=t.name;return Sd.has(o)?n=Sd.get(o):(n={name:o,render(){return Ke("div",{className:"app-main-inner"},e)}},Sd.set(o,n)),Ke(n)}},XEe={class:"app-main"},ZEe=Z({__name:"index",setup(e){const t=kn(),n=vl(),o=E(()=>n.keepAliveRoutes),r=E(()=>t.isReload);return(l,a)=>{const s=Ie("router-view");return w(),M("div",XEe,[R(s,null,{default:q(({Component:i,route:c})=>[R(Jt,{name:"fade-slide",mode:"out-in",appear:""},{default:q(()=>[u(r)?(w(),se(Yy,{key:0,include:u(o)},[(w(),se(it(u(GEe)(i,c)),{key:c.path}))],1032,["include"])):ue("",!0)]),_:2},1024)]),_:1})])}}});const T4=Zt(ZEe,[["__scopeId","data-v-c5f43f7d"]]);const JEe={},QEe=e=>(Gc("data-v-85f8336d"),e=e(),Xc(),e),eMe={class:"footer-layout"},tMe=QEe(()=>S("span",{href:"/",target:"_blank"}," 2022 \xA9 VUE-ADMIN-PERFECT By ZB Technology. ",-1)),nMe=[tMe];function oMe(e,t){return w(),M("div",eMe,nMe)}const A4=Zt(JEe,[["render",oMe],["__scopeId","data-v-85f8336d"]]),rMe={class:"main-container"},lMe=Z({__name:"index",setup(e){return(t,n)=>(w(),M(Re,null,[R(gke),S("div",rMe,[R(YEe),R(T4),R(A4)])],64))}});const Q6=Zt(lMe,[["__scopeId","data-v-0191c8cb"]]),aMe={class:"header-inner"},sMe=Z({__name:"index",setup(e){const t=vl(),n=Zl(),o=E(()=>t.permission_routes),r=kn(),l=E(()=>{const{meta:s,path:i}=n;return s.activeMenu?s.activeMenu:i}),a=E(()=>r.themeConfig);return E(()=>!r.isCollapse),(s,i)=>{const c=Ie("el-menu");return w(),M(Re,null,[R(g7),S("div",{class:A(["m-layout-header",{"fixed-header":u(a).fixedHeader}])},[S("div",aMe,[R(c,{mode:"horizontal","default-active":u(l),"background-color":"#304156","text-color":"#bfcbd9","unique-opened":u(r).themeConfig.uniqueOpened,"collapse-transition":!1,class:"menu-horizontal"},{default:q(()=>[R($4,{menuList:u(o)},null,8,["menuList"])]),_:1},8,["default-active","unique-opened"]),R(M4)]),u(a).showTag?(w(),se(x4,{key:0})):ue("",!0)],2)],64)}}});const iMe=Zt(sMe,[["__scopeId","data-v-7f9fbfdf"]]),uMe={class:"main-container"},cMe=Z({__name:"index",setup(e){return(t,n)=>(w(),M("div",uMe,[R(iMe),R(T4),R(A4)]))}});const dMe=Zt(cMe,[["__scopeId","data-v-9bfbe65d"]]),fMe=e=>(Gc("data-v-60526b4f"),e=e(),Xc(),e),pMe={class:"main-columns"},hMe={class:"layout-columns-aside"},vMe=fMe(()=>S("div",{class:"logo flex-center"},[S("img",{src:v4,alt:"logo"})],-1)),mMe={class:"menu-wrap"},gMe=["onClick"],_Me={class:"title"},yMe={class:"logo flex-center"},bMe={class:"container"},wMe={class:"layout-header"},CMe={class:"header-tool"},$Me=Z({__name:"index",setup(e){const t=vl(),n=kn(),o=Zl(),r=Xl();E(()=>t.permission_routes);const l=E(()=>t.permission_routes.filter(v=>!v.hidden)),a=z(""),s=E(()=>n.themeConfig),i=E(()=>!n.isCollapse),c=E(()=>{const{meta:v,path:h}=o;return h}),f=z("/"),d=z([]);_e(()=>[o],()=>{var m;if(!l.value.length)return;const[v]=o.matched;a.value=v.path;let h=l.value.find(_=>v.path===_.path);h&&((m=h.children)==null?void 0:m.length)?d.value=h.children:d.value=[],f.value=v.path},{deep:!0,immediate:!0});const p=v=>{r.push(v.path)};return(v,h)=>{const m=Ie("el-icon"),_=Ie("el-scrollbar"),g=Ie("el-menu");return w(),M("div",pMe,[S("div",hMe,[vMe,R(_,null,{default:q(()=>[S("div",mMe,[(w(!0),M(Re,null,pt(u(l),y=>{var b;return w(),M("div",{class:A(["item-menu-wrap",{"active-menu":a.value===y.path}]),key:y.path,onClick:C=>p(y)},[R(m,{size:20},{default:q(()=>{var C;return[(w(),se(it((C=y==null?void 0:y.meta)==null?void 0:C.icon)))]}),_:2},1024),S("span",_Me,Me((b=y==null?void 0:y.meta)==null?void 0:b.title),1)],10,gMe)}),128))])]),_:1})]),S("div",{class:"layout-columns-sub",style:De({width:u(i)?"60px":"210px"})},[S("div",yMe,[nt(S("span",null,Me(u(i)?"Vue":"Vue Admin Perfect"),513),[[yt,d.value.length]])]),R(_,null,{default:q(()=>[R(g,{collapse:u(i),router:!1,"default-active":u(c),"unique-opened":u(n).themeConfig.uniqueOpened,"collapse-transition":!1,class:"menu-columns"},{default:q(()=>[R($4,{menuList:d.value},null,8,["menuList"])]),_:1},8,["collapse","default-active","unique-opened"])]),_:1})],4),S("div",bMe,[S("div",wMe,[S("div",CMe,[R(M7),R(M4)]),u(s).showTag?(w(),se(x4,{key:0})):ue("",!0)]),R(T4),R(A4)])])}}});const SMe=Zt($Me,[["__scopeId","data-v-60526b4f"]]),kMe=Z({__name:"index",setup(e){const t=kn(),n=E(()=>t.themeConfig),o={horizontal:dMe,vertical:Q6,columns:SMe};E(()=>!t.isCollapse);let{device:r}=q9();_e(()=>r.value,a=>{let s=a==="mobile"?"vertical":n.value.mode;document.body.setAttribute("class",`layout-${s}`)},{immediate:!0});const l=E(()=>({hideSidebar:!t.isCollapse,openSidebar:t.isCollapse,withoutAnimation:t.withoutAnimation,mobile:r.value==="mobile"}));return(a,s)=>(w(),M("div",{class:A(["g-container-layout",u(l)])},[R(S$e),u(r)==="mobile"?(w(),se(Q6,{key:0})):(w(),se(it(o[u(n).mode]),{key:1})),R(w$e)],2))}});const No=Zt(kMe,[["__scopeId","data-v-b9a40163"]]),EMe=[{path:"/table",component:No,redirect:"/table/comprehensive",name:"superTable",meta:{title:"\u8D85\u7EA7\u8868\u683C",icon:"School"},children:[{path:"/table/comprehensive",component:()=>ut(()=>import("./index.1da78669.js"),["assets/index.1da78669.js","assets/index.ee732d38.css"]),name:"comprehensive",meta:{title:"\u7EFC\u5408\u8868\u683C",keepAlive:!0,icon:"MenuIcon"}},{path:"/table/inlineTable",component:()=>ut(()=>import("./index.1c7c6e20.js"),["assets/index.1c7c6e20.js","assets/index.85258979.css"]),name:"inlineTable",meta:{title:"\u884C\u5185\u7F16\u8F91",keepAlive:!0,icon:"MenuIcon"}},{path:"/table/editableProTable",component:()=>ut(()=>import("./index.c70a8aea.js"),["assets/index.c70a8aea.js","assets/index.5be08a55.js","assets/index.84b065ef.css"]),name:"editableProTable",meta:{title:"\u53EF\u7F16\u8F91\u8868\u683C",keepAlive:!0,icon:"MenuIcon"}}]}],MMe=[{path:"/dataScreen",name:"dataScreen",meta:{title:"\u53EF\u89C6\u5316\u5927\u5C4F",icon:"Histogram"},component:()=>ut(()=>import("./index.974fab78.js"),["assets/index.974fab78.js","assets/index.d7b85f38.js","assets/index.1d4dbcc5.js","assets/index.vue_vue_type_script_setup_true_lang.e0f780d5.js","assets/index.386c25cb.css"])}],xMe=[{path:"/excel",component:No,redirect:"/excel/export-excel",name:"excel",meta:{title:"Excel&Zip",icon:"School"},children:[{path:"/excel/export-excel",component:()=>ut(()=>import("./index.bdfded76.js"),["assets/index.bdfded76.js","assets/exprotExcel.4ee36b92.js","assets/exceljs.min.779ba2d2.js","assets/index.a6563d0e.css"]),name:"export-excel",meta:{title:"\u5BFC\u51FA Excel",icon:"MenuIcon"}},{path:"/excel/export-merge-header",component:()=>ut(()=>import("./index.89c7065a.js"),["assets/index.89c7065a.js","assets/exprotExcel.4ee36b92.js","assets/exceljs.min.779ba2d2.js","assets/index.df380b98.css"]),name:"export-merge-header",meta:{title:"\u5BFC\u51FA \u591A\u7EA7\u8868\u5934",icon:"MenuIcon"}},{path:"/excel/upload-style-excel",component:()=>ut(()=>import("./index.bfcd141c.js"),["assets/index.bfcd141c.js","assets/exprotExcel.4ee36b92.js","assets/exceljs.min.779ba2d2.js","assets/index.1879c92d.css"]),name:"upload-style-excel",meta:{title:"\u81EA\u5B9A\u4E49\u6837\u5F0F\u5BFC\u51FA Excel",icon:"MenuIcon"}},{path:"/excel/upload-excel",component:()=>ut(()=>import("./index.3f3054f3.js"),["assets/index.3f3054f3.js","assets/exceljs.min.779ba2d2.js","assets/index.77032e84.css"]),name:"upload-excel",meta:{title:"\u4E0A\u4F20 Excel",icon:"MenuIcon"}},{path:"/excel/zip",component:()=>ut(()=>import("./index.83e7f8cb.js"),["assets/index.83e7f8cb.js","assets/exceljs.min.779ba2d2.js","assets/index.bdd8079d.css"]),name:"Zip",meta:{title:"\u5BFC\u51FA Zip",roles:["other"],icon:"MenuIcon"}}]}],TMe=[{path:"/nested",component:No,redirect:"/nested/menu1",name:"nested",meta:{title:"\u8DEF\u7531\u5D4C\u5957",icon:"HelpFilled"},children:[{path:"/nested/menu1",component:()=>ut(()=>import("./index.c8ffc0e1.js"),[]),name:"menu1",meta:{title:"\u83DC\u53551",icon:"MenuIcon"},alwaysShow:!0,redirect:"/nested/menu1/menu1-1",children:[{path:"/nested/menu1/menu1-1",component:()=>ut(()=>import("./index.d0a044a9.js"),[]),name:"menu1-1",meta:{title:"\u83DC\u5355 1-1",icon:"MenuIcon"}},{path:"/nested/menu1/menu1-2",component:()=>ut(()=>import("./index.edf1d724.js"),[]),name:"menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:"\u83DC\u5355 1-2",icon:"MenuIcon"},children:[{path:"/nested/menu1/menu1-2/menu1-2-1",component:()=>ut(()=>import("./index.fdb25d8f.js"),[]),name:"menu1-2-1",meta:{title:"\u83DC\u5355 1-2-1",icon:"MenuIcon"}},{path:"/nested/menu1/menu1-2/menu1-2-2",component:()=>ut(()=>import("./index.18ab18f0.js"),[]),name:"menu1-2-2",meta:{title:"\u83DC\u5355 1-2-2",icon:"MenuIcon"}}]},{path:"/nested/menu1/menu1-3",component:()=>ut(()=>import("./index.07cdde15.js"),[]),name:"menu1-3",meta:{title:"\u83DC\u5355 1-3",icon:"MenuIcon"}}]},{path:"/nested/menu2",component:()=>ut(()=>import("./index.810b5214.js"),[]),name:"nested-menu2",meta:{title:"\u83DC\u53552",icon:"MenuIcon"}}]}],AMe=[{path:"/system",component:No,redirect:"/system/user",name:"systemManagement",meta:{title:"\u7CFB\u7EDF\u7BA1\u7406",icon:"Setting"},children:[{path:"/system/user",component:()=>ut(()=>import("./index.7af02dfa.js"),["assets/index.7af02dfa.js","assets/system.79236d81.js","assets/index.da76a7e9.css"]),name:"user",meta:{title:"\u7528\u6237\u7BA1\u7406",icon:"MenuIcon"}},{path:"/system/dept",component:()=>ut(()=>import("./index.a10b7497.js"),["assets/index.a10b7497.js","assets/system.79236d81.js","assets/index.a834a9a7.css"]),name:"dept",meta:{title:"\u90E8\u95E8\u7BA1\u7406",icon:"MenuIcon"}},{path:"/system/role",component:()=>ut(()=>import("./index.2c867ac4.js"),["assets/index.2c867ac4.js","assets/system.79236d81.js","assets/index.bccec156.css"]),name:"role",meta:{title:"\u89D2\u8272\u7BA1\u7406",icon:"MenuIcon"}},{path:"/system/menu",component:()=>ut(()=>import("./index.02b9e6e3.js"),["assets/index.02b9e6e3.js","assets/system.79236d81.js","assets/index.d38a94fa.css"]),name:"menu",meta:{title:"\u83DC\u5355\u7BA1\u7406",icon:"MenuIcon"}},{path:"/system/dictionary",component:()=>ut(()=>import("./index.6f83c7a0.js"),["assets/index.6f83c7a0.js","assets/system.79236d81.js","assets/index.a228bc1c.css"]),name:"dictionary",meta:{title:"\u5B57\u5178\u7BA1\u7406",icon:"MenuIcon"}}]}],LMe=[{path:"/echarts",component:No,redirect:"/echarts/migration",name:"echarts",meta:{title:"Echarts",icon:"trend-charts",roles:["other"]},children:[{path:"/echarts/migration",component:()=>ut(()=>import("./index.85d8e91a.js"),["assets/index.85d8e91a.js","assets/index.vue_vue_type_script_setup_true_lang.e0f780d5.js","assets/index.1d4dbcc5.js","assets/index.7c5448ac.css"]),name:"migration",meta:{title:"\u8FC1\u5F99\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"/echarts/bar",component:()=>ut(()=>import("./index.4bedd63e.js"),["assets/index.4bedd63e.js","assets/index.1d4dbcc5.js","assets/useResizeElement.e82514a6.js","assets/index.bd2a8ca9.css"]),name:"bar",meta:{title:"\u67F1\u72B6\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"/echarts/graph",component:()=>ut(()=>import("./index.a24b85b4.js"),["assets/index.a24b85b4.js","assets/index.1d4dbcc5.js","assets/useResizeElement.e82514a6.js","assets/index.ec893580.css"]),name:"graph",meta:{title:"\u96F7\u8FBE\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"/echarts/pie",component:()=>ut(()=>import("./index.81afa873.js"),["assets/index.81afa873.js","assets/useResizeElement.e82514a6.js","assets/index.1d4dbcc5.js","assets/index.06f47b96.css"]),name:"pie",meta:{title:"\u997C\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"/echarts/simple",component:()=>ut(()=>import("./index.47c704dc.js"),["assets/index.47c704dc.js","assets/index.1d4dbcc5.js","assets/bar.vue_vue_type_script_setup_true_lang.0c23cd0a.js","assets/index.470808bd.css"]),name:"echarts-simple",meta:{title:"\u7B80\u5355\u56FE\u8868",roles:["other"],icon:"MenuIcon"}}]}],IMe=[{path:"/chat",component:No,redirect:"/chat/index",name:"chat",meta:{title:"\u804A\u5929\u6846",icon:"chat-square"},children:[{path:"/chat/index",component:()=>ut(()=>import("./index.47526135.js"),["assets/index.47526135.js","assets/we.a9b44422.js","assets/index.d55ee797.css"]),name:"chatBox",meta:{title:"\u804A\u5929\u6846",icon:"chat-square"}}]}],zMe=[{path:"/other",component:No,redirect:"/other/clipboard",name:"commonComponents",meta:{title:"\u5E38\u7528\u7EC4\u4EF6",icon:"management"},children:[{path:"/other/clipboard",component:()=>ut(()=>import("./index.26bbd55e.js"),[]),name:"clipboard",meta:{title:"\u526A\u8D34\u677F",roles:["other"],icon:"MenuIcon"}},{path:"/other/editor",component:()=>ut(()=>import("./index.8882a4ed.js"),["assets/index.8882a4ed.js","assets/index.768f218f.css"]),name:"editor",meta:{title:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668",roles:["other"],icon:"MenuIcon"}},{path:"/other/code-mirror",component:()=>ut(()=>import("./index.e44ae6af.js"),["assets/index.e44ae6af.js","assets/index.1b75285b.css"]),name:"code-mirror",meta:{title:"\u4EE3\u7801\u7F16\u8F91\u5668",roles:["other"],icon:"MenuIcon"}},{path:"/other/mark-down",component:()=>ut(()=>import("./index.18e4fcb1.js"),["assets/index.18e4fcb1.js","assets/index.6ee8dfa0.css"]),name:"mark-down",meta:{title:"markDown",roles:["other"],icon:"MenuIcon"}},{path:"/other/print",component:()=>ut(()=>import("./index.59cd5d23.js"),[]),name:"print",meta:{title:"\u6253\u5370",icon:"MenuIcon"}},{path:"/other/cropper",component:()=>ut(()=>import("./index.3d10c015.js"),["assets/index.3d10c015.js","assets/index.53e5ddc1.css"]),name:"cropper",meta:{title:"\u5934\u50CF\u88C1\u526A",icon:"MenuIcon"}},{path:"/other/card-drag",component:()=>ut(()=>import("./index.a2486b52.js"),["assets/index.a2486b52.js","assets/index.5be08a55.js","assets/index.6f9042fc.css"]),name:"card-drag",meta:{title:"\u5361\u7247\u62D6\u62FD",icon:"MenuIcon"}},{path:"/other/upload",component:()=>ut(()=>import("./index.d6eecb2c.js"),["assets/index.d6eecb2c.js","assets/index.c6612b83.css"]),name:"upload",meta:{title:"\u4E0A\u4F20\u56FE\u7247",icon:"MenuIcon"}},{path:"/other/qrcode",component:()=>ut(()=>import("./index.821e7235.js"),["assets/index.821e7235.js","assets/vue-qr.c58ef2ff.js","assets/index.5be08a55.js"]),name:"qrcode",meta:{title:"\u751F\u6210\u4E8C\u7EF4\u7801",icon:"MenuIcon"}},{path:"/other/svgIcon",component:()=>ut(()=>import("./index.2127784f.js"),["assets/index.2127784f.js","assets/index.05456e02.css"]),name:"svgIcon",meta:{title:"svg \u56FE\u6807",icon:"MenuIcon"}},{path:"/other/iconfont",component:()=>ut(()=>import("./index.d5f49493.js"),["assets/index.d5f49493.js","assets/index.19b422fb.css"]),name:"iconfont",meta:{title:"\u963F\u91CC\u56FE\u6807\u5E93",icon:"MenuIcon"}},{path:"/other/water-marker",component:()=>ut(()=>import("./index.9ada1b7d.js"),["assets/index.9ada1b7d.js","assets/index.5be08a55.js","assets/index.5fb67817.css"]),name:"water-marker",meta:{title:"\u751F\u6210\u6C34\u5370",icon:"MenuIcon"}},{path:"/other/right-menu",component:()=>ut(()=>import("./index.8f1b305f.js"),["assets/index.8f1b305f.js","assets/index.109e9ac9.css"]),name:"right-menu",meta:{title:"\u53F3\u952E\u83DC\u5355",icon:"MenuIcon"}},{path:"/other/count",component:()=>ut(()=>import("./index.8a3fb9a5.js"),["assets/index.8a3fb9a5.js","assets/index.d7b85f38.js","assets/index.fd80bebf.css"]),name:"count",meta:{title:"\u6570\u5B57\u52A8\u753B",icon:"MenuIcon"}},{path:"/other/text-clamp",component:()=>ut(()=>import("./index.3f750ee9.js"),["assets/index.3f750ee9.js","assets/index.5a29b4a8.css"]),name:"text-clamp",meta:{title:"\u591A\u884C\u6587\u672C\u7701\u7565",icon:"MenuIcon"}}]}],OMe=[{path:"/external-link",component:No,redirect:"/external-link/wechat",name:"externalLink",meta:{title:"\u5916\u90E8\u94FE\u63A5",icon:"link"},children:[{path:"/external-link/wechat",name:"wechat",component:()=>ut(()=>import("./index.68dfcfdf.js"),["assets/index.68dfcfdf.js","assets/we.a9b44422.js"]),meta:{title:"\u52A0\u5FAE\u4FE1\u7FA4",icon:"MenuIcon"}},{path:"https://github.com/zouzhibin/vue-admin-perfect",name:"github",meta:{title:"Github \u5730\u5740",icon:"MenuIcon"}},{path:"https://gitee.com/yuanzbz/vue-admin-perfect?_from=gitee_search",name:"github",meta:{title:"Gitee \u5730\u5740",icon:"MenuIcon"}},{path:"https://yuanzbz.gitee.io/vue-admin-simple",name:"simple",meta:{title:"\u7B80\u6613\u7248\u672C",icon:"MenuIcon"},component:()=>ut(()=>import("./index.533ba337.js"),[])},{path:"/external-link/iframe",component:()=>ut(()=>import("./index.55c8074d.js"),["assets/index.55c8074d.js","assets/index.a5f4d127.css"]),name:"iframe",meta:{title:"\u5185\u5D4C iframe",icon:"MenuIcon"}}]}],NMe=[{path:"/form",component:No,redirect:"/form/validateForm",name:"form",alwaysShow:!0,meta:{title:"\u8D85\u7EA7\u8868\u5355",icon:"Grape"},children:[{path:"/form/validateForm",component:()=>ut(()=>import("./index.b8b33c61.js"),[]),name:"validateForm",meta:{title:"\u6821\u9A8C Form",keepAlive:!0,icon:"MenuIcon"}},{path:"/form/advancedForm",component:()=>ut(()=>import("./index.761705c2.js"),["assets/index.761705c2.js","assets/index.cd87b3e1.css"]),name:"advancedForm",meta:{title:"\u6536\u7F29 Form",icon:"MenuIcon"}},{path:"/form/appendForm",component:()=>ut(()=>import("./index.497633c9.js"),["assets/index.497633c9.js","assets/index.6d827c07.css"]),name:"appendForm",meta:{title:"\u589E\u5220 Form",keepAlive:!0,icon:"MenuIcon"}},{path:"/form/moreForm",component:()=>ut(()=>import("./index.1e1caa6b.js"),["assets/index.1e1caa6b.js","assets/index.395373ae.css"]),name:"moreForm",meta:{title:"\u591A\u8868\u5355\u9A8C\u8BC1",keepAlive:!0,icon:"MenuIcon"}}]}],PMe=[{path:"/function-page",component:No,redirect:"/function-page/404",name:"functionPage",meta:{title:"\u529F\u80FD\u9875\u9762",icon:"ElementPlus"},children:[{path:"/function-page/tools",component:()=>ut(()=>import("./index.eed5e2c3.js"),["assets/index.eed5e2c3.js","assets/index.ba6e134e.css"]),name:"tools",meta:{title:"\u5DE5\u5177\u94FE\u96C6\u5408",keepAlive:!0,icon:"MenuIcon"}},{path:"/function-page/404",component:()=>ut(()=>import("./404.253cac90.js"),["assets/404.253cac90.js","assets/404.5971bcad.css"]),name:"function-404",meta:{title:"404 \u9875\u9762",keepAlive:!0,icon:"MenuIcon"}},{path:"/function-page/403",component:()=>ut(()=>import("./403.b8410aab.js"),["assets/403.b8410aab.js","assets/403.79957ed6.css"]),name:"function-403",meta:{title:"403 \u9875\u9762",keepAlive:!0,icon:"MenuIcon"}},{path:"/function-page/fullscreen",component:()=>ut(()=>import("./index.25e80f20.js"),["assets/index.25e80f20.js","assets/index.aa7b49db.css"]),name:"fullscreen",meta:{title:"\u5143\u7D20 \u5168\u5C4F",keepAlive:!0,icon:"MenuIcon"}},{path:"/function-page/information-list",component:()=>ut(()=>import("./index.78d2b45e.js"),["assets/index.78d2b45e.js","assets/index.4512a2c6.css"]),name:"informationList",meta:{title:"\u4FE1\u606F\u5217\u8868",keepAlive:!0,icon:"MenuIcon"}}]}],Iu=[...MMe,...LMe,...EMe,...NMe,...zMe,...PMe,...IMe,...TMe,...xMe,...OMe,...AMe],x7=[{path:"/404",name:"404",component:()=>ut(()=>import("./404.253cac90.js"),["assets/404.253cac90.js","assets/404.5971bcad.css"]),hidden:!0},{path:"/403",name:"403",component:()=>ut(()=>import("./403.b8410aab.js"),["assets/403.b8410aab.js","assets/403.79957ed6.css"]),hidden:!0},{path:"/login",name:"Login",component:()=>ut(()=>import("./index.23a69634.js"),["assets/index.23a69634.js","assets/index.5be08a55.js","assets/vue-qr.c58ef2ff.js","assets/index.8c98cc8e.css"]),hidden:!0,meta:{title:"\u767B\u5F55"}},{path:"/",name:"layout",component:No,redirect:"/home",meta:{title:"\u9996\u9875",icon:"House"},children:[{path:"/home",component:()=>ut(()=>import("./index.a1bfd1b2.js"),["assets/index.a1bfd1b2.js","assets/we.a9b44422.js","assets/index.d7b85f38.js","assets/bar.vue_vue_type_script_setup_true_lang.0c23cd0a.js","assets/index.1d4dbcc5.js","assets/index.772cc20c.css"]),name:"home",meta:{title:"\u9996\u9875",icon:"House",affix:!0,role:["other"]}}]}],RMe={path:"/:pathMatch(.*)",name:"notFound",redirect:"/404"},rs=xC({history:Ww("/vue-admin-perfect/"),routes:x7});var VMe=Object.defineProperty,ev=Object.getOwnPropertySymbols,FMe=Object.prototype.hasOwnProperty,HMe=Object.prototype.propertyIsEnumerable,tv=(e,t,n)=>t in e?VMe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nv=(e,t)=>{for(var n in t||(t={}))FMe.call(t,n)&&tv(e,n,t[n]);if(ev)for(var n of ev(t))HMe.call(t,n)&&tv(e,n,t[n]);return e};function BMe(e){return typeof e=="object"&&e!==null}function DMe(e){return e}function ov(e,t){return e=BMe(e)?e:Object.create(null),new Proxy(e,{get(n,o,r){var l;return o==="key"?((l=t.key)!=null?l:DMe)(Reflect.get(n,o,r)):Reflect.get(n,o,r)||Reflect.get(t,o,r)}})}function rv(e){return e!==null&&typeof e=="object"}function m1(e,t){const n=Array.isArray(e)&&Array.isArray(t),o=rv(e)&&rv(t);if(!n&&!o)throw new Error("Can only merge object with object or array with array");const r=n?[]:{};return[...Object.keys(e),...Object.keys(t)].forEach(a=>{Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=[...Object.values(m1(e[a],t[a]))]:t[a]!==null&&typeof t[a]=="object"&&typeof e[a]=="object"?r[a]=m1(e[a],t[a]):e[a]!==void 0&&t[a]===void 0?r[a]=e[a]:e[a]===void 0&&t[a]!==void 0&&(r[a]=t[a])}),r}function lv(e,t){return t.reduce((n,o)=>o==="[]"&&Array.isArray(n)?n:n==null?void 0:n[o],e)}function av(e,t,n){const o=t.slice(0,-1).reduce((r,l)=>/^(__proto__)$/.test(l)?{}:r[l]=r[l]||{},e);if(Array.isArray(o[t[t.length-1]])&&Array.isArray(n)){const r=o[t[t.length-1]].map((l,a)=>Array.isArray(l)&&typeof l!="object"?[...l,...n[a]]:typeof l=="object"&&l!==null&&Object.keys(l).some(s=>Array.isArray(l[s]))?m1(l,n[a]):nv(nv({},l),n[a]));o[t[t.length-1]]=r}else t[t.length-1]===void 0&&Array.isArray(o)&&Array.isArray(n)?o.push(...n):o[t[t.length-1]]=n;return e}function T7(e,t){return t.reduce((n,o)=>{const r=o.split(".");if(!r.includes("[]"))return av(n,r,lv(e,r));const l=r.indexOf("[]"),a=r.slice(0,l),s=r.slice(0,l+1),i=r.slice(l+1),c=lv(e,s),f=[];for(const d of c)i.length!==0&&(Array.isArray(d)||typeof d=="object")?f.push(T7(d,[i.join(".")])):f.push(d);return av(n,a,f)},Array.isArray(e)?[]:{})}function sv(e,t,n,o,r){try{const l=t==null?void 0:t.getItem(o);l&&e.$patch(n==null?void 0:n.deserialize(l))}catch(l){r&&console.error(l)}}function KMe(e={}){return t=>{const{options:{persist:n},store:o}=t;if(!n)return;const r=(Array.isArray(n)?n.map(l=>ov(l,e)):[ov(n,e)]).map(({storage:l=localStorage,beforeRestore:a=null,afterRestore:s=null,serializer:i={serialize:JSON.stringify,deserialize:JSON.parse},key:c=o.$id,paths:f=null,debug:d=!1})=>({storage:l,beforeRestore:a,afterRestore:s,serializer:i,key:c,paths:f,debug:d}));r.forEach(l=>{const{storage:a,serializer:s,key:i,paths:c,beforeRestore:f,afterRestore:d,debug:p}=l;f==null||f(t),sv(o,a,s,i,p),d==null||d(t),o.$subscribe((v,h)=>{try{const m=Array.isArray(c)?T7(h,c):h;a.setItem(i,s.serialize(m))}catch(m){p&&console.error(m)}},{detached:!0})}),o.$hydrate=({runHooks:l=!0}={})=>{r.forEach(a=>{const{beforeRestore:s,afterRestore:i,storage:c,serializer:f,key:d,debug:p}=a;l&&(s==null||s(t)),sv(o,c,f,d,p),l&&(i==null||i(t))})}}}var WMe=KMe();Vi({id:"globalState",state:()=>({}),getters:{},actions:{},persist:{key:"globalState",storage:window.sessionStorage}});const A7=gw();A7.use(WMe);const jMe=e=>{Object.keys(Q0).forEach(t=>{t!=="Menu"?e.component(t,Q0[t]):e.component(t+"Icon",Q0[t])})};const UMe={},qMe={class:"m-container-layout"},YMe={class:"m-container-layout-inner"};function GMe(e,t){return w(),M("div",qMe,[S("div",YMe,[we(e.$slots,"default",{},void 0,!0)])])}const XMe=Zt(UMe,[["render",GMe],["__scopeId","data-v-c600760e"]]);var L7={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
+ */const KSe="9.2.2";function WSe(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Xs().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Xs().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Xs().__INTLIFY_PROD_DEVTOOLS__=!1)}kSe.__EXTEND_POINT__;let s7=zt.__EXTEND_POINT__;const Bn=()=>++s7,an={UNEXPECTED_RETURN_TYPE:s7,INVALID_ARGUMENT:Bn(),MUST_BE_CALL_SETUP_TOP:Bn(),NOT_INSLALLED:Bn(),NOT_AVAILABLE_IN_LEGACY_MODE:Bn(),REQUIRED_VALUE:Bn(),INVALID_VALUE:Bn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Bn(),NOT_INSLALLED_WITH_PROVIDE:Bn(),UNEXPECTED_ERROR:Bn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Bn(),BRIDGE_SUPPORT_VUE_2_ONLY:Bn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Bn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Bn(),__EXTEND_POINT__:Bn()};function dn(e,...t){return z0(e,null,void 0)}const r1=pl("__transrateVNode"),l1=pl("__datetimeParts"),a1=pl("__numberParts"),i7=pl("__setPluralRules");pl("__intlifyMeta");const u7=pl("__injectWithOption");function s1(e){if(!Yt(e))return e;for(const t in e)if(!!g4(e,t))if(!t.includes("."))Yt(e[t])&&s1(e[t]);else{const n=t.split("."),o=n.length-1;let r=e;for(let l=0;l {if(eo(s)){let c=o(n,s,i);c.length&&(l[i]||(l[i]={idx:i,item:s,matches:[]},a.push(l[i])),c.forEach(({matches:f})=>{l[i].matches.push(...f)}))}}),a}_searchObjectList(t){const n=p1(t,this.options),{keys:o,records:r}=this._myIndex,l=[];return r.forEach(({$:a,i:s})=>{if(!eo(a))return;let i=[];o.forEach((c,f)=>{i.push(...this._findMatches({key:c,value:a[f],searcher:n}))}),i.length&&l.push({idx:s,item:a,matches:i})}),l}_findMatches({key:t,value:n,searcher:o}){if(!eo(n))return[];let r=[];if(wr(n))n.forEach(({v:l,i:a,n:s})=>{if(!eo(l))return;const{isMatch:i,score:c,indices:f}=o.searchIn(l);i&&r.push({score:c,key:t,value:l,idx:a,norm:s,indices:f})});else{const{v:l,n:a}=n,{isMatch:s,score:i,indices:c}=o.searchIn(l);s&&r.push({score:i,key:t,value:l,norm:a,indices:c})}return r}}ms.version="6.6.2";ms.createIndex=C7;ms.parseIndex=Hke;ms.config=bt;ms.parseQuery=E7;tEe(eEe);const iEe={class:"m-headerSearch"},uEe=Z({__name:"HeaderSearch",setup(e){const t=Xl(),n=z(!1),o=z([]),r=z([]),l=z(""),a=z(null),s=vl(),i=E(()=>s.routes),c=()=>{n.value=!0},f=h=>{a.value=new ms(h,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})};_e(r,h=>{f(h)});const d=(h,m="/",_=[])=>{let g=[];for(const y of h){if(y.hidden)continue;const b={path:v7.resolve(m,y.path),title:[..._]};if(y.meta&&y.meta.title&&(b.title=[...b.title,y.meta.title],y.redirect!=="noRedirect"&&g.push(b)),y.children){const C=d(y.children,b.path,b.title);C.length>=1&&(g=[...g,...C])}}return g},p=h=>{h&&t.push({path:h}),o.value=[],l.value="",n.value=!1};tt(()=>{r.value=d(JSON.parse(JSON.stringify(i.value)))});const v=h=>{h!==""?o.value=a.value.search(h):o.value=[]};return(h,m)=>{const _=Ie("Search"),g=Ie("el-icon"),y=Ie("el-tooltip"),b=Ie("el-option"),C=Ie("el-select"),$=Ie("el-dialog");return w(),M("div",iEe,[R(y,{effect:"dark",content:"\u83DC\u5355\u641C\u7D22",placement:"bottom"},{default:q(()=>[R(g,{class:"bell header-icon",style:{"font-size":"22px"},onClick:c},{default:q(()=>[R(_)]),_:1})]),_:1}),R($,{modelValue:n.value,"onUpdate:modelValue":m[1]||(m[1]=k=>n.value=k),width:"600px","destroy-on-close":"","show-close":!1},{default:q(()=>[R(C,{style:{width:"100%"},ref:"headerSearchSelect",modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=k=>l.value=k),"remote-method":v,filterable:"","default-first-option":"",remote:"",placeholder:"\u83DC\u5355\u641C\u7D22 \uFF1A\u652F\u6301\u83DC\u5355\u540D\u79F0\u3001\u8DEF\u5F84",class:"header-search-select",onChange:p},{default:q(()=>[(w(!0),M(Re,null,pt(o.value,k=>(w(),se(b,{key:k.item.path,value:k.item.path,label:k&&k.item.title&&k.item.title.length&&k.item.title.join(" > ")},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])])}}});const cEe=Zt(uEe,[["__scopeId","data-v-1e11e770"]]),dEe={class:"m-info"},fEe={class:"item-child"},pEe={class:"item-child"},hEe={class:"item-child"},vEe=Z({__name:"Remind",setup(e){const t=z("first"),n=r=>{window.open(r)},o=(r,l)=>{console.log(r,l)};return(r,l)=>{const a=Ie("Bell"),s=Ie("el-icon"),i=Ie("el-badge"),c=Ie("el-button"),f=Ie("el-divider"),d=Ie("el-tab-pane"),p=Ie("el-tabs"),v=Ie("el-popover");return w(),M("div",dEe,[R(v,{width:"200px",placement:"bottom"},{reference:q(()=>[R(i,{value:3,class:"item-info-pop"},{default:q(()=>[R(s,{class:"bell header-icon",style:{"font-size":"20px"}},{default:q(()=>[R(a)]),_:1})]),_:1})]),default:q(()=>[S("div",null,[R(p,{modelValue:t.value,"onUpdate:modelValue":l[3]||(l[3]=h=>t.value=h),class:"demo-tabs",onTabClick:o},{default:q(()=>[R(d,{label:"\u901A\u77E5",name:"first"},{default:q(()=>[S("div",fEe,[ot(" GitHub\u5F00\u6E90\u5730\u5740\uFF1A"),R(c,{type:"primary",link:"",onClick:l[0]||(l[0]=h=>n("https://github.com/zouzhibin/vue-admin-perfect"))},{default:q(()=>[ot("\u70B9\u6211")]),_:1})]),R(f,{style:{"margin-bottom":"15px"}}),S("div",pEe,[ot(" Gitee\u5F00\u6E90\u5730\u5740\uFF1A"),R(c,{type:"primary",link:"",onClick:l[1]||(l[1]=h=>n("https://gitee.com/yuanzbz/vue-admin-perfect"))},{default:q(()=>[ot("\u70B9\u6211")]),_:1})]),R(f),S("div",hEe,[ot(" github\u5F00\u6E90\u5730\u5740\uFF1A"),R(c,{type:"primary",link:"",onClick:l[2]||(l[2]=h=>n("https://github.com/zouzhibin/vue-admin-perfect"))},{default:q(()=>[ot("\u70B9\u6211")]),_:1})])]),_:1})]),_:1},8,["modelValue"])])]),_:1})])}}});const mEe=Zt(vEe,[["__scopeId","data-v-5d8c37a6"]]),gEe={class:"m-screenful"},_Ee=Z({__name:"ScreenFull",setup(e){const{toggle:t,isFullscreen:n}=rT();return(o,r)=>{const l=Ie("svg-icon"),a=Ie("el-tooltip");return w(),M("div",gEe,[R(a,{effect:"dark",content:"\u5168\u5C4F",placement:"bottom"},{default:q(()=>[R(l,{"icon-class":u(n)?"exit-fullscreen":"fullscreen",onClick:u(t),className:"header-icon"},null,8,["icon-class","onClick"])]),_:1})])}}});const yEe=Zt(_Ee,[["__scopeId","data-v-9ae0d4a8"]]),bEe={class:"m-setting"},wEe=Z({__name:"Setting",setup(e){const t=kn(),n=(o,r)=>{t.setThemeConfig({key:o,val:r})};return(o,r)=>{const l=Ie("Setting",!0),a=Ie("el-icon"),s=Ie("el-tooltip");return w(),M("div",bEe,[R(s,{effect:"dark",content:"\u4E3B\u9898\u8BBE\u7F6E",placement:"bottom"},{default:q(()=>[R(a,{style:{"font-size":"20px"},class:"bell header-icon"},{default:q(()=>[R(l,{onClick:r[0]||(r[0]=i=>n("showSetting",!0))})]),_:1})]),_:1})])}}});const CEe=Zt(wEe,[["__scopeId","data-v-dbf1a90e"]]),$Ee="/vue-admin-perfect/assets/avatar.31e95fb7.png",k4=Vi({id:"userState",state:()=>({token:null,userInfo:{},roles:localStorage.roles?JSON.parse(localStorage.roles):[]}),getters:{},actions:{login(e){const{username:t,password:n}=e;return new Promise(async(o,r)=>{this.token=t,this.userInfo=e,await this.getRoles(),o(t)})},getRoles(){return new Promise((e,t)=>{this.roles=["admin"],localStorage.roles=JSON.stringify(this.roles),e(this.roles)})},getInfo(e){return new Promise((t,n)=>{this.roles=e,t(e)})},logout(){return new Promise((e,t)=>{this.token=null,this.userInfo={},this.roles=[],e(null)})}},persist:{key:"userState",storage:window.localStorage}}),E4=Vi({id:"tagsViewState",state:()=>({activeTabsValue:"/home",visitedViews:[],cachedViews:[]}),getters:{},actions:{setTabsMenuValue(e){this.activeTabsValue=e},addView(e){this.addVisitedView(e)},removeView(e){return new Promise((t,n)=>{this.visitedViews=this.visitedViews.filter(o=>!e.includes(o.path)),t(null)})},addVisitedView(e){this.setTabsMenuValue(e.path),!this.visitedViews.some(t=>t.path===e.path)&&(this.visitedViews.push(Object.assign({},e,{title:e.meta.title||"no-name"})),e.meta.keepAlive&&this.cachedViews.push(e.name))},delView(e){return new Promise(t=>{this.delVisitedView(e),this.delCachedView(e),t({visitedViews:[...this.visitedViews],cachedViews:[...this.cachedViews]})})},toLastView(e){let t=this.visitedViews.findIndex(o=>o.path===e);const n=this.visitedViews[t+1]||this.visitedViews[t-1];!n||(rs.push(n.path),this.addVisitedView(n))},delVisitedView(e){return new Promise(t=>{this.visitedViews=this.visitedViews.filter(n=>n.path!==e||n.meta.affix),this.cachedViews=this.cachedViews.filter(n=>n.path!==e||n.meta.affix),t([...this.visitedViews])})},delCachedView(e){return new Promise(t=>{const n=this.cachedViews.indexOf(e.name);n>-1&&this.cachedViews.splice(n,1),t([...this.cachedViews])})},clearVisitedView(){this.delAllViews()},delAllViews(){return new Promise(e=>{this.visitedViews=this.visitedViews.filter(t=>t.meta.affix),this.cachedViews=this.visitedViews.filter(t=>t.meta.affix),e([...this.visitedViews])})},delOtherViews(e){this.visitedViews=this.visitedViews.filter(t=>t.path===e||t.meta.affix),this.cachedViews=this.visitedViews.filter(t=>t.path===e||t.meta.affix)},goHome(){this.activeTabsValue="/home",rs.push({path:"/home"})},updateVisitedView(e){for(let t of this.visitedViews)if(t.path===e.path){t=Object.assign(t,e);break}}}}),SEe={class:"dialog-footer"},kEe=Z({__name:"PersonalDialog",setup(e,{expose:t}){const n=z(!1),o=k4(),r=()=>{n.value=!0},l=z(""),a=z(),s=_t({name:o.userInfo.username,password:o.userInfo.password,configPassword:""}),i=_t({configPassword:[{required:!0,message:"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801",trigger:"blur"}]}),c=f=>{!f||f.validate(d=>{if(d)console.log("submit!");else return console.log("error submit!"),!1})};return t({show:r}),(f,d)=>{const p=Ie("el-input"),v=Ie("el-form-item"),h=Ie("el-form"),m=Ie("el-button"),_=Ie("el-dialog");return w(),se(_,{modelValue:n.value,"onUpdate:modelValue":d[5]||(d[5]=g=>n.value=g),title:"\u4FEE\u6539\u5BC6\u7801",width:"40%"},{footer:q(()=>[S("span",SEe,[R(m,{onClick:d[3]||(d[3]=g=>n.value=!1)},{default:q(()=>[ot("\u53D6\u6D88")]),_:1}),R(m,{type:"primary",onClick:d[4]||(d[4]=g=>c(a.value))},{default:q(()=>[ot("\u786E\u5B9A")]),_:1})])]),default:q(()=>[R(h,{ref_key:"ruleFormRef",ref:a,model:s,rules:i,"label-width":"120px",class:"demo-ruleForm",size:l.value},{default:q(()=>[R(v,{label:"\u59D3\u540D"},{default:q(()=>[R(p,{modelValue:s.name,"onUpdate:modelValue":d[0]||(d[0]=g=>s.name=g),disabled:""},null,8,["modelValue"])]),_:1}),R(v,{label:"\u65E7\u7684\u5BC6\u7801",prop:"password"},{default:q(()=>[R(p,{modelValue:s.password,"onUpdate:modelValue":d[1]||(d[1]=g=>s.password=g),type:"password"},null,8,["modelValue"])]),_:1}),R(v,{label:"\u65B0\u7684\u5BC6\u7801",prop:"configPassword"},{default:q(()=>[R(p,{modelValue:s.configPassword,"onUpdate:modelValue":d[2]||(d[2]=g=>s.configPassword=g),type:"password"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules","size"])]),_:1},8,["modelValue"])}}});const EEe=Zt(kEe,[["__scopeId","data-v-845d83a3"]]),MEe={class:"el-dropdown-link"},xEe=Z({__name:"Avatar",setup(e){const t=Xl(),n=k4(),o=E4(),r=vl(),l=E({get(){return n.roles[0]},set(d){(async()=>(await n.getInfo([d]),t.push({path:"/"}),location.reload()))()}}),a=d=>{d!==l.value&&(l.value=l.value==="admin"?"other":"admin")},s=E(()=>n.userInfo),i=z(),c=async()=>{j9.confirm("\u60A8\u662F\u5426\u786E\u8BA4\u9000\u51FA\u767B\u5F55?","\u6E29\u99A8\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(async()=>{await n.logout(),await t.push({path:"/login"}),o.clearVisitedView(),r.clearRoutes(),h4({type:"success",message:"\u9000\u51FA\u767B\u5F55\u6210\u529F\uFF01"})}).catch(()=>{})},f=()=>{i.value.show()};return(d,p)=>{const v=Ie("el-avatar"),h=Ie("arrow-down"),m=Ie("el-icon"),_=Ie("el-dropdown-item"),g=Ie("Edit"),y=Ie("SwitchButton"),b=Ie("el-dropdown-menu"),C=Ie("el-dropdown");return w(),M(Re,null,[R(C,null,{dropdown:q(()=>[R(b,null,{default:q(()=>[R(_,{command:0,onClick:p[0]||(p[0]=$=>a("admin"))},{default:q(()=>[ot(Me(u(l)==="admin"?"\u5F53\u524D\u89D2\u8272":"\u5207\u6362\u89D2\u8272")+"\uFF1A\u7BA1\u7406\u5458 ",1)]),_:1}),R(_,{command:0,divided:"",onClick:p[1]||(p[1]=$=>a("other"))},{default:q(()=>[ot(Me(u(l)==="other"?"\u5F53\u524D\u89D2\u8272":"\u5207\u6362\u89D2\u8272")+"\uFF1A\u666E\u901A\u7528\u6237 ",1)]),_:1}),R(_,{command:3,divided:"",onClick:f},{default:q(()=>[R(m,null,{default:q(()=>[R(g)]),_:1}),ot("\u4FEE\u6539\u5BC6\u7801 ")]),_:1}),R(_,{command:4,divided:"",onClick:c},{default:q(()=>[R(m,null,{default:q(()=>[R(y)]),_:1}),ot("\u9000\u51FA\u767B\u5F55 ")]),_:1})]),_:1})]),default:q(()=>[S("span",MEe,[R(v,{size:30,class:"avatar",src:u($Ee)},null,8,["src"]),ot(" "+Me(u(s).username)+" ",1),R(m,{class:"header-icon el-icon--right"},{default:q(()=>[R(h)]),_:1})])]),_:1}),R(EEe,{ref_key:"person",ref:i},null,512)],64)}}});const TEe=Zt(xEe,[["__scopeId","data-v-65f0c517"]]),AEe={class:"m-tool-right"},LEe=Z({__name:"ToolRight",setup(e){return(t,n)=>(w(),M("div",AEe,[R(yke,{class:"item-children"}),R(wke,{class:"item-children"}),R(cEe,{class:"item-children"}),R(mEe,{class:"item-children"}),R(yEe,{class:"item-children"}),R(CEe,{class:"item-children"}),R(TEe)]))}});const M4=Zt(LEe,[["__scopeId","data-v-12f00dee"]]),IEe=Z({__name:"CollapseIcon",setup(e){const t=kn(),n=E(()=>!t.isCollapse),o=()=>{t.setCollapse(n.value)};return(r,l)=>{const a=Ie("expand"),s=Ie("el-icon"),i=Ie("fold");return w(),M("div",{class:"hamburger-container",onClick:o},[u(n)?(w(),se(s,{key:0,class:"icon"},{default:q(()=>[R(a)]),_:1})):(w(),se(s,{key:1,class:"icon"},{default:q(()=>[R(i)]),_:1}))])}}});const zEe=Zt(IEe,[["__scopeId","data-v-431b683b"]]),OEe=S("div",{class:"breadcrumb-item"},[S("span",{class:"breadcrumb-title"},"\u9996\u9875")],-1),NEe={key:0,class:"no-redirect"},PEe=["onClick"],REe=Z({__name:"Hamburger",setup(e){const t=Zl(),n=Xl(),o=l=>{n.push({path:l.path})},r=E(()=>t.matched.filter(l=>l.meta&&l.meta.title&&l.meta.breadcrumb!==!1));return(l,a)=>{const s=Ie("el-breadcrumb-item"),i=Ie("el-breadcrumb");return w(),se(i,{class:"app-breadcrumb",separator:"/"},{default:q(()=>[R(R1,{name:"breadcrumb"},{default:q(()=>[u(r)[0].meta.title!=="\u9996\u9875"?(w(),se(s,{to:{path:"/"},key:"home"},{default:q(()=>[OEe]),_:1})):ue("",!0),(w(!0),M(Re,null,pt(u(r),(c,f)=>(w(),se(s,{key:c.name},{default:q(()=>[c.redirect==="noRedirect"||f==u(r).length-1?(w(),M("span",NEe,Me(c.meta.title),1)):(w(),M("a",{key:1,onClick:Ye(d=>o(c),["prevent"])},Me(c.meta.title),9,PEe))]),_:2},1024))),128))]),_:1})]),_:1})}}}),VEe={class:"m-tool-left"},FEe=Z({__name:"ToolLeft",setup(e){return(t,n)=>(w(),M("div",VEe,[R(zEe),R(REe)]))}});const M7=Zt(FEe,[["__scopeId","data-v-01e7e18a"]]),HEe=Z({__name:"MoreButton",setup(e){Xl();const t=Zl(),n=kn(),o=E4();E(()=>o.visitedViews);const r=()=>{n.setReload()},l=i=>{o.toLastView(t.path),o.delView(t.path)},a=async()=>{o.delOtherViews(t.path)},s=async()=>{await o.delAllViews(),o.goHome()};return(i,c)=>{const f=Ie("arrow-down"),d=Ie("el-icon"),p=Ie("el-button"),v=Ie("Refresh"),h=Ie("el-dropdown-item"),m=Ie("FolderRemove"),_=Ie("Close"),g=Ie("FolderDelete"),y=Ie("el-dropdown-menu"),b=Ie("el-dropdown");return w(),se(b,{trigger:"hover"},{dropdown:q(()=>[R(y,null,{default:q(()=>[R(h,{onClick:r},{default:q(()=>[R(d,{size:14},{default:q(()=>[R(v)]),_:1}),ot(" "+Me(i.$t("tagsView.refresh")),1)]),_:1}),R(h,{onClick:l},{default:q(()=>[R(d,{size:14},{default:q(()=>[R(m)]),_:1}),ot(" "+Me(i.$t("tagsView.closeCurrent")),1)]),_:1}),R(h,{onClick:a},{default:q(()=>[R(d,{size:14},{default:q(()=>[R(_)]),_:1}),ot(Me(i.$t("tagsView.closeOther")),1)]),_:1}),R(h,{onClick:s},{default:q(()=>[R(d,{size:14},{default:q(()=>[R(g)]),_:1}),ot(Me(i.$t("tagsView.closeAll")),1)]),_:1})]),_:1})]),default:q(()=>[R(p,{size:"small",type:"primary"},{default:q(()=>[S("span",null,Me(i.$t("tagsView.more")),1),R(d,{class:"el-icon--right"},{default:q(()=>[R(f)]),_:1})]),_:1})]),_:1})}}});const BEe=Zt(HEe,[["__scopeId","data-v-a5aa8461"]]),DEe={class:"m-tags-view"},KEe={class:"tags-view"},WEe={class:"right-btn"},jEe=Z({__name:"index",setup(e){const t=Zl(),n=Xl(),o=E4(),r=vl(),l=E(()=>o.visitedViews),a=E(()=>r.routes),s=()=>{const{name:_}=t;if(_!=="Login")return _&&o.addView(t),!1};let i=z([]);function c(_,g="/"){let y=[];return _.forEach(b=>{if(b.meta&&b.meta.affix){const C=v7.resolve(g,b.path);y.push({fullPath:C,path:C,name:b.name,meta:{...b.meta}})}if(b.children){const C=c(b.children,b.path);C.length>=1&&(y=[...y,...C])}}),y}const f=()=>{let _=a.value,g=i.value=c(_);for(const y of g)y.name&&o.addVisitedView(y)};tt(()=>{f(),s()}),_e(t,()=>{s()});const d=E({get:()=>o.activeTabsValue,set:_=>{o.setTabsMenuValue(_)}});function p(_){let g=l.value.findIndex(b=>b.path===_);const y=l.value[g+1]||l.value[g-1];!y||(n.push(y.path),o.addVisitedView(y))}const v=_=>{let g=_.props.name;n.push(g)},h=_=>_===t.path,m=async _=>{h(_)&&p(_),await o.delView(_)};return(_,g)=>{const y=Ie("el-icon"),b=Ie("el-tab-pane"),C=Ie("el-tabs");return w(),M("div",DEe,[S("div",KEe,[R(C,{modelValue:u(d),"onUpdate:modelValue":g[0]||(g[0]=$=>Et(d)?d.value=$:null),type:"card",onTabClick:v,onTabRemove:m},{default:q(()=>[(w(!0),M(Re,null,pt(u(l),$=>(w(),se(b,{key:$.path,path:$.path,label:$.title,name:$.path,closable:!($.meta&&$.meta.affix)},{label:q(()=>[$.icon?(w(),se(y,{key:0,class:"tabs-icon"},{default:q(()=>[(w(),se(it($.icon)))]),_:2},1024)):ue("",!0),ot(" "+Me($.title),1)]),_:2},1032,["path","label","name","closable"]))),128))]),_:1},8,["modelValue"])]),S("div",WEe,[R(u(BEe))])])}}});const x4=Zt(jEe,[["__scopeId","data-v-59e8e7ea"]]),UEe={class:"header-inner"},qEe=Z({__name:"index",setup(e){const t=kn(),n=E(()=>t.themeConfig),o=E(()=>!t.isCollapse);return(r,l)=>(w(),M(Re,null,[R(g7),S("div",{class:A(["m-layout-header",{"fixed-header":u(n).fixedHeader,collapse:u(n).fixedHeader&&u(o),"no-collapse":u(n).fixedHeader&&!u(o)}])},[S("div",UEe,[R(M7),R(M4)]),u(n).showTag?(w(),se(x4,{key:0})):ue("",!0)],2)],64))}});const YEe=Zt(qEe,[["__scopeId","data-v-1f82c6f9"]]),Sd=new Map,GEe=(e,t)=>{let n;if(e){const o=t.name;return Sd.has(o)?n=Sd.get(o):(n={name:o,render(){return Ke("div",{className:"app-main-inner"},e)}},Sd.set(o,n)),Ke(n)}},XEe={class:"app-main"},ZEe=Z({__name:"index",setup(e){const t=kn(),n=vl(),o=E(()=>n.keepAliveRoutes),r=E(()=>t.isReload);return(l,a)=>{const s=Ie("router-view");return w(),M("div",XEe,[R(s,null,{default:q(({Component:i,route:c})=>[R(Jt,{name:"fade-slide",mode:"out-in",appear:""},{default:q(()=>[u(r)?(w(),se(Yy,{key:0,include:u(o)},[(w(),se(it(u(GEe)(i,c)),{key:c.path}))],1032,["include"])):ue("",!0)]),_:2},1024)]),_:1})])}}});const T4=Zt(ZEe,[["__scopeId","data-v-c5f43f7d"]]);const JEe={},QEe=e=>(Gc("data-v-85f8336d"),e=e(),Xc(),e),eMe={class:"footer-layout"},tMe=QEe(()=>S("span",{href:"/",target:"_blank"}," 2022 \xA9 VUE-ADMIN-PERFECT By ZB Technology. ",-1)),nMe=[tMe];function oMe(e,t){return w(),M("div",eMe,nMe)}const A4=Zt(JEe,[["render",oMe],["__scopeId","data-v-85f8336d"]]),rMe={class:"main-container"},lMe=Z({__name:"index",setup(e){return(t,n)=>(w(),M(Re,null,[R(gke),S("div",rMe,[R(YEe),R(T4),R(A4)])],64))}});const Q6=Zt(lMe,[["__scopeId","data-v-0191c8cb"]]),aMe={class:"header-inner"},sMe=Z({__name:"index",setup(e){const t=vl(),n=Zl(),o=E(()=>t.permission_routes),r=kn(),l=E(()=>{const{meta:s,path:i}=n;return s.activeMenu?s.activeMenu:i}),a=E(()=>r.themeConfig);return E(()=>!r.isCollapse),(s,i)=>{const c=Ie("el-menu");return w(),M(Re,null,[R(g7),S("div",{class:A(["m-layout-header",{"fixed-header":u(a).fixedHeader}])},[S("div",aMe,[R(c,{mode:"horizontal","default-active":u(l),"background-color":"#304156","text-color":"#bfcbd9","unique-opened":u(r).themeConfig.uniqueOpened,"collapse-transition":!1,class:"menu-horizontal"},{default:q(()=>[R($4,{menuList:u(o)},null,8,["menuList"])]),_:1},8,["default-active","unique-opened"]),R(M4)]),u(a).showTag?(w(),se(x4,{key:0})):ue("",!0)],2)],64)}}});const iMe=Zt(sMe,[["__scopeId","data-v-7f9fbfdf"]]),uMe={class:"main-container"},cMe=Z({__name:"index",setup(e){return(t,n)=>(w(),M("div",uMe,[R(iMe),R(T4),R(A4)]))}});const dMe=Zt(cMe,[["__scopeId","data-v-9bfbe65d"]]),fMe=e=>(Gc("data-v-60526b4f"),e=e(),Xc(),e),pMe={class:"main-columns"},hMe={class:"layout-columns-aside"},vMe=fMe(()=>S("div",{class:"logo flex-center"},[S("img",{src:v4,alt:"logo"})],-1)),mMe={class:"menu-wrap"},gMe=["onClick"],_Me={class:"title"},yMe={class:"logo flex-center"},bMe={class:"container"},wMe={class:"layout-header"},CMe={class:"header-tool"},$Me=Z({__name:"index",setup(e){const t=vl(),n=kn(),o=Zl(),r=Xl();E(()=>t.permission_routes);const l=E(()=>t.permission_routes.filter(v=>!v.hidden)),a=z(""),s=E(()=>n.themeConfig),i=E(()=>!n.isCollapse),c=E(()=>{const{meta:v,path:h}=o;return h}),f=z("/"),d=z([]);_e(()=>[o],()=>{var m;if(!l.value.length)return;const[v]=o.matched;a.value=v.path;let h=l.value.find(_=>v.path===_.path);h&&((m=h.children)==null?void 0:m.length)?d.value=h.children:d.value=[],f.value=v.path},{deep:!0,immediate:!0});const p=v=>{r.push(v.path)};return(v,h)=>{const m=Ie("el-icon"),_=Ie("el-scrollbar"),g=Ie("el-menu");return w(),M("div",pMe,[S("div",hMe,[vMe,R(_,null,{default:q(()=>[S("div",mMe,[(w(!0),M(Re,null,pt(u(l),y=>{var b;return w(),M("div",{class:A(["item-menu-wrap",{"active-menu":a.value===y.path}]),key:y.path,onClick:C=>p(y)},[R(m,{size:20},{default:q(()=>{var C;return[(w(),se(it((C=y==null?void 0:y.meta)==null?void 0:C.icon)))]}),_:2},1024),S("span",_Me,Me((b=y==null?void 0:y.meta)==null?void 0:b.title),1)],10,gMe)}),128))])]),_:1})]),S("div",{class:"layout-columns-sub",style:De({width:u(i)?"60px":"210px"})},[S("div",yMe,[nt(S("span",null,Me(u(i)?"Vue":"Vue Admin Perfect"),513),[[yt,d.value.length]])]),R(_,null,{default:q(()=>[R(g,{collapse:u(i),router:!1,"default-active":u(c),"unique-opened":u(n).themeConfig.uniqueOpened,"collapse-transition":!1,class:"menu-columns"},{default:q(()=>[R($4,{menuList:d.value},null,8,["menuList"])]),_:1},8,["collapse","default-active","unique-opened"])]),_:1})],4),S("div",bMe,[S("div",wMe,[S("div",CMe,[R(M7),R(M4)]),u(s).showTag?(w(),se(x4,{key:0})):ue("",!0)]),R(T4),R(A4)])])}}});const SMe=Zt($Me,[["__scopeId","data-v-60526b4f"]]),kMe=Z({__name:"index",setup(e){const t=kn(),n=E(()=>t.themeConfig),o={horizontal:dMe,vertical:Q6,columns:SMe};E(()=>!t.isCollapse);let{device:r}=q9();_e(()=>r.value,a=>{let s=a==="mobile"?"vertical":n.value.mode;document.body.setAttribute("class",`layout-${s}`)},{immediate:!0});const l=E(()=>({hideSidebar:!t.isCollapse,openSidebar:t.isCollapse,withoutAnimation:t.withoutAnimation,mobile:r.value==="mobile"}));return(a,s)=>(w(),M("div",{class:A(["g-container-layout",u(l)])},[R(S$e),u(r)==="mobile"?(w(),se(Q6,{key:0})):(w(),se(it(o[u(n).mode]),{key:1})),R(w$e)],2))}});const No=Zt(kMe,[["__scopeId","data-v-b9a40163"]]),EMe=[{path:"/table",component:No,redirect:"/table/comprehensive",name:"superTable",meta:{title:"\u8D85\u7EA7\u8868\u683C",icon:"School"},children:[{path:"/table/comprehensive",component:()=>ut(()=>import("./index.7128ea79.js"),["assets/index.7128ea79.js","assets/index.ee732d38.css"]),name:"comprehensive",meta:{title:"\u7EFC\u5408\u8868\u683C",keepAlive:!0,icon:"MenuIcon"}},{path:"/table/inlineTable",component:()=>ut(()=>import("./index.cc339352.js"),["assets/index.cc339352.js","assets/index.85258979.css"]),name:"inlineTable",meta:{title:"\u884C\u5185\u7F16\u8F91",keepAlive:!0,icon:"MenuIcon"}},{path:"/table/editableProTable",component:()=>ut(()=>import("./index.59ec1979.js"),["assets/index.59ec1979.js","assets/index.5be08a55.js","assets/index.84b065ef.css"]),name:"editableProTable",meta:{title:"\u53EF\u7F16\u8F91\u8868\u683C",keepAlive:!0,icon:"MenuIcon"}}]}],MMe=[{path:"/dataScreen",name:"dataScreen",meta:{title:"\u53EF\u89C6\u5316\u5927\u5C4F",icon:"Histogram"},component:()=>ut(()=>import("./index.cfd79c44.js"),["assets/index.cfd79c44.js","assets/index.aca2ee62.js","assets/index.1d4dbcc5.js","assets/index.vue_vue_type_script_setup_true_lang.b4344421.js","assets/index.386c25cb.css"])}],xMe=[{path:"/excel",component:No,redirect:"/excel/export-excel",name:"excel",meta:{title:"Excel&Zip",icon:"School"},children:[{path:"/excel/export-excel",component:()=>ut(()=>import("./index.40f35c84.js"),["assets/index.40f35c84.js","assets/exprotExcel.36a3126a.js","assets/exceljs.min.02b0256c.js","assets/index.a6563d0e.css"]),name:"export-excel",meta:{title:"\u5BFC\u51FA Excel",icon:"MenuIcon"}},{path:"/excel/export-merge-header",component:()=>ut(()=>import("./index.cf5fdd8c.js"),["assets/index.cf5fdd8c.js","assets/exprotExcel.36a3126a.js","assets/exceljs.min.02b0256c.js","assets/index.df380b98.css"]),name:"export-merge-header",meta:{title:"\u5BFC\u51FA \u591A\u7EA7\u8868\u5934",icon:"MenuIcon"}},{path:"/excel/upload-style-excel",component:()=>ut(()=>import("./index.0aaaef17.js"),["assets/index.0aaaef17.js","assets/exprotExcel.36a3126a.js","assets/exceljs.min.02b0256c.js","assets/index.1879c92d.css"]),name:"upload-style-excel",meta:{title:"\u81EA\u5B9A\u4E49\u6837\u5F0F\u5BFC\u51FA Excel",icon:"MenuIcon"}},{path:"/excel/upload-excel",component:()=>ut(()=>import("./index.46e79482.js"),["assets/index.46e79482.js","assets/exceljs.min.02b0256c.js","assets/index.77032e84.css"]),name:"upload-excel",meta:{title:"\u4E0A\u4F20 Excel",icon:"MenuIcon"}},{path:"/excel/zip",component:()=>ut(()=>import("./index.1e84ef4c.js"),["assets/index.1e84ef4c.js","assets/exceljs.min.02b0256c.js","assets/index.bdd8079d.css"]),name:"Zip",meta:{title:"\u5BFC\u51FA Zip",roles:["other"],icon:"MenuIcon"}}]}],TMe=[{path:"/nested",component:No,redirect:"/nested/menu1",name:"nested",meta:{title:"\u8DEF\u7531\u5D4C\u5957",icon:"HelpFilled"},children:[{path:"/nested/menu1",component:()=>ut(()=>import("./index.992fe564.js"),[]),name:"menu1",meta:{title:"\u83DC\u53551",icon:"MenuIcon"},alwaysShow:!0,redirect:"/nested/menu1/menu1-1",children:[{path:"/nested/menu1/menu1-1",component:()=>ut(()=>import("./index.4af4d0d1.js"),[]),name:"menu1-1",meta:{title:"\u83DC\u5355 1-1",icon:"MenuIcon"}},{path:"/nested/menu1/menu1-2",component:()=>ut(()=>import("./index.f6693b11.js"),[]),name:"menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:"\u83DC\u5355 1-2",icon:"MenuIcon"},children:[{path:"/nested/menu1/menu1-2/menu1-2-1",component:()=>ut(()=>import("./index.526ca5c5.js"),[]),name:"menu1-2-1",meta:{title:"\u83DC\u5355 1-2-1",icon:"MenuIcon"}},{path:"/nested/menu1/menu1-2/menu1-2-2",component:()=>ut(()=>import("./index.dd985c56.js"),[]),name:"menu1-2-2",meta:{title:"\u83DC\u5355 1-2-2",icon:"MenuIcon"}}]},{path:"/nested/menu1/menu1-3",component:()=>ut(()=>import("./index.7fcc412d.js"),[]),name:"menu1-3",meta:{title:"\u83DC\u5355 1-3",icon:"MenuIcon"}}]},{path:"/nested/menu2",component:()=>ut(()=>import("./index.7de220ef.js"),[]),name:"nested-menu2",meta:{title:"\u83DC\u53552",icon:"MenuIcon"}}]}],AMe=[{path:"/system",component:No,redirect:"/system/user",name:"systemManagement",meta:{title:"\u7CFB\u7EDF\u7BA1\u7406",icon:"Setting"},children:[{path:"/system/user",component:()=>ut(()=>import("./index.d244c9dc.js"),["assets/index.d244c9dc.js","assets/system.79236d81.js","assets/index.da76a7e9.css"]),name:"user",meta:{title:"\u7528\u6237\u7BA1\u7406",icon:"MenuIcon"}},{path:"/system/dept",component:()=>ut(()=>import("./index.08c6724d.js"),["assets/index.08c6724d.js","assets/system.79236d81.js","assets/index.a834a9a7.css"]),name:"dept",meta:{title:"\u90E8\u95E8\u7BA1\u7406",icon:"MenuIcon"}},{path:"/system/role",component:()=>ut(()=>import("./index.9d2cbc6c.js"),["assets/index.9d2cbc6c.js","assets/system.79236d81.js","assets/index.bccec156.css"]),name:"role",meta:{title:"\u89D2\u8272\u7BA1\u7406",icon:"MenuIcon"}},{path:"/system/menu",component:()=>ut(()=>import("./index.b737dd40.js"),["assets/index.b737dd40.js","assets/system.79236d81.js","assets/index.d38a94fa.css"]),name:"menu",meta:{title:"\u83DC\u5355\u7BA1\u7406",icon:"MenuIcon"}},{path:"/system/dictionary",component:()=>ut(()=>import("./index.5848d138.js"),["assets/index.5848d138.js","assets/system.79236d81.js","assets/index.a228bc1c.css"]),name:"dictionary",meta:{title:"\u5B57\u5178\u7BA1\u7406",icon:"MenuIcon"}}]}],LMe=[{path:"/echarts",component:No,redirect:"/echarts/migration",name:"echarts",meta:{title:"Echarts",icon:"trend-charts",roles:["other"]},children:[{path:"/echarts/migration",component:()=>ut(()=>import("./index.17758c4b.js"),["assets/index.17758c4b.js","assets/index.vue_vue_type_script_setup_true_lang.b4344421.js","assets/index.1d4dbcc5.js","assets/index.7c5448ac.css"]),name:"migration",meta:{title:"\u8FC1\u5F99\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"/echarts/bar",component:()=>ut(()=>import("./index.5d37f85f.js"),["assets/index.5d37f85f.js","assets/index.1d4dbcc5.js","assets/useResizeElement.d96a18bd.js","assets/index.bd2a8ca9.css"]),name:"bar",meta:{title:"\u67F1\u72B6\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"/echarts/graph",component:()=>ut(()=>import("./index.6e3d4323.js"),["assets/index.6e3d4323.js","assets/index.1d4dbcc5.js","assets/useResizeElement.d96a18bd.js","assets/index.ec893580.css"]),name:"graph",meta:{title:"\u96F7\u8FBE\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"/echarts/pie",component:()=>ut(()=>import("./index.46fb5a68.js"),["assets/index.46fb5a68.js","assets/useResizeElement.d96a18bd.js","assets/index.1d4dbcc5.js","assets/index.06f47b96.css"]),name:"pie",meta:{title:"\u997C\u56FE",roles:["other"],icon:"MenuIcon"}},{path:"/echarts/simple",component:()=>ut(()=>import("./index.facdbc08.js"),["assets/index.facdbc08.js","assets/index.1d4dbcc5.js","assets/bar.vue_vue_type_script_setup_true_lang.83ec4acd.js","assets/index.470808bd.css"]),name:"echarts-simple",meta:{title:"\u7B80\u5355\u56FE\u8868",roles:["other"],icon:"MenuIcon"}}]}],IMe=[{path:"/chat",component:No,redirect:"/chat/index",name:"chat",meta:{title:"\u804A\u5929\u6846",icon:"chat-square"},children:[{path:"/chat/index",component:()=>ut(()=>import("./index.78d05110.js"),["assets/index.78d05110.js","assets/we.6112ffcb.js","assets/index.d55ee797.css"]),name:"chatBox",meta:{title:"\u804A\u5929\u6846",icon:"chat-square"}}]}],zMe=[{path:"/other",component:No,redirect:"/other/clipboard",name:"commonComponents",meta:{title:"\u5E38\u7528\u7EC4\u4EF6",icon:"management"},children:[{path:"/other/clipboard",component:()=>ut(()=>import("./index.3de41285.js"),[]),name:"clipboard",meta:{title:"\u526A\u8D34\u677F",roles:["other"],icon:"MenuIcon"}},{path:"/other/editor",component:()=>ut(()=>import("./index.1a423568.js"),["assets/index.1a423568.js","assets/index.768f218f.css"]),name:"editor",meta:{title:"\u5BCC\u6587\u672C\u7F16\u8F91\u5668",roles:["other"],icon:"MenuIcon"}},{path:"/other/code-mirror",component:()=>ut(()=>import("./index.cafad769.js"),["assets/index.cafad769.js","assets/index.1b75285b.css"]),name:"code-mirror",meta:{title:"\u4EE3\u7801\u7F16\u8F91\u5668",roles:["other"],icon:"MenuIcon"}},{path:"/other/mark-down",component:()=>ut(()=>import("./index.c7e71792.js"),["assets/index.c7e71792.js","assets/index.6ee8dfa0.css"]),name:"mark-down",meta:{title:"markDown",roles:["other"],icon:"MenuIcon"}},{path:"/other/print",component:()=>ut(()=>import("./index.4f0ecb79.js"),[]),name:"print",meta:{title:"\u6253\u5370",icon:"MenuIcon"}},{path:"/other/cropper",component:()=>ut(()=>import("./index.7a24e1c6.js"),["assets/index.7a24e1c6.js","assets/index.53e5ddc1.css"]),name:"cropper",meta:{title:"\u5934\u50CF\u88C1\u526A",icon:"MenuIcon"}},{path:"/other/card-drag",component:()=>ut(()=>import("./index.024e399d.js"),["assets/index.024e399d.js","assets/index.5be08a55.js","assets/index.6f9042fc.css"]),name:"card-drag",meta:{title:"\u5361\u7247\u62D6\u62FD",icon:"MenuIcon"}},{path:"/other/upload",component:()=>ut(()=>import("./index.f6296415.js"),["assets/index.f6296415.js","assets/index.c6612b83.css"]),name:"upload",meta:{title:"\u4E0A\u4F20\u56FE\u7247",icon:"MenuIcon"}},{path:"/other/qrcode",component:()=>ut(()=>import("./index.beb36e41.js"),["assets/index.beb36e41.js","assets/vue-qr.c32fa0eb.js","assets/index.5be08a55.js"]),name:"qrcode",meta:{title:"\u751F\u6210\u4E8C\u7EF4\u7801",icon:"MenuIcon"}},{path:"/other/svgIcon",component:()=>ut(()=>import("./index.7b377739.js"),["assets/index.7b377739.js","assets/index.05456e02.css"]),name:"svgIcon",meta:{title:"svg \u56FE\u6807",icon:"MenuIcon"}},{path:"/other/iconfont",component:()=>ut(()=>import("./index.b036acda.js"),["assets/index.b036acda.js","assets/index.19b422fb.css"]),name:"iconfont",meta:{title:"\u963F\u91CC\u56FE\u6807\u5E93",icon:"MenuIcon"}},{path:"/other/water-marker",component:()=>ut(()=>import("./index.15b48b60.js"),["assets/index.15b48b60.js","assets/index.5be08a55.js","assets/index.5fb67817.css"]),name:"water-marker",meta:{title:"\u751F\u6210\u6C34\u5370",icon:"MenuIcon"}},{path:"/other/right-menu",component:()=>ut(()=>import("./index.96fe49e5.js"),["assets/index.96fe49e5.js","assets/index.109e9ac9.css"]),name:"right-menu",meta:{title:"\u53F3\u952E\u83DC\u5355",icon:"MenuIcon"}},{path:"/other/count",component:()=>ut(()=>import("./index.1192b7e9.js"),["assets/index.1192b7e9.js","assets/index.aca2ee62.js","assets/index.fd80bebf.css"]),name:"count",meta:{title:"\u6570\u5B57\u52A8\u753B",icon:"MenuIcon"}},{path:"/other/text-clamp",component:()=>ut(()=>import("./index.ec7c5396.js"),["assets/index.ec7c5396.js","assets/index.5a29b4a8.css"]),name:"text-clamp",meta:{title:"\u591A\u884C\u6587\u672C\u7701\u7565",icon:"MenuIcon"}}]}],OMe=[{path:"/external-link",component:No,redirect:"/external-link/wechat",name:"externalLink",meta:{title:"\u5916\u90E8\u94FE\u63A5",icon:"link"},children:[{path:"/external-link/wechat",name:"wechat",component:()=>ut(()=>import("./index.b0a53baf.js"),["assets/index.b0a53baf.js","assets/we.6112ffcb.js"]),meta:{title:"\u52A0\u5FAE\u4FE1\u7FA4",icon:"MenuIcon"}},{path:"https://github.com/zouzhibin/vue-admin-perfect",name:"github",meta:{title:"Github \u5730\u5740",icon:"MenuIcon"}},{path:"https://gitee.com/yuanzbz/vue-admin-perfect?_from=gitee_search",name:"github",meta:{title:"Gitee \u5730\u5740",icon:"MenuIcon"}},{path:"https://yuanzbz.gitee.io/vue-admin-simple",name:"simple",meta:{title:"\u7B80\u6613\u7248\u672C",icon:"MenuIcon"},component:()=>ut(()=>import("./index.5b14912b.js"),[])},{path:"/external-link/iframe",component:()=>ut(()=>import("./index.d02b4bf0.js"),["assets/index.d02b4bf0.js","assets/index.a5f4d127.css"]),name:"iframe",meta:{title:"\u5185\u5D4C iframe",icon:"MenuIcon"}}]}],NMe=[{path:"/form",component:No,redirect:"/form/validateForm",name:"form",alwaysShow:!0,meta:{title:"\u8D85\u7EA7\u8868\u5355",icon:"Grape"},children:[{path:"/form/validateForm",component:()=>ut(()=>import("./index.6209dcd3.js"),[]),name:"validateForm",meta:{title:"\u6821\u9A8C Form",keepAlive:!0,icon:"MenuIcon"}},{path:"/form/advancedForm",component:()=>ut(()=>import("./index.1317207e.js"),["assets/index.1317207e.js","assets/index.cd87b3e1.css"]),name:"advancedForm",meta:{title:"\u6536\u7F29 Form",icon:"MenuIcon"}},{path:"/form/appendForm",component:()=>ut(()=>import("./index.00899d87.js"),["assets/index.00899d87.js","assets/index.6d827c07.css"]),name:"appendForm",meta:{title:"\u589E\u5220 Form",keepAlive:!0,icon:"MenuIcon"}},{path:"/form/moreForm",component:()=>ut(()=>import("./index.309eee9a.js"),["assets/index.309eee9a.js","assets/index.395373ae.css"]),name:"moreForm",meta:{title:"\u591A\u8868\u5355\u9A8C\u8BC1",keepAlive:!0,icon:"MenuIcon"}}]}],PMe=[{path:"/function-page",component:No,redirect:"/function-page/404",name:"functionPage",meta:{title:"\u529F\u80FD\u9875\u9762",icon:"ElementPlus"},children:[{path:"/function-page/tools",component:()=>ut(()=>import("./index.54259389.js"),["assets/index.54259389.js","assets/index.ba6e134e.css"]),name:"tools",meta:{title:"\u5DE5\u5177\u94FE\u96C6\u5408",keepAlive:!0,icon:"MenuIcon"}},{path:"/function-page/404",component:()=>ut(()=>import("./404.a82eb39c.js"),["assets/404.a82eb39c.js","assets/404.5971bcad.css"]),name:"function-404",meta:{title:"404 \u9875\u9762",keepAlive:!0,icon:"MenuIcon"}},{path:"/function-page/403",component:()=>ut(()=>import("./403.0fb5bc82.js"),["assets/403.0fb5bc82.js","assets/403.79957ed6.css"]),name:"function-403",meta:{title:"403 \u9875\u9762",keepAlive:!0,icon:"MenuIcon"}},{path:"/function-page/fullscreen",component:()=>ut(()=>import("./index.3fe33588.js"),["assets/index.3fe33588.js","assets/index.aa7b49db.css"]),name:"fullscreen",meta:{title:"\u5143\u7D20 \u5168\u5C4F",keepAlive:!0,icon:"MenuIcon"}},{path:"/function-page/information-list",component:()=>ut(()=>import("./index.ef506d50.js"),["assets/index.ef506d50.js","assets/index.4512a2c6.css"]),name:"informationList",meta:{title:"\u4FE1\u606F\u5217\u8868",keepAlive:!0,icon:"MenuIcon"}}]}],Iu=[...MMe,...LMe,...EMe,...NMe,...zMe,...PMe,...IMe,...TMe,...xMe,...OMe,...AMe],x7=[{path:"/404",name:"404",component:()=>ut(()=>import("./404.a82eb39c.js"),["assets/404.a82eb39c.js","assets/404.5971bcad.css"]),hidden:!0},{path:"/403",name:"403",component:()=>ut(()=>import("./403.0fb5bc82.js"),["assets/403.0fb5bc82.js","assets/403.79957ed6.css"]),hidden:!0},{path:"/login",name:"Login",component:()=>ut(()=>import("./index.0c3bc5de.js"),["assets/index.0c3bc5de.js","assets/index.5be08a55.js","assets/vue-qr.c32fa0eb.js","assets/index.8c98cc8e.css"]),hidden:!0,meta:{title:"\u767B\u5F55"}},{path:"/",name:"layout",component:No,redirect:"/home",meta:{title:"\u9996\u9875",icon:"House"},children:[{path:"/home",component:()=>ut(()=>import("./index.1021751a.js"),["assets/index.1021751a.js","assets/we.6112ffcb.js","assets/index.aca2ee62.js","assets/bar.vue_vue_type_script_setup_true_lang.83ec4acd.js","assets/index.1d4dbcc5.js","assets/index.772cc20c.css"]),name:"home",meta:{title:"\u9996\u9875",icon:"House",affix:!0,role:["other"]}}]}],RMe={path:"/:pathMatch(.*)",name:"notFound",redirect:"/404"},rs=xC({history:Ww("/vue-admin-perfect/"),routes:x7});var VMe=Object.defineProperty,ev=Object.getOwnPropertySymbols,FMe=Object.prototype.hasOwnProperty,HMe=Object.prototype.propertyIsEnumerable,tv=(e,t,n)=>t in e?VMe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nv=(e,t)=>{for(var n in t||(t={}))FMe.call(t,n)&&tv(e,n,t[n]);if(ev)for(var n of ev(t))HMe.call(t,n)&&tv(e,n,t[n]);return e};function BMe(e){return typeof e=="object"&&e!==null}function DMe(e){return e}function ov(e,t){return e=BMe(e)?e:Object.create(null),new Proxy(e,{get(n,o,r){var l;return o==="key"?((l=t.key)!=null?l:DMe)(Reflect.get(n,o,r)):Reflect.get(n,o,r)||Reflect.get(t,o,r)}})}function rv(e){return e!==null&&typeof e=="object"}function m1(e,t){const n=Array.isArray(e)&&Array.isArray(t),o=rv(e)&&rv(t);if(!n&&!o)throw new Error("Can only merge object with object or array with array");const r=n?[]:{};return[...Object.keys(e),...Object.keys(t)].forEach(a=>{Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=[...Object.values(m1(e[a],t[a]))]:t[a]!==null&&typeof t[a]=="object"&&typeof e[a]=="object"?r[a]=m1(e[a],t[a]):e[a]!==void 0&&t[a]===void 0?r[a]=e[a]:e[a]===void 0&&t[a]!==void 0&&(r[a]=t[a])}),r}function lv(e,t){return t.reduce((n,o)=>o==="[]"&&Array.isArray(n)?n:n==null?void 0:n[o],e)}function av(e,t,n){const o=t.slice(0,-1).reduce((r,l)=>/^(__proto__)$/.test(l)?{}:r[l]=r[l]||{},e);if(Array.isArray(o[t[t.length-1]])&&Array.isArray(n)){const r=o[t[t.length-1]].map((l,a)=>Array.isArray(l)&&typeof l!="object"?[...l,...n[a]]:typeof l=="object"&&l!==null&&Object.keys(l).some(s=>Array.isArray(l[s]))?m1(l,n[a]):nv(nv({},l),n[a]));o[t[t.length-1]]=r}else t[t.length-1]===void 0&&Array.isArray(o)&&Array.isArray(n)?o.push(...n):o[t[t.length-1]]=n;return e}function T7(e,t){return t.reduce((n,o)=>{const r=o.split(".");if(!r.includes("[]"))return av(n,r,lv(e,r));const l=r.indexOf("[]"),a=r.slice(0,l),s=r.slice(0,l+1),i=r.slice(l+1),c=lv(e,s),f=[];for(const d of c)i.length!==0&&(Array.isArray(d)||typeof d=="object")?f.push(T7(d,[i.join(".")])):f.push(d);return av(n,a,f)},Array.isArray(e)?[]:{})}function sv(e,t,n,o,r){try{const l=t==null?void 0:t.getItem(o);l&&e.$patch(n==null?void 0:n.deserialize(l))}catch(l){r&&console.error(l)}}function KMe(e={}){return t=>{const{options:{persist:n},store:o}=t;if(!n)return;const r=(Array.isArray(n)?n.map(l=>ov(l,e)):[ov(n,e)]).map(({storage:l=localStorage,beforeRestore:a=null,afterRestore:s=null,serializer:i={serialize:JSON.stringify,deserialize:JSON.parse},key:c=o.$id,paths:f=null,debug:d=!1})=>({storage:l,beforeRestore:a,afterRestore:s,serializer:i,key:c,paths:f,debug:d}));r.forEach(l=>{const{storage:a,serializer:s,key:i,paths:c,beforeRestore:f,afterRestore:d,debug:p}=l;f==null||f(t),sv(o,a,s,i,p),d==null||d(t),o.$subscribe((v,h)=>{try{const m=Array.isArray(c)?T7(h,c):h;a.setItem(i,s.serialize(m))}catch(m){p&&console.error(m)}},{detached:!0})}),o.$hydrate=({runHooks:l=!0}={})=>{r.forEach(a=>{const{beforeRestore:s,afterRestore:i,storage:c,serializer:f,key:d,debug:p}=a;l&&(s==null||s(t)),sv(o,c,f,d,p),l&&(i==null||i(t))})}}}var WMe=KMe();Vi({id:"globalState",state:()=>({}),getters:{},actions:{},persist:{key:"globalState",storage:window.sessionStorage}});const A7=gw();A7.use(WMe);const jMe=e=>{Object.keys(Q0).forEach(t=>{t!=="Menu"?e.component(t,Q0[t]):e.component(t+"Icon",Q0[t])})};const UMe={},qMe={class:"m-container-layout"},YMe={class:"m-container-layout-inner"};function GMe(e,t){return w(),M("div",qMe,[S("div",YMe,[we(e.$slots,"default",{},void 0,!0)])])}const XMe=Zt(UMe,[["render",GMe],["__scopeId","data-v-c600760e"]]);var L7={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */(function(e,t){(function(n,o){e.exports=o()})(nr,function(){var n={};n.version="0.2.0";var o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'