UnisKB/static/admin/chat/assets/SystemMainLayout-h6zHAca8.js

2 lines
1.2 KiB
JavaScript

import{S as p,_ as m,a as d}from"./SystemHeader-DSqNBQ0P.js";import{ay as _,aA as u,b8 as f,aD as y,aE as t,bf as h,aI as e,bn as o,aF as x,bm as v,aH as s,cg as i,ce as b}from"./chat-DJvAKTWV.js";import"./ResetPassword.vue_vue_type_script_setup_true_lang-7YxLxkIj.js";import"./SettingAPIKeyDialog.vue_vue_type_script_setup_true_lang-DqonrZ-8.js";import"./index-Dz4w-caM.js";const E={class:"app-layout",style:{display:"flex","flex-direction":"column",height:"100vh"}},w={style:{width:"240px","border-right":"1px solid #e5e7eb"}},S={style:{flex:"1",overflow:"auto"}},g=_({__name:"SystemMainLayout",setup(k){const{theme:r,user:a}=u(),l=f(()=>r.isDefaultTheme());return(n,B)=>{const c=y("el-alert");return t(),h("div",E,[e("div",{class:i(["app-header",l.value?"":"custom-header"]),style:{position:"static"}},[o(a).isExpire()?(t(),x(c,{key:0,title:n.$t("layout.isExpire"),type:"warning",class:"border-b","show-icon":"",closable:!1},null,8,["title"])):v("",!0),s(p)],2),e("div",{class:i(["app-main",o(a).isExpire()?"isExpire":""]),style:{display:"flex",flex:"1",overflow:"hidden"}},[e("div",w,[s(m)]),e("div",S,[s(d)])],2)])}}}),H=b(g,[["__scopeId","data-v-667c4509"]]);export{H as default};