芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/cloud.pulsehost.co.uk/adminpanel/js/5066.584a06b4.js
"use strict";(globalThis["webpackChunkadmin_panel_vue_webclient"]=globalThis["webpackChunkadmin_panel_vue_webclient"]||[]).push([[5066],{1297:(t,e,a)=>{a.r(e),a.d(e,{default:()=>y});var l=a(9835),s=a(6970);function i(t,e,a,i,r,n){const u=(0,l.up)("q-item-label"),m=(0,l.up)("q-item-section"),o=(0,l.up)("q-item"),h=(0,l.up)("q-separator"),b=(0,l.up)("q-list"),c=(0,l.up)("q-scroll-area"),p=(0,l.up)("router-view"),d=(0,l.up)("q-splitter"),w=(0,l.up)("main-layout");return(0,l.wg)(),(0,l.j4)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(d,{"after-class":"q-splitter__right-panel",class:"full-height full-width",modelValue:r.splitterWidth,"onUpdate:modelValue":e[0]||(e[0]=t=>r.splitterWidth=t),limits:[10,30]},{before:(0,l.w5)((()=>[(0,l.Wm)(c,{class:"full-height full-width"},{default:(0,l.w5)((()=>[(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(r.tabs,(e=>((0,l.wg)(),(0,l.iD)("div",{key:e.tabName},[(0,l.Wm)(o,{clickable:"",onClick:t=>n.changeTab(e.tabName),class:(0,s.C_)(r.currentTabName===e.tabName?"bg-selected-item text-white":"")},{default:(0,l.w5)((()=>[(0,l.Wm)(m,null,{default:(0,l.w5)((()=>[(0,l.Wm)(u,{lines:"1"},{default:(0,l.w5)((()=>[(0,l.Uk)((0,s.zw)(t.$t(e.tabTitle)),1)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick","class"]),(0,l.Wm)(h)])))),128))])),_:1})])),_:1})])),after:(0,l.w5)((()=>[(0,l.Wm)(p)])),_:1},8,["modelValue"])])),_:1})}a(9665);var r=a(4409),n=a.n(r),u=a(7214),m=a(1088),o=a(4089),h=a(4168);const b={name:"System",components:{MainLayout:h.Z},data(){return{tabs:[],splitterWidth:o.Z.pInt(localStorage.getItem("aurora_admin_system_splitter-width"),20),currentTabName:""}},watch:{$route(t,e){this.setCurrentTabName()},tabs(){this.setCurrentTabName()},splitterWidth(){localStorage.setItem("aurora_admin_system_splitter-width",this.splitterWidth)}},mounted(){const t=m.Z.getTabsOrder();let e=u.Z.getAdminEntityTabs("getAdminSystemTabs").map((t=>({tabName:t.tabName,tabTitle:t.tabTitle})));o.Z.isNonEmptyArray(e)&&(e=n().sortBy(e,(e=>{const a=n().indexOf(t,e.tabName);return-1!==a?a:t.length})),this.tabs=e)},methods:{setCurrentTabName(){const t=this.$route.fullPath,e=t.split("/");this.currentTabName=e.length>2?e[2]:"",this.currentTabName||this.changeTab(this.tabs[0].tabName)},changeTab(t){const e=this.$route?.path||"",a="/system/"+t;e!==a?this.$router.push(a):this.setCurrentTabName()}}};var c=a(1639),p=a(7498),d=a(6663),w=a(3246),_=a(490),g=a(1233),T=a(3115),f=a(2218),N=a(9984),W=a.n(N);const Z=(0,c.Z)(b,[["render",i]]),y=Z;W()(b,"components",{QSplitter:p.Z,QScrollArea:d.Z,QList:w.Z,QItem:_.Z,QItemSection:g.Z,QItemLabel:T.Z,QSeparator:f.Z})}}]);