(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[17],{"8fac":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("main-layout",[a("q-splitter",{staticClass:"full-height full-width",attrs:{"after-class":"q-splitter__right-panel",limits:[10,30]},scopedSlots:t._u([{key:"before",fn:function(){return[a("q-scroll-area",{staticClass:"full-height full-width"},[a("q-list",t._l(t.tabs,(function(e){return a("div",{key:e.tabName},[a("q-item",{class:t.currentTabName===e.tabName?"bg-selected-item text-white":"",attrs:{clickable:""},on:{click:function(a){return t.changeTab(e.tabName)}}},[a("q-item-section",[a("q-item-label",{attrs:{lines:"1"}},[t._v(t._s(t.$t(e.tabTitle)))])],1)],1),a("q-separator")],1)})),0)],1)]},proxy:!0},{key:"after",fn:function(){return[a("router-view")]},proxy:!0}]),model:{value:t.splitterWidth,callback:function(e){t.splitterWidth=e},expression:"splitterWidth"}})],1)},i=[],n=(a("d81d"),a("ac1f"),a("1276"),a("2ef0")),s=a.n(n),l=a("0091"),u=a("83d6"),o=a("6bfe"),c=a("713b"),h={name:"System",components:{MainLayout:c["a"]},data:function(){return{tabs:[],splitterWidth:o["a"].pInt(localStorage.getItem("system-splitter-width"),20),currentTabName:""}},watch:{$route:function(t,e){this.setCurrentTabName()},tabs:function(){this.setCurrentTabName()},splitterWidth:function(){localStorage.setItem("system-splitter-width",this.splitterWidth)}},mounted:function(){var t=u["a"].getTabsOrder(),e=l["a"].getAdminEntityTabs("getAdminSystemTabs").map((function(t){return{tabName:t.tabName,tabTitle:t.tabTitle}}));o["a"].isNonEmptyArray(e)&&(e=s.a.sortBy(e,(function(e){var a=s.a.indexOf(t,e.tabName);return-1!==a?a:t.length})),this.tabs=e)},methods:{setCurrentTabName:function(){var t=this.$route.fullPath,e=t.split("/");this.currentTabName=e.length>2?e[2]:"",this.currentTabName||this.changeTab(this.tabs[0].tabName)},changeTab:function(t){var e=this.$router.currentRoute&&this.$router.currentRoute.path?this.$router.currentRoute.path:"",a="/system/"+t;e!==a?this.$router.push(a):this.setCurrentTabName()}}},b=h,m=a("2877"),f=a("8562"),p=a("4983"),d=a("1c1c"),T=a("66e5"),y=a("4074"),N=a("0170"),g=a("eb85"),w=a("eebe"),v=a.n(w),S=Object(m["a"])(b,r,i,!1,null,null,null);e["default"]=S.exports;v()(S,"components",{QSplitter:f["a"],QScrollArea:p["a"],QList:d["a"],QItem:T["a"],QItemSection:y["a"],QItemLabel:N["a"],QSeparator:g["a"]})}}]);