当前访问的是基础版 (Vue3)
+你可以点这里访问专业版 (Vue3)
+ `,position:"bottom-right",duration:5e3}),setTimeout(()=>{r({type:"info",title:"「 专业版限时优惠 」",dangerouslyUseHTMLString:!0,message:` +原价 1099.00 元,现价 899.00 元,更有超值优惠合集,立减 799.00 元,点击查看详情!
+ `,position:"bottom-right",duration:0})},0)});function a(l){window.open(l,"_blank")}return(l,e)=>{const o=v;return u(),g("div",{class:b(["buy-it",{actived:h(d)}])},[t("div",{class:"item",onClick:e[0]||(e[0]=p=>a("https://fantastic-admin.gitee.io/buy.html"))},[n(o,{name:"fixed-right-buy"}),C]),t("div",{class:"item",onClick:e[1]||(e[1]=p=>a("https://gitee.com/fantastic-admin/basic"))},[n(o,{name:"fixed-right-code"}),I]),t("div",{class:"item",onClick:e[2]||(e[2]=p=>a("https://fantastic-admin.gitee.io"))},[n(o,{name:"fixed-right-doc"}),B]),t("div",{class:"item",onClick:e[3]||(e[3]=p=>a("https://fantastic-admin.gitee.io/support.html"))},[n(o,{name:"fixed-right-chat"}),S])],2)}}});const $=k(T,[["__scopeId","data-v-efc65977"]]);export{$ as default}; diff --git a/assets/index-3251a1d9.js.br b/assets/index-3251a1d9.js.br new file mode 100644 index 000000000..e90f4f9ec Binary files /dev/null and b/assets/index-3251a1d9.js.br differ diff --git a/assets/index-3251a1d9.js.gz b/assets/index-3251a1d9.js.gz new file mode 100644 index 000000000..995cd5ed9 Binary files /dev/null and b/assets/index-3251a1d9.js.gz differ diff --git a/assets/index-335e6948.js b/assets/index-335e6948.js new file mode 100644 index 000000000..ac3a0e0ce --- /dev/null +++ b/assets/index-335e6948.js @@ -0,0 +1 @@ +import{_ as m}from"./logo-db72eadb.js";import{d as p,y as u,r as a,B as d,c as g,o,I as f,i as h,e as r,g as t,J as l,t as k,G as y,n as B}from"./index-e83c9583.js";const w=["src"],x={key:1},C=p({name:"Logo",__name:"index",props:{showLogo:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},setup(b){const s=u(),n=a("Fantastic-admin 基础版"),i=a(m),c=d(()=>{const e={};return s.settings.home.enable&&(e.name="home"),e});return(e,v)=>{const _=g("router-link");return o(),f(_,{to:t(c),class:y(["title",{"is-link":t(s).settings.home.enable}]),title:t(n)},{default:h(()=>[e.showLogo?(o(),r("img",{key:0,src:t(i),class:"logo"},null,8,w)):l("",!0),e.showTitle?(o(),r("span",x,k(t(n)),1)):l("",!0)]),_:1},8,["to","class","title"])}}});const I=B(C,[["__scopeId","data-v-ab526988"]]);export{I as default}; diff --git a/assets/index-337522c5.js b/assets/index-337522c5.js new file mode 100644 index 000000000..c7d07352d --- /dev/null +++ b/assets/index-337522c5.js @@ -0,0 +1 @@ +import{d as r,b as d,c as f,o as k,e as g,h as n,i as e,l as _,$ as x,_ as b,O as C,N as h,q as c}from"./index-e83c9583.js";const j=r({__name:"index",setup(v){const a=d();function i(){a.getPermissions().then(o=>{x({title:"当前用户权限",dangerouslyUseHTMLString:!0,message:o.map(t=>`${t}
`).join("")})})}function l(o){window.open(o,"_blank")}return(o,t)=>{const p=b,s=f("el-button"),u=C,m=h;return k(),g("div",null,[n(u,{title:"Mock",content:"通过拦截 Ajax 请求,返回模拟的响应数据,可以让前端工程师独立于后端进行开发,本演示站的登录和权限获取就是通过 mock 实现的。更多 Mock 语法规则请查询官方文档"},{default:e(()=>[n(s,{onClick:t[0]||(t[0]=M=>l("http://mockjs.com/"))},{icon:e(()=>[n(p,{name:"ep:link"})]),default:e(()=>[_(" Mock.js 官网 ")]),_:1})]),_:1}),n(m,null,{default:e(()=>[n(s,{onClick:i},{default:e(()=>[_(" 测试:获取用户权限 ")]),_:1})]),_:1})])}}});typeof c=="function"&&c(j);export{j as default}; diff --git a/assets/index-3c0e85ff.js b/assets/index-3c0e85ff.js new file mode 100644 index 000000000..653e8fca9 --- /dev/null +++ b/assets/index-3c0e85ff.js @@ -0,0 +1 @@ +import{d as M,u as w,y as C,A as k,r as x,c as y,g as e,o as t,e as n,h as l,G as u,i as _,P as r,Q as g,U as q,J as b,w as B,I as T,v as G,n as I}from"./index-e83c9583.js";import L from"./index-335e6948.js";import N from"./index-b7ab8f51.js";import"./logo-db72eadb.js";const O=M({name:"SubSidebar",__name:"index",setup(P){const i=w(),s=C(),a=k(),c=x(0);function f(d){c.value=d.target.scrollTop}return(d,U)=>{const h=y("el-menu");return["side","head","single"].includes(e(s).settings.menu.menuMode)||e(s).mode==="mobile"?(t(),n("div",{key:0,class:u(["sub-sidebar-container",{"is-collapse":e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse}]),onScroll:f},[l(L,{"show-logo":e(s).settings.menu.menuMode==="single",class:u(["sidebar-logo",{"sidebar-logo-bg":e(s).settings.menu.menuMode==="single",shadow:e(c)}])},null,8,["show-logo","class"]),l(q,{name:"sub-sidebar"},{default:_(()=>[(t(!0),n(r,null,g(e(a).allMenus,(S,p)=>B((t(),n("div",{key:p},[l(h,{"unique-opened":e(s).settings.menu.subMenuUniqueOpened,"default-openeds":e(a).defaultOpenedPaths,"default-active":e(i).meta.activeMenu||e(i).path,collapse:e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse,"collapse-transition":!1,class:u({"is-collapse-without-logo":e(s).settings.menu.menuMode!=="single"&&e(s).settings.menu.subMenuCollapse})},{default:_(()=>[(t(!0),n(r,null,g(S.children,(o,v)=>{var m;return t(),n(r,null,[((m=o.meta)==null?void 0:m.sidebar)!==!1?(t(),T(N,{key:o.path||v,item:o,"base-path":o.path},null,8,["item","base-path"])):b("",!0)],64)}),256))]),_:2},1032,["unique-opened","default-openeds","default-active","collapse","class"])],512)),[[G,p===e(a).actived]])),128))]),_:1})],34)):b("",!0)}}});const E=I(O,[["__scopeId","data-v-4085342f"]]);export{E as default}; diff --git a/assets/index-3c0e85ff.js.br b/assets/index-3c0e85ff.js.br new file mode 100644 index 000000000..bef62d2af Binary files /dev/null and b/assets/index-3c0e85ff.js.br differ diff --git a/assets/index-3c0e85ff.js.gz b/assets/index-3c0e85ff.js.gz new file mode 100644 index 000000000..37a5be976 Binary files /dev/null and b/assets/index-3c0e85ff.js.gz differ diff --git a/assets/index-41442ec1.js b/assets/index-41442ec1.js new file mode 100644 index 000000000..6fea9ad85 --- /dev/null +++ b/assets/index-41442ec1.js @@ -0,0 +1 @@ +import{d as F,a as P,y as T,b as $,c as u,o as l,e as c,f as h,g as e,M as k,h as t,J as r,w as v,v as b,i as n,I as w,l as i,t as y,_ as z,n as D}from"./index-e83c9583.js";import{a as I}from"./index-ff28d251.js";import{u as M}from"./useMainPage-e295a3c1.js";const R={class:"tools"},E={class:"buttons"},J={class:"user-wrapper"},U=F({name:"Tools",__name:"index",setup(j){const p=P(),o=T(),_=$(),S=M(),{isFullscreen:C,toggle:g}=I();function x(f){switch(f){case"home":p.push({name:"home"});break;case"setting":p.push({name:"personalSetting"});break;case"hotkeys":k.emit("global-hotkeys-intro-toggle");break;case"logout":_.logout();break}}return(f,s)=>{const a=z,B=u("el-avatar"),m=u("el-dropdown-item"),N=u("el-dropdown-menu"),V=u("el-dropdown");return l(),c("div",R,[h("div",E,[e(o).settings.navSearch.enable?(l(),c("span",{key:0,class:"item",onClick:s[0]||(s[0]=d=>e(k).emit("global-search-toggle"))},[t(a,{name:"ep:search"})])):r("",!0),e(o).mode==="pc"&&e(o).settings.toolbar.enableFullscreen?(l(),c("span",{key:1,class:"item",onClick:s[1]||(s[1]=(...d)=>e(g)&&e(g)(...d))},[t(a,{name:e(C)?"fullscreen-exit":"fullscreen"},null,8,["name"])])):r("",!0),e(o).settings.toolbar.enablePageReload?(l(),c("span",{key:2,class:"item",onClick:s[2]||(s[2]=d=>e(S).reload())},[t(a,{name:"ep:refresh-right"})])):r("",!0),e(o).settings.toolbar.enableColorScheme?(l(),c("span",{key:3,class:"item",onClick:s[3]||(s[3]=d=>e(o).setColorScheme(e(o).settings.app.colorScheme==="dark"?"light":"dark"))},[v(t(a,{name:"ep:sunny"},null,512),[[b,e(o).settings.app.colorScheme==="light"]]),v(t(a,{name:"ep:moon"},null,512),[[b,e(o).settings.app.colorScheme==="dark"]])])):r("",!0)]),t(V,{class:"user-container",size:"default",onCommand:x},{dropdown:n(()=>[t(N,{class:"user-dropdown"},{default:n(()=>[e(o).settings.home.enable?(l(),w(m,{key:0,command:"home"},{default:n(()=>[i(y(e(o).settings.home.title),1)]),_:1})):r("",!0),t(m,{command:"setting"},{default:n(()=>[i(" 个人设置 ")]),_:1}),e(o).mode==="pc"?(l(),w(m,{key:1,divided:"",command:"hotkeys"},{default:n(()=>[i(" 快捷键介绍 ")]),_:1})):r("",!0),t(m,{divided:"",command:"logout"},{default:n(()=>[i(" 退出登录 ")]),_:1})]),_:1})]),default:n(()=>[h("div",J,[t(B,{size:"small"},{default:n(()=>[t(a,{name:"ep:user-filled"})]),_:1}),i(" "+y(e(_).account)+" ",1),t(a,{name:"ep:caret-bottom"})])]),_:1})])}}});const H=D(U,[["__scopeId","data-v-6fb94f69"]]);export{H as default}; diff --git a/assets/index-41442ec1.js.br b/assets/index-41442ec1.js.br new file mode 100644 index 000000000..b14623934 Binary files /dev/null and b/assets/index-41442ec1.js.br differ diff --git a/assets/index-41442ec1.js.gz b/assets/index-41442ec1.js.gz new file mode 100644 index 000000000..4330ecd48 Binary files /dev/null and b/assets/index-41442ec1.js.gz differ diff --git a/assets/index-432274f0.css b/assets/index-432274f0.css new file mode 100644 index 000000000..32d5d6c78 --- /dev/null +++ b/assets/index-432274f0.css @@ -0,0 +1 @@ +.title[data-v-ab526988]{position:fixed;z-index:1000;top:0;width:inherit;padding:0 10px;display:flex;align-items:center;justify-content:center;height:var(--g-sidebar-logo-height);text-align:center;overflow:hidden;text-decoration:none}.title.is-link[data-v-ab526988]{cursor:pointer}.title .logo[data-v-ab526988]{width:30px;height:30px;-o-object-fit:contain;object-fit:contain}.title .logo+span[data-v-ab526988]{margin-left:10px}.title span[data-v-ab526988]{display:block;font-weight:700;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} diff --git a/assets/index-5a0944f8.css b/assets/index-5a0944f8.css new file mode 100644 index 000000000..5c4213b7f --- /dev/null +++ b/assets/index-5a0944f8.css @@ -0,0 +1 @@ +.upload-container[data-v-4e8d6616]{line-height:initial}.el-image[data-v-4e8d6616]{display:block}.image[data-v-4e8d6616]{position:relative;border-radius:6px;overflow:hidden}.image .mask[data-v-4e8d6616]{opacity:0;position:absolute;top:0;width:100%;height:100%;background-color:var(--el-overlay-color-lighter);transition:opacity .3s}.image .mask .actions[data-v-4e8d6616]{width:100px;height:100px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}.image .mask .actions span[data-v-4e8d6616]{width:50%;text-align:center;cursor:pointer;color:var(--el-color-white);transition:color .1s,transform .1s}.image .mask .actions span[data-v-4e8d6616]:hover{transform:scale(1.5)}.image .mask .actions span .icon[data-v-4e8d6616]{font-size:24px}.image:hover .mask[data-v-4e8d6616]{opacity:1}.image-upload[data-v-4e8d6616]{display:inline-block;vertical-align:top}[data-v-4e8d6616] .el-upload .el-upload-dragger{display:inline-block;padding:0}[data-v-4e8d6616] .el-upload .el-upload-dragger.is-dragover{border-width:1px}[data-v-4e8d6616] .el-upload .el-upload-dragger .image-slot{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:var(--el-text-color-placeholder);background-color:transparent}[data-v-4e8d6616] .el-upload .el-upload-dragger .image-slot i{font-size:30px}[data-v-4e8d6616] .el-upload .el-upload-dragger .progress{position:absolute;top:0}[data-v-4e8d6616] .el-upload .el-upload-dragger .progress:after{content:"";position:absolute;width:100%;height:100%;left:0;top:0;background-color:var(--el-overlay-color-lighter)}[data-v-4e8d6616] .el-upload .el-upload-dragger .progress .el-progress{z-index:1;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}[data-v-4e8d6616] .el-upload .el-upload-dragger .progress .el-progress .el-progress__text{color:var(--el-text-color-placeholder)} diff --git a/assets/index-5a0944f8.css.br b/assets/index-5a0944f8.css.br new file mode 100644 index 000000000..3977494ac Binary files /dev/null and b/assets/index-5a0944f8.css.br differ diff --git a/assets/index-5a0944f8.css.gz b/assets/index-5a0944f8.css.gz new file mode 100644 index 000000000..2f09ec9c4 Binary files /dev/null and b/assets/index-5a0944f8.css.gz differ diff --git a/assets/index-5e580d58.css b/assets/index-5e580d58.css new file mode 100644 index 000000000..8e5aa2d2d --- /dev/null +++ b/assets/index-5e580d58.css @@ -0,0 +1 @@ +.buy-it[data-v-efc65977]{position:fixed;z-index:10;right:-58px;top:50%;transform:translateY(-50%);width:70px;display:flex;flex-direction:column;transition:right .3s}.buy-it.actived[data-v-efc65977],.buy-it[data-v-efc65977]:hover{right:0}.buy-it .item[data-v-efc65977]{display:flex;flex-direction:column;justify-content:center;height:70px;text-align:center;color:#fff;border-bottom:1px solid #fff;transition:.3s;opacity:.7;cursor:pointer}.buy-it .item[data-v-efc65977]:hover{opacity:1}.buy-it .item[data-v-efc65977]:first-child{border-top-left-radius:5px}.buy-it .item[data-v-efc65977]:last-child{border-bottom-left-radius:5px;border-bottom:0}.buy-it .item[data-v-efc65977]:nth-child(1){background-color:#ff4200}.buy-it .item[data-v-efc65977]:nth-child(2){background-color:#409eff}.buy-it .item[data-v-efc65977]:nth-child(3){background-color:#0fcc1a}.buy-it .item[data-v-efc65977]:nth-child(4){background-color:#343b42}.buy-it .item .icon[data-v-efc65977]{display:block;margin:0 auto;font-size:20px}.buy-it .item .title[data-v-efc65977]{display:inline-block;font-size:12px} diff --git a/assets/index-5e580d58.css.br b/assets/index-5e580d58.css.br new file mode 100644 index 000000000..1e5907b13 Binary files /dev/null and b/assets/index-5e580d58.css.br differ diff --git a/assets/index-5e580d58.css.gz b/assets/index-5e580d58.css.gz new file mode 100644 index 000000000..2db0104ec Binary files /dev/null and b/assets/index-5e580d58.css.gz differ diff --git a/assets/index-65edc78d.js b/assets/index-65edc78d.js new file mode 100644 index 000000000..03e3ed4ca --- /dev/null +++ b/assets/index-65edc78d.js @@ -0,0 +1 @@ +import{d as c,r as d,x as l,F as a,o as i,e as r,S as _,G as m,g as u,n as p}from"./index-e83c9583.js";const f=c({name:"FixedActionBar",__name:"index",setup(h){const n=d(!1);l(()=>{e(),window.addEventListener("scroll",e)}),a(()=>{window.removeEventListener("scroll",e)});function e(){const o=document.documentElement.scrollTop||document.body.scrollTop,t=document.documentElement.clientHeight||document.body.clientHeight,s=document.documentElement.scrollHeight||document.body.scrollHeight;n.value=Math.ceil(o+t)>=s}return(o,t)=>(i(),r("div",{class:m(["actionbar",{shadow:!u(n)}]),"data-fixed-calc-width":""},[_(o.$slots,"default",{},void 0,!0)],2))}});const v=p(f,[["__scopeId","data-v-e87338dd"]]);export{v as _}; diff --git a/assets/index-70a5f7b2.css b/assets/index-70a5f7b2.css new file mode 100644 index 000000000..95c56c466 --- /dev/null +++ b/assets/index-70a5f7b2.css @@ -0,0 +1 @@ +[data-v-68506fab] .el-menu-item,[data-v-68506fab] .el-menu-item span.title,[data-v-68506fab] .el-sub-menu__title,[data-v-68506fab] .el-sub-menu__title span.title{flex:1;vertical-align:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-v-68506fab] .el-menu-item{display:flex;align-items:center;justify-content:center}[data-v-68506fab] .el-sub-menu .title-icon,[data-v-68506fab] .el-menu-item .title-icon{width:20px;font-size:20px;vertical-align:-.25em;transition:transform .3s;color:unset}[data-v-68506fab] .el-sub-menu .title-icon+.title,[data-v-68506fab] .el-menu-item .title-icon+.title{margin-left:10px}[data-v-68506fab] .el-sub-menu:hover>.title-icon,[data-v-68506fab] .el-sub-menu .el-sub-menu__title:hover>.title-icon,[data-v-68506fab] .el-menu-item:hover>.title-icon,[data-v-68506fab] .el-menu-item .el-sub-menu__title:hover>.title-icon{transform:scale(1.2)}a[data-v-68506fab]{cursor:pointer;color:inherit;text-decoration:none}.el-sub-menu__title>.badge-dot[data-v-68506fab]{right:40px}.el-sub-menu__title>.badge-text[data-v-68506fab]{right:40px}.el-menu--inline{background-color:var(--g-sub-sidebar-menu-bg)!important}.el-menu--inline .el-menu-item,.el-menu--inline .el-sub-menu>.el-sub-menu__title{color:var(--g-sub-sidebar-menu-color);background-color:var(--g-sub-sidebar-menu-bg)!important}.el-menu--inline .el-menu-item:hover,.el-menu--inline .el-sub-menu>.el-sub-menu__title:hover{color:var(--g-sub-sidebar-menu-hover-color)!important;background-color:var(--g-sub-sidebar-menu-hover-bg)!important}.el-menu-item,.el-sub-menu__title{color:var(--g-sub-sidebar-menu-color)!important;background:transparent!important}.el-menu-item:hover,.el-sub-menu__title:hover{color:var(--g-sub-sidebar-menu-hover-color)!important;background-color:var(--g-sub-sidebar-menu-hover-bg)!important}.el-menu-item.is-active,.el-menu--collapse .el-sub-menu.is-active>.el-sub-menu__title,.el-sub-menu .el-menu--inline .el-menu-item.is-active{color:var(--g-sub-sidebar-menu-active-color)!important;background-color:var(--g-sub-sidebar-menu-active-bg)!important}.el-menu-item.is-active .icon,.el-menu-item.is-active .el-sub-menu__icon-arrow,.el-menu--collapse .el-sub-menu.is-active>.el-sub-menu__title .icon,.el-menu--collapse .el-sub-menu.is-active>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-sub-menu .el-menu--inline .el-menu-item.is-active .icon,.el-sub-menu .el-menu--inline .el-menu-item.is-active .el-sub-menu__icon-arrow{color:unset} diff --git a/assets/index-70a5f7b2.css.br b/assets/index-70a5f7b2.css.br new file mode 100644 index 000000000..8ad609044 Binary files /dev/null and b/assets/index-70a5f7b2.css.br differ diff --git a/assets/index-70a5f7b2.css.gz b/assets/index-70a5f7b2.css.gz new file mode 100644 index 000000000..908e6f121 Binary files /dev/null and b/assets/index-70a5f7b2.css.gz differ diff --git a/assets/index-8495b804.js b/assets/index-8495b804.js new file mode 100644 index 000000000..230e7f486 --- /dev/null +++ b/assets/index-8495b804.js @@ -0,0 +1 @@ +import{d as g,c as e,o as t,e as r,h as n,i as o,l as k,P as C,Q as v,_ as x,O as h,N as B,I as E,K as N,q as l}from"./index-e83c9583.js";import P from"./icon-4f07ff6b.js";import w from"./button-19660563.js";import y from"./link-e8b5c9a8.js";import{_ as I}from"./radio.vue_vue_type_script_setup_true_lang-76f56563.js";import{_ as L}from"./checkbox.vue_vue_type_script_setup_true_lang-aef1b569.js";import{_ as V}from"./input.vue_vue_type_script_setup_true_lang-2dd6a116.js";import{_ as q}from"./inputnumber.vue_vue_type_script_setup_true_lang-af5dac33.js";import{_ as z}from"./select.vue_vue_type_script_setup_true_lang-5d48fdf8.js";import{_ as D}from"./switch.vue_vue_type_script_setup_true_lang-04ce5fc4.js";import{_ as F}from"./slider.vue_vue_type_script_setup_true_lang-f67226f3.js";import{_ as K}from"./rate.vue_vue_type_script_setup_true_lang-3a8e336a.js";const O=g({__name:"index",setup(Q){const c={图标:P,按钮:w,文字链接:y,单选框:I,多选框:L,输入框:V,数字输入框:q,选择器:z,开关:D,滑块:F,评分:K};function p(_){window.open(_,"_blank")}return(_,a)=>{const i=x,f=e("el-button"),u=h,d=e("el-tab-pane"),b=e("el-tabs"),$=B;return t(),r("div",null,[n(u,{title:"基础组件",content:"由 Element Plus 提供,本页仅展示部分组件,更多组件及使用说明请查看 Element Plus 官网"},{default:o(()=>[n(f,{onClick:a[0]||(a[0]=s=>p("https://element-plus.org/#/zh-CN"))},{icon:o(()=>[n(i,{name:"ep:link"})]),default:o(()=>[k(" Element Plus 官网 ")]),_:1})]),_:1}),n($,null,{default:o(()=>[n(b,{type:"border-card"},{default:o(()=>[(t(),r(C,null,v(c,(s,m)=>n(d,{key:m,label:m},{default:o(()=>[(t(),E(N(s)))]),_:2},1032,["label"])),64))]),_:1})]),_:1})])}}});typeof l=="function"&&l(O);export{O as default}; diff --git a/assets/index-8495b804.js.br b/assets/index-8495b804.js.br new file mode 100644 index 000000000..abbaccb63 Binary files /dev/null and b/assets/index-8495b804.js.br differ diff --git a/assets/index-8495b804.js.gz b/assets/index-8495b804.js.gz new file mode 100644 index 000000000..4ef9fef43 Binary files /dev/null and b/assets/index-8495b804.js.gz differ diff --git a/assets/index-85915462.css b/assets/index-85915462.css new file mode 100644 index 000000000..46be021dd --- /dev/null +++ b/assets/index-85915462.css @@ -0,0 +1 @@ +._example-icon_jktcf_1{font-size:48px}._test1_jktcf_5{font-size:24px}._test1_jktcf_5 ._a_jktcf_8{width:100px;height:100px;background-color:#000}._test2_jktcf_14{font-size:24px}._test2_jktcf_14 ._a_jktcf_8{width:100px;height:100px;background-color:#ff0} diff --git a/assets/index-86f4d81f.js b/assets/index-86f4d81f.js new file mode 100644 index 000000000..0d90b78d8 --- /dev/null +++ b/assets/index-86f4d81f.js @@ -0,0 +1 @@ +import{d as g,r as v,y,x as k,M as b,c as l,o as r,e as x,h as n,i as s,l as d,t as i,g as e,I as u,J as m,R as S,n as h}from"./index-e83c9583.js";const V=g({name:"HotkeysIntro",__name:"index",setup(I){const o=v(!1),t=y();return k(()=>{b.on("global-hotkeys-intro-toggle",()=>{o.value=!o.value})}),(w,c)=>{const a=l("el-descriptions-item"),_=l("el-descriptions"),p=l("el-drawer");return r(),x("div",null,[n(p,{modelValue:e(o),"onUpdate:modelValue":c[0]||(c[0]=f=>S(o)?o.value=f:null),title:"快捷键介绍",direction:"rtl",size:360},{default:s(()=>[n(_,{title:"全局",column:1,border:""},{default:s(()=>[n(a,{label:"查看系统信息"},{default:s(()=>[d(i(e(t).os==="mac"?"⌥":"Alt")+" + I ",1)]),_:1}),e(t).settings.navSearch.enable&&e(t).settings.navSearch.enableHotkeys?(r(),u(a,{key:0,label:"唤起导航搜索"},{default:s(()=>[d(i(e(t).os==="mac"?"⌥":"Alt")+" + S ",1)]),_:1})):m("",!0)]),_:1}),e(t).settings.menu.enableHotkeys&&["side","head"].includes(e(t).settings.menu.menuMode)?(r(),u(_,{key:0,title:"主导航",column:1,border:""},{default:s(()=>[n(a,{label:"激活下一个主导航"},{default:s(()=>[d(i(e(t).os==="mac"?"⌥":"Alt")+" + ` ",1)]),_:1})]),_:1})):m("",!0)]),_:1},8,["modelValue"])])}}});const C=h(V,[["__scopeId","data-v-dda0825a"]]);export{C as default}; diff --git a/assets/index-86f4d81f.js.br b/assets/index-86f4d81f.js.br new file mode 100644 index 000000000..5cf57fa3a Binary files /dev/null and b/assets/index-86f4d81f.js.br differ diff --git a/assets/index-86f4d81f.js.gz b/assets/index-86f4d81f.js.gz new file mode 100644 index 000000000..9ef1537b4 Binary files /dev/null and b/assets/index-86f4d81f.js.gz differ diff --git a/assets/index-8871b2eb.js b/assets/index-8871b2eb.js new file mode 100644 index 000000000..c29968049 --- /dev/null +++ b/assets/index-8871b2eb.js @@ -0,0 +1 @@ +import{d as w,u as M,y as x,z as B,A,B as L,C as _,x as D,D as r,F as I,c as f,o as n,e as b,f as a,h as o,G as g,g as t,H,I as m,J as u,i as v,T,w as V,v as z,K,L as N,M as P,_ as $,n as R}from"./index-e83c9583.js";import E from"./index-a734e075.js";import F from"./index-a1130e0d.js";import G from"./index-3c0e85ff.js";import J from"./index-22f4bf2f.js";import U from"./index-cdad9679.js";import j from"./index-86f4d81f.js";import q from"./index-b439b76e.js";import O from"./link-54c6d3ae.js";import Q from"./index-f080f000.js";import W from"./index-3251a1d9.js";import{u as X}from"./useMainPage-e295a3c1.js";import{u as Y}from"./useMenu-0d3e95d6.js";import"./index-335e6948.js";import"./logo-db72eadb.js";import"./index-41442ec1.js";import"./index-ff28d251.js";import"./index-b7ab8f51.js";const Z={class:"layout"},ee={id:"app-main"},te={class:"wrapper"},oe={class:"main"},se={key:0},ne=w({name:"Layout",__name:"index",setup(ae){const l=M(),e=x(),h=B(),d=A(),c=L(()=>!!l.meta.link);return _(()=>e.settings.menu.subMenuCollapse,s=>{e.mode==="mobile"&&(s?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),_(()=>l.path,()=>{e.mode==="mobile"&&e.$patch(s=>{s.settings.menu.subMenuCollapse=!0})}),D(()=>{r("f5",s=>{e.settings.toolbar.enablePageReload&&(s.preventDefault(),X().reload())}),r("alt+`",s=>{e.settings.menu.enableHotkeys&&(s.preventDefault(),Y().switchTo(d.actived+1这是一段HTML代码
",r=u("p",null,[l("这也是"),u("i",null,[l("一段")]),u("b",null,[l("HTML")]),l("代码")]);return u("div",null,[u(d,{title:"JSX",content:"请查看本页面源码,更多 JSX 介绍请访问官网文档。"},null),u(m,null,{default:()=>[u("p",null,[l("这是两个 Svg Icon 图标")]),c,u(t("el-divider"),null,null),u("div",{class:n.test1},[u("div",{class:n.a},null)]),u("div",{class:n.test2},[u("div",{class:n.a},null)]),u(t("el-divider"),null,null),u(t("el-button"),{onClick:()=>a(10)},{default:()=>[l("点我:"),s.value]}),u("div",{innerHTML:i},null),r,u(t("el-divider"),null,null),u(F,null,null)]})])}});export{k as default}; diff --git a/assets/index-ba02c8a3.js.br b/assets/index-ba02c8a3.js.br new file mode 100644 index 000000000..bb90cd2a8 Binary files /dev/null and b/assets/index-ba02c8a3.js.br differ diff --git a/assets/index-ba02c8a3.js.gz b/assets/index-ba02c8a3.js.gz new file mode 100644 index 000000000..2465121d6 Binary files /dev/null and b/assets/index-ba02c8a3.js.gz differ diff --git a/assets/index-bb520121.js b/assets/index-bb520121.js new file mode 100644 index 000000000..b60e9ffe0 --- /dev/null +++ b/assets/index-bb520121.js @@ -0,0 +1 @@ +import{d as s,h as d,l as e,n as t}from"./index-e83c9583.js";const u=s({name:"JsxComp",setup(){return()=>d("div",{class:"test"},[e("这是一个用"),d("span",null,[e("JSX")]),e("编写的SFC组件。")])}});const n=t(u,[["__scopeId","data-v-df80dddd"]]);export{n as default}; diff --git a/assets/index-bb74b3bd.css b/assets/index-bb74b3bd.css new file mode 100644 index 000000000..28f97a1d6 --- /dev/null +++ b/assets/index-bb74b3bd.css @@ -0,0 +1 @@ +[data-v-864cdf3a] .el-drawer__header{margin-bottom:initial;padding-bottom:20px;border-bottom:1px solid var(--el-border-color)}[data-v-864cdf3a] .el-drawer__footer{padding:20px;border-top:1px solid var(--el-border-color);transition:var(--el-transition-border)}[data-v-864cdf3a] .el-drawer__footer .el-button{width:100%}[data-v-864cdf3a] .el-divider{margin:36px 0 24px}.color-scheme[data-v-864cdf3a]{display:flex;align-items:center;justify-content:center;padding-bottom:10px}.color-scheme .switch[data-v-864cdf3a]{width:50px;height:30px;border-radius:15px;cursor:pointer;background-color:var(--el-fill-color-darker);transition:background-color .3s}.color-scheme .switch.dark .icon[data-v-864cdf3a]{margin-left:23px}.color-scheme .switch .icon[data-v-864cdf3a]{margin:3px;padding:5px;font-size:24px;border-radius:50%;background-color:var(--el-fill-color-lighter);transition:margin-left .3s,background-color .3s}.menu-mode[data-v-864cdf3a]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;padding-bottom:10px}.menu-mode .mode[data-v-864cdf3a]{position:relative;width:80px;height:55px;margin:10px;border-radius:5px;overflow:hidden;cursor:pointer;background-color:var(--g-app-bg);box-shadow:0 0 5px 1px var(--el-border-color-lighter);transition:.2s}.menu-mode .mode[data-v-864cdf3a]:hover{box-shadow:0 0 5px 1px var(--el-border-color-darker)}.menu-mode .mode.active[data-v-864cdf3a]{box-shadow:0 0 0 2px var(--el-color-primary)}.menu-mode .mode[data-v-864cdf3a]:before,.menu-mode .mode[data-v-864cdf3a]:after,.menu-mode .mode .mode-container[data-v-864cdf3a]{pointer-events:none;position:absolute;border-radius:3px}.menu-mode .mode .mode-container[data-v-864cdf3a]:before{content:"";position:absolute;width:100%;height:100%;background-color:var(--g-sub-sidebar-menu-active-bg);opacity:.2}.menu-mode .mode-side[data-v-864cdf3a]:before{content:"";top:5px;left:5px;bottom:5px;width:10px;background-color:var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode-side[data-v-864cdf3a]:after{content:"";top:5px;left:20px;bottom:5px;width:15px;background-color:var(--g-sub-sidebar-menu-active-bg);opacity:.5}.menu-mode .mode-side .mode-container[data-v-864cdf3a]{top:5px;right:5px;bottom:5px;left:40px;border:1px dashed var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode-head[data-v-864cdf3a]:before{content:"";top:5px;left:5px;right:5px;height:10px;background-color:var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode-head[data-v-864cdf3a]:after{content:"";top:20px;left:5px;bottom:5px;width:15px;background-color:var(--g-sub-sidebar-menu-active-bg);opacity:.5}.menu-mode .mode-head .mode-container[data-v-864cdf3a]{top:20px;right:5px;bottom:5px;left:25px;border:1px dashed var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode-single[data-v-864cdf3a]:before{content:"";position:absolute;top:5px;left:5px;bottom:5px;width:15px;background-color:var(--g-sub-sidebar-menu-active-bg);opacity:.5}.menu-mode .mode-single .mode-container[data-v-864cdf3a]{top:5px;right:5px;bottom:5px;left:25px;border:1px dashed var(--g-sub-sidebar-menu-active-bg)}.menu-mode .mode i[data-v-864cdf3a]{position:absolute;right:10px;bottom:10px;display:none}.menu-mode .mode.active i[data-v-864cdf3a]{display:block;color:var(--el-color-primary)}.setting-item[data-v-864cdf3a]{display:flex;align-items:center;justify-content:space-between;margin:5px 0;padding:5px 10px;border-radius:5px;transition:all .3s}.setting-item[data-v-864cdf3a]:hover{background:var(--el-fill-color)}.setting-item .label[data-v-864cdf3a]{font-size:14px;color:var(--el-text-color-regular);display:flex;align-items:center}.setting-item .label i[data-v-864cdf3a]{margin-left:4px;font-size:17px;color:var(--el-color-warning);cursor:help}.setting-item .el-switch[data-v-864cdf3a]{height:auto}.setting-item .el-input[data-v-864cdf3a]{width:150px} diff --git a/assets/index-bb74b3bd.css.br b/assets/index-bb74b3bd.css.br new file mode 100644 index 000000000..6237ffd5c Binary files /dev/null and b/assets/index-bb74b3bd.css.br differ diff --git a/assets/index-bb74b3bd.css.gz b/assets/index-bb74b3bd.css.gz new file mode 100644 index 000000000..8486c2fb7 Binary files /dev/null and b/assets/index-bb74b3bd.css.gz differ diff --git a/assets/index-cdad9679.js b/assets/index-cdad9679.js new file mode 100644 index 000000000..ede35a327 --- /dev/null +++ b/assets/index-cdad9679.js @@ -0,0 +1 @@ +import{d as se,a as ae,y as le,W as ne,A as oe,r as y,X as re,B as ue,C as J,x as ie,M as N,D as v,Y as O,c as F,o as m,e as R,f as u,m as B,h as r,i,g as d,R as ce,k as L,l as b,t as E,J as G,P as Q,Q as W,G as X,_ as fe,I as de,n as pe}from"./index-e83c9583.js";const ve={class:"container"},he={key:0,class:"tips"},_e={class:"tip"},ge={class:"tip"},ye={class:"tip"},me={class:"tip"},be=["onClick","onMouseover"],ke={class:"info"},Se={class:"title"},we={class:"breadcrumb"},Re={class:"path"},Ce=se({name:"Search",__name:"index",setup(Te){const Y=ae(),h=le(),q=ne(),Z=oe(),_=y(!1),c=y(""),I=y([]),o=y(-1),U=y(),k=y(),S=y([]);function P(s){return S.value.push(s)}re(()=>{S.value=[]});const w=ue(()=>{let s=[];return s=I.value.filter(t=>{let l=!1;return t.title&&(typeof t.title=="function"?t.title().includes(c.value)&&(l=!0):t.title.includes(c.value)&&(l=!0)),t.path.includes(c.value)&&(l=!0),t.breadcrumb.some(a=>{let e=!1;return a&&(typeof a=="function"?a().includes(c.value)&&(e=!0):a.includes(c.value)&&(e=!0)),e})&&(l=!0),l}),s});J(()=>_.value,s=>{s?(document.body.classList.add("overflow-hidden"),k.value.scrollTop=0,v("up",M),v("down",V),v("enter",D),setTimeout(()=>{U.value.focus()},500)):(document.body.classList.remove("overflow-hidden"),v.unbind("up",M),v.unbind("down",V),v.unbind("enter",D),setTimeout(()=>{c.value="",o.value=-1},500))}),J(()=>w.value,()=>{o.value=-1,S.value=[],H()}),ie(()=>{N.on("global-search-toggle",()=>{_.value=!_.value}),v("alt+s",s=>{h.settings.navSearch.enable&&h.settings.navSearch.enableHotkeys&&(s.preventDefault(),_.value=!0)}),v("esc",s=>{h.settings.navSearch.enable&&h.settings.navSearch.enableHotkeys&&(s.preventDefault(),_.value=!1)}),h.settings.app.routeBaseOn!=="filesystem"?q.routes.forEach(s=>{s.children&&$(s.children)}):Z.menus.forEach(s=>{K(s.children)})});function ee(s){var l;let t=!0;return(l=s.children)!=null&&l.every(a=>{var e;return((e=a.meta)==null?void 0:e.sidebar)===!1})&&(t=!1),t}function $(s,t,l,a){s.forEach(e=>{var n,p,f,g,C,T,x,j,A;if(((n=e.meta)==null?void 0:n.sidebar)!==!1){const z=O(a)||[];e.children&&ee(e)?((p=e.meta)!=null&&p.title&&z.push((f=e.meta)==null?void 0:f.title),$(e.children,t?[t,e.path].join("/"):e.path,((g=e.meta)==null?void 0:g.icon)??l,z)):((C=e.meta)!=null&&C.title&&z.push((T=e.meta)==null?void 0:T.title),I.value.push({path:t?[t,e.path].join("/"):e.path,icon:((x=e.meta)==null?void 0:x.icon)??l,title:(j=e.meta)==null?void 0:j.title,link:(A=e.meta)==null?void 0:A.link,breadcrumb:z}))}})}function K(s,t,l){s.forEach(a=>{var n,p,f,g,C,T,x;const e=O(l)||[];a.children&&a.children.length>0?((n=a.meta)!=null&&n.title&&e.push((p=a.meta)==null?void 0:p.title),K(a.children,((f=a.meta)==null?void 0:f.icon)??t,e)):((g=a.meta)!=null&&g.title&&e.push((C=a.meta)==null?void 0:C.title),I.value.push({icon:((T=a.meta)==null?void 0:T.icon)??t,title:(x=a.meta)==null?void 0:x.title,path:a.path,breadcrumb:e}))})}function M(){w.value.length&&(o.value-=1,o.value<0&&(o.value=w.value.length-1),H())}function V(){w.value.length&&(o.value+=1,o.value>w.value.length-1&&(o.value=0),H())}function D(){o.value!==-1&&S.value[o.value].click()}function H(){let s=0;if(o.value!==-1){s=k.value.scrollTop;const t=S.value[o.value].offsetTop,l=S.value[o.value].clientHeight,a=k.value.scrollTop,e=k.value.clientHeight;t+l>a+e?s=t+l-e:t<=a&&(s=t)}k.value.scrollTo({top:s})}function te(s,t){t?window.open(t,"_blank"):Y.push(s)}return(s,t)=>{const l=fe,a=F("el-input"),e=F("el-tag");return m(),R("div",{id:"search",class:X({searching:d(_)}),onClick:t[3]||(t[3]=n=>d(_)&&d(N).emit("global-search-toggle"))},[u("div",ve,[u("div",{class:"search-box",onClick:t[2]||(t[2]=B(()=>{},["stop"]))},[r(a,{ref_key:"searchInputRef",ref:U,modelValue:d(c),"onUpdate:modelValue":t[0]||(t[0]=n=>ce(c)?c.value=n:null),placeholder:"搜索页面,支持标题、URL模糊查询",clearable:"",onKeydown:[t[1]||(t[1]=L(n=>d(N).emit("global-search-toggle"),["esc"])),L(B(M,["prevent"]),["up"]),L(B(V,["prevent"]),["down"]),L(B(D,["prevent"]),["enter"])]},{prefix:i(()=>[r(l,{name:"ep:search"})]),_:1},8,["modelValue","onKeydown"]),d(h).mode==="pc"?(m(),R("div",he,[u("div",_e,[r(e,{type:"info",size:"large"},{default:i(()=>[b(E(d(h).os==="mac"?"⌥":"Alt")+" + S ",1)]),_:1}),r(e,{type:"info",size:"large"},{default:i(()=>[b(" 唤醒搜索面板 ")]),_:1})]),u("div",ge,[r(e,{type:"info",size:"large"},{default:i(()=>[r(l,{name:"search-up"})]),_:1}),r(e,{type:"info",size:"large"},{default:i(()=>[r(l,{name:"search-down"})]),_:1}),r(e,{type:"info",size:"large"},{default:i(()=>[b(" 切换搜索结果 ")]),_:1})]),u("div",ye,[r(e,{type:"info",size:"large"},{default:i(()=>[r(l,{name:"search-enter"})]),_:1}),r(e,{type:"info",size:"large"},{default:i(()=>[b(" 访问页面 ")]),_:1})]),u("div",me,[r(e,{type:"info",size:"large"},{default:i(()=>[b(" ESC ")]),_:1}),r(e,{type:"info",size:"large"},{default:i(()=>[b(" 退出 ")]),_:1})])])):G("",!0)]),u("div",{ref_key:"searchResultRef",ref:k,class:"result"},[(m(!0),R(Q,null,W(d(w),(n,p)=>(m(),R("a",{key:n.path,ref_for:!0,ref:P,class:X(["item",{actived:p===d(o)}]),onClick:f=>te(n.path,n.link),onMouseover:f=>o.value=p},[n.icon?(m(),de(l,{key:0,name:n.icon},null,8,["name"])):G("",!0),u("div",ke,[u("div",Se,E(n.title??"[ 无标题 ]"),1),u("div",we,[(m(!0),R(Q,null,W(n.breadcrumb,(f,g)=>(m(),R("span",{key:g},[b(E(f??"[ 无标题 ]")+" ",1),r(l,{name:"ep:arrow-right"})]))),128))]),u("div",Re,E(n.path),1)])],42,be))),128))],512)])],2)}}});const ze=pe(Ce,[["__scopeId","data-v-ac119374"]]);export{ze as default}; diff --git a/assets/index-cdad9679.js.br b/assets/index-cdad9679.js.br new file mode 100644 index 000000000..d50bb06a5 Binary files /dev/null and b/assets/index-cdad9679.js.br differ diff --git a/assets/index-cdad9679.js.gz b/assets/index-cdad9679.js.gz new file mode 100644 index 000000000..6ad5248f1 Binary files /dev/null and b/assets/index-cdad9679.js.gz differ diff --git a/assets/index-d0d6992c.js b/assets/index-d0d6992c.js new file mode 100644 index 000000000..9667659cb --- /dev/null +++ b/assets/index-d0d6992c.js @@ -0,0 +1 @@ +import{d as u,r as _,c as p,o as c,e as i,h as o,i as m,g as d,R as r,f,N as v,q as t}from"./index-e83c9583.js";const x=f("div",null,"层级 1-1-1",-1),V=u({name:"TabExampleNestedTest",__name:"index",setup(N){const e=_("");return(g,n)=>{const a=p("el-input"),l=v;return c(),i("div",null,[o(l,null,{default:m(()=>[x,o(a,{modelValue:d(e),"onUpdate:modelValue":n[0]||(n[0]=s=>r(e)?e.value=s:null)},null,8,["modelValue"])]),_:1})])}}});typeof t=="function"&&t(V);export{V as default}; diff --git a/assets/index-e00432af.css b/assets/index-e00432af.css new file mode 100644 index 000000000..a7fda35fe --- /dev/null +++ b/assets/index-e00432af.css @@ -0,0 +1 @@ +.test[data-v-df80dddd]{font-size:24px}.test span[data-v-df80dddd]{font-weight:700;color:red} diff --git a/assets/index-e043bb1e.css b/assets/index-e043bb1e.css new file mode 100644 index 000000000..4670f42fc --- /dev/null +++ b/assets/index-e043bb1e.css @@ -0,0 +1 @@ +[data-mode=mobile] .sidebar-container[data-v-11dee0df]{transform:translate(calc((var(--g-main-sidebar-width) + var(--g-sub-sidebar-width)) * -1))}[data-mode=mobile] .sidebar-container.show[data-v-11dee0df]{transform:translate(0)}[data-mode=mobile] .main-container[data-v-11dee0df]{margin-left:0!important}[data-mode=mobile][data-menu-mode=single] .sidebar-container[data-v-11dee0df]{transform:translate(calc(var(--g-sub-sidebar-width) * -1))}[data-mode=mobile][data-menu-mode=single] .sidebar-container.show[data-v-11dee0df]{transform:translate(0)}.layout[data-v-11dee0df]{height:100%}#app-main[data-v-11dee0df]{width:100%;height:100%;margin:0 auto;transition:all .2s}.wrapper[data-v-11dee0df]{position:relative;width:100%;height:100%;box-shadow:-1px 0 0 0 var(--g-box-shadow-color);transition:padding-top .3s}.wrapper .sidebar-container[data-v-11dee0df]{position:fixed;z-index:1010;top:0;bottom:0;display:flex;transition:transform .3s,top .3s;width:calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width))}.wrapper .sidebar-mask[data-v-11dee0df]{position:fixed;z-index:1000;top:0;left:0;width:100%;height:100%;background-image:radial-gradient(transparent 1px,rgba(0,0,0,.3) 1px);background-size:4px 4px;-webkit-backdrop-filter:saturate(50%) blur(4px);backdrop-filter:saturate(50%) blur(4px);transition:all .2s;opacity:0;visibility:hidden}.wrapper .sidebar-mask.show[data-v-11dee0df]{opacity:1;visibility:visible}.wrapper .main-sidebar-container:not(.main-sidebar-leave-active)+.sub-sidebar-container[data-v-11dee0df]{left:var(--g-main-sidebar-width)}.wrapper .main-container[data-v-11dee0df]{display:flex;flex-direction:column;min-height:100%;margin-left:calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));background-color:var(--g-main-bg);transition:margin-left .3s,background-color .3s}.wrapper .main-container .topbar-container[data-v-11dee0df]{top:0;z-index:998}.wrapper .main-container .main[data-v-11dee0df]{height:100%;flex:auto;position:relative;overflow:hidden;transition:.3s}.wrapper .main-container .topbar-container+.main[data-v-11dee0df]{margin:var(--g-topbar-height) 0 0}header:not(.header-leave-active)+.wrapper[data-v-11dee0df]{padding-top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-11dee0df]{top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-11dee0df] .sidebar-logo{display:none}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-11dee0df] .el-menu{padding-top:0}header:not(.header-leave-active)+.wrapper .main-container .topbar-container[data-v-11dee0df]{top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .main-container .topbar-container[data-v-11dee0df] .tools{display:none}.app-setting[data-v-11dee0df]{position:fixed;z-index:10;right:0;top:calc(50% + 250px);width:50px;height:50px;border-top-left-radius:5px;border-bottom-left-radius:5px;font-size:24px;color:#fff;background-color:var(--el-color-primary);cursor:pointer}.app-setting[data-v-11dee0df] svg{animation:rotate-11dee0df 5s linear infinite}@keyframes rotate-11dee0df{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.main-enter-active[data-v-11dee0df]{transition:.2s}.main-leave-active[data-v-11dee0df]{transition:.15s}.main-enter-from[data-v-11dee0df]{opacity:0;margin-left:-20px}.main-leave-to[data-v-11dee0df]{opacity:0;margin-left:20px} diff --git a/assets/index-e043bb1e.css.br b/assets/index-e043bb1e.css.br new file mode 100644 index 000000000..41e8ca995 Binary files /dev/null and b/assets/index-e043bb1e.css.br differ diff --git a/assets/index-e043bb1e.css.gz b/assets/index-e043bb1e.css.gz new file mode 100644 index 000000000..910e95590 Binary files /dev/null and b/assets/index-e043bb1e.css.gz differ diff --git a/assets/index-e54ae976.css b/assets/index-e54ae976.css new file mode 100644 index 000000000..dbd4204a3 --- /dev/null +++ b/assets/index-e54ae976.css @@ -0,0 +1 @@ +.topbar-container[data-v-6abb4b0f]{position:absolute;z-index:999;top:0;display:flex;align-items:center;justify-content:space-between;height:var(--g-topbar-height);background-color:var(--g-toolbar-bg);transition:width .3s,top .3s,transform .3s,background-color .3s,var(--el-transition-box-shadow)}.topbar-container.topbar-fixed[data-v-6abb4b0f],.topbar-container.topbar-sticky[data-v-6abb4b0f]{position:fixed}.topbar-container.topbar-fixed.shadow[data-v-6abb4b0f],.topbar-container.topbar-sticky.shadow[data-v-6abb4b0f]{box-shadow:0 10px 10px -10px var(--g-box-shadow-color)}.topbar-container.topbar-sticky.hide[data-v-6abb4b0f]{top:calc(var(--g-topbar-height) * -1)!important}.topbar-container .left-box[data-v-6abb4b0f]{display:flex;align-items:center;padding-right:50px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 50px),transparent);mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 50px),transparent)}.topbar-container .left-box .sidebar-collapse[data-v-6abb4b0f]{display:flex;align-items:center;padding:0 20px;height:50px;cursor:pointer}.topbar-container .left-box .sidebar-collapse .icon[data-v-6abb4b0f]{color:var(--el-text-color-primary);transition:var(--el-transition-color),var(--el-transition-md-fade)}.topbar-container .left-box .sidebar-collapse:hover .icon[data-v-6abb4b0f]{color:var(--el-color-primary)}.topbar-container .left-box .sidebar-collapse.is-collapse .icon[data-v-6abb4b0f]{transform:rotate(-180deg)}.topbar-container .left-box .sidebar-collapse+.el-breadcrumb[data-v-6abb4b0f]{margin-left:0}.topbar-container .left-box[data-v-6abb4b0f] .el-breadcrumb{margin-left:20px;white-space:nowrap}.topbar-container .left-box[data-v-6abb4b0f] .el-breadcrumb .el-breadcrumb__item{display:inline-block;float:none}.topbar-container .left-box[data-v-6abb4b0f] .el-breadcrumb .el-breadcrumb__item span{font-weight:400}.topbar-container .left-box[data-v-6abb4b0f] .el-breadcrumb .el-breadcrumb__item:last-child span{color:#97a8be}.breadcrumb-enter-active[data-v-6abb4b0f]{transition:all .25s}.breadcrumb-enter-from[data-v-6abb4b0f],.breadcrumb-leave-active[data-v-6abb4b0f]{opacity:0;transform:translate(30px) skew(-50deg)} diff --git a/assets/index-e54ae976.css.br b/assets/index-e54ae976.css.br new file mode 100644 index 000000000..02c5ed8b9 Binary files /dev/null and b/assets/index-e54ae976.css.br differ diff --git a/assets/index-e54ae976.css.gz b/assets/index-e54ae976.css.gz new file mode 100644 index 000000000..8b9337354 Binary files /dev/null and b/assets/index-e54ae976.css.gz differ diff --git a/assets/index-e83c9583.js b/assets/index-e83c9583.js new file mode 100644 index 000000000..a48422f20 --- /dev/null +++ b/assets/index-e83c9583.js @@ -0,0 +1,428 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const g of document.querySelectorAll('link[rel="modulepreload"]'))r(g);new MutationObserver(g=>{for(const y of g)if(y.type==="childList")for(const $ of y.addedNodes)$.tagName==="LINK"&&$.rel==="modulepreload"&&r($)}).observe(document,{childList:!0,subtree:!0});function n(g){const y={};return g.integrity&&(y.integrity=g.integrity),g.referrerPolicy&&(y.referrerPolicy=g.referrerPolicy),g.crossOrigin==="use-credentials"?y.credentials="include":g.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function r(g){if(g.ep)return;g.ep=!0;const y=n(g);fetch(g.href,y)}})();(function(){var n;const e=document.createElement("script");e.src="https://hm.baidu.com/hm.js?7bb58fdfd1fe8ab146d4b4f23686b768";const t=document.getElementsByTagName("script")[0];(n=t.parentNode)==null||n.insertBefore(e,t)})();{const e="font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;",t=`${e} background: #e24329;`,n=`${e} background: #707070;`;navigator.language.toLowerCase()==="zh-cn"?console.info("%c由%cFantastic-admin%c驱动",n,t,n,` +https://gitee.com/fantastic-admin/basic`):console.info("%cPowered by%cFantastic-admin",n,t,` +https://github.com/fantastic-admin/basic`)}const FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,obtainAllFocusableElements$1=e=>Array.from(e.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(t=>isFocusable(t)&&isVisible(t)),isFocusable=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const g=document.createEvent(r);return g.initEvent(t,...n),e.dispatchEvent(g),e},isLeaf=e=>!e.getAttribute("aria-owns"),getSibling=(e,t,n)=>{const{parentNode:r}=e;if(!r)return null;const g=r.querySelectorAll(n),y=Array.prototype.indexOf.call(g,e);return g[y+t]||null},focusNode=e=>{e&&(e.focus(),!isLeaf(e)&&e.click())},composeEventHandlers=(e,t,{checkForDefaultPrevented:n=!0}={})=>g=>{const y=e==null?void 0:e(g);if(n===!1||!y)return t==null?void 0:t(g)},whenMouse=e=>t=>t.pointerType==="mouse"?e(t):void 0;function makeMap(e,t){const n=Object.create(null),r=e.split(",");for(let g=0;g').concat(this.console.c(Mr()(Rn,"js",Ea)),"")}},{key:"formatFn",value:function(Rn){return'
'.concat(this.formatJs(Rn.toString()),"")}},{key:"formatElName",value:function(Rn){var On=Rn.id,so=Rn.className,go=Rn.tagName.toLowerCase();if(On!==""&&(go+="#".concat(On)),_o()(so)){var Mo="";Oe()(so.split(/\s+/g),function($o){$o.trim()!==""&&(Mo+=".".concat($o))}),go+=Mo}return go}},{key:"formatEl",value:function(Rn){var On=Dr()();return this.elements[On]=Rn,this.console.c(''))}}]),jo}(Ao());function pa(Go){var fr=(Go=ko()(Go)).split(";"),jo={};Oe()(fr,function(On){if(he()(On,":")){var so=y(On.split(":"),2),go=so[0],Mo=so[1];jo[vn()(go)]=vn()(Mo)}}),jo.display="inline-block",jo["max-width"]="100%",delete jo.width,delete jo.height;var Rn="";return Oe()(jo,function(On,so){Rn+="".concat(so,":").concat(On,";")}),Rn}var Ga=n(1194),Ia=n.n(Ga),qa=n(8847),oa=n.n(qa),Ya=n(6329),Ra=n.n(Ya),Za=n(9001),ma=n.n(Za),Ja=n(9702),Xa=n.n(Ja),Qa=n(2439),Fr=n.n(Qa),ts=n(8933),br=n.n(ts),ka=n(4407),Xr=n.n(ka),ns=n(5852),os=n.n(ns);function rs(Go){var fr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var jo,Rn=(0,oe.Z)(Go);if(fr){var On=(0,oe.Z)(this).constructor;jo=Reflect.construct(Rn,arguments,On)}else jo=Rn.apply(this,arguments);return(0,j.Z)(this,jo)}}var ra,as=function(Go){(0,z.Z)(jo,Go);var fr=rs(jo);function jo(Rn,On){var so,go,Mo=On.compName,$o=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,zo=$o===void 0?"light":$o;return(0,$.Z)(this,jo),(so=fr.call(this)).subComponents=[],so.compName=Mo,so.c=Tn(Mo),so.options={},so.container=Rn,so.$container=dr()(Rn),so.$container.addClass(["luna-".concat(Mo),so.c("platform-".concat((go=no()(),go==="os x"?"mac":go)))]),so.on("optionChange",function(Fo,Jo,hr){var gr=so.c;Fo==="theme"&&(so.$container.rmClass(gr("theme-".concat(hr))).addClass(gr("theme-".concat(Jo))),Oe()(so.subComponents,function(kr){return kr.setOption("theme",Jo)}))}),so.setOption("theme",zo),so}return(0,V.Z)(jo,[{key:"destroy",value:function(){var Rn=this;this.destroySubComponents();var On=this.$container,so=On.attr("class");Oe()(so.split(/\s+/),function(go){Ce()(go,"luna-".concat(Rn.compName))&&On.rmClass(go)}),On.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Rn,On){var so=this,go=this.options,Mo={};typeof Rn=="string"?Mo[Rn]=On:Mo=Rn,Oe()(Mo,function($o,zo){var Fo=go[zo];go[zo]=$o,so.emit("optionChange",zo,$o,Fo)})}},{key:"getOption",value:function(Rn){return this.options[Rn]}},{key:"addSubComponent",value:function(Rn){Rn.setOption("theme",this.options.theme),this.subComponents.push(Rn)}},{key:"removeSubComponent",value:function(Rn){os()(this.subComponents,function(On){return On===Rn})}},{key:"destroySubComponents",value:function(){Oe()(this.subComponents,function(Rn){return Rn.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Rn){var On=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};lo()(Rn,On),Ra()(this.options,Rn)}},{key:"find",value:function(Rn){return this.$container.find(this.c(Rn))}}]),jo}(Ao()),ha=n(1571),Sa=n.n(ha);function ss(Go){var fr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var jo,Rn=(0,oe.Z)(Go);if(fr){var On=(0,oe.Z)(this).constructor;jo=Reflect.construct(Rn,arguments,On)}else jo=Rn.apply(this,arguments);return(0,j.Z)(this,jo)}}e=n.hmd(e);var Ma=navigator.userAgent,Va=Ma.indexOf("Android")>-1||Ma.indexOf("Adr")>-1,is=0,Da=function(Go){(0,z.Z)(jo,Go);var fr=ss(jo);function jo(Rn){var On,so=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,$.Z)(this,jo),(On=fr.call(this,Rn,{compName:"console"},so)).spaceHeight=0,On.topSpaceHeight=0,On.bottomSpaceHeight=0,On.lastScrollTop=0,On.lastTimestamp=0,On.speedToleranceFactor=100,On.maxSpeedTolerance=2e3,On.minSpeedTolerance=100,On.logs=[],On.displayLogs=[],On.timer={},On.counter={},On.asyncList=[],On.asyncTimer=null,On.isAtBottom=!0,On.groupStack=new(ma()),On.selectedLog=null,On.onScroll=function(){var go=On.container,Mo=go.scrollHeight,$o=go.offsetHeight,zo=go.scrollTop;if(!(zo<=0||$o+zo>Mo)){var Fo=!1;(Mo===$o||zo===Mo-$o)&&(Fo=!0),On.isAtBottom=Fo;var Jo=On.lastScrollTop,hr=On.lastTimestamp,gr=oa()(),kr=gr-hr,Pr=zo-Jo,pr=Math.abs(Pr/kr)*On.speedToleranceFactor;kr>1e3&&(pr=1e3),pr>On.maxSpeedTolerance&&(pr=On.maxSpeedTolerance),pr
').concat(br()(Fe.data),""));var $n="
').concat(br()(Eo),"")}var Bo='
').concat(br()(Ar),` | +`).concat(Cr,` | +
screen | '.concat(screen.width," * ").concat(screen.height," |
viewport | ".concat(window.innerWidth," * ").concat(window.innerHeight," |
pixel ratio | ".concat(window.devicePixelRatio," |
os | '.concat(Jo()()," |
browser | ".concat(Ps.name+" "+Ps.version," |