UnisKB/static/chat/assets/SystemMainLayout-BL1FclIb.js

2 lines
1.1 KiB
JavaScript

import{S as p,_ as d,a as m}from"./SystemHeader-BhKlapc0.js";import{aW as _,bj as u,aY as f,a$ as h,b0 as a,bc as y,b5 as e,bl as o,b1 as b,bk as x,b3 as s,cf as i,ce as v}from"./chat-BPuDP6Ik.js";import"./index-B-4aeuiO.js";import"./SettingAPIKeyDialog.vue_vue_type_script_setup_true_lang-CG64XwWP.js";const k={class:"app-layout",style:{display:"flex","flex-direction":"column",height:"100vh"}},w={style:{width:"240px","border-right":"1px solid #e5e7eb"}},E={style:{flex:"1",overflow:"auto"}},S=_({__name:"SystemMainLayout",setup(B){const{theme:l,user:t}=u(),r=f(()=>l.isDefaultTheme());return(c,C)=>{const n=h("el-alert");return a(),y("div",k,[e("div",{class:i(["app-header",r.value?"":"custom-header"]),style:{position:"static"}},[o(t).isExpire()?(a(),b(n,{key:0,title:c.$t("layout.isExpire"),type:"warning",class:"border-b","show-icon":"",closable:!1},null,8,["title"])):x("",!0),s(p)],2),e("div",{class:i(["app-main",o(t).isExpire()?"isExpire":""]),style:{display:"flex",flex:"1",overflow:"hidden"}},[e("div",w,[s(d)]),e("div",E,[s(m)])],2)])}}}),D=v(S,[["__scopeId","data-v-667c4509"]]);export{D as default};