import{x as _,y as c,z as H,A as O,C as g,D as p,d as x,E as u,F as V,G as A,H as $,I as G,J as F,f as K,K as U,L as J,M as Q,O as q,P as W,l as X,c as C,o as N,N as z,w as r,b as v,e as s,t as n,h as m,$ as h,Q as Y,g as l,R as Z}from"./index-DSCno0m2.js";import{N as ee}from"./Flex-CK9o7tXW.js";import{N as oe,_ as re}from"./Grid-DJ-rVKld.js";import{N as se}from"./Space-Dex4J4Il.js";import"./get-slot-Bk_rJcZu.js";const te=_([c("list",`
 --n-merged-border-color: var(--n-border-color);
 --n-merged-color: var(--n-color);
 --n-merged-color-hover: var(--n-color-hover);
 margin: 0;
 font-size: var(--n-font-size);
 transition:
 background-color .3s var(--n-bezier),
 color .3s var(--n-bezier),
 border-color .3s var(--n-bezier);
 padding: 0;
 list-style-type: none;
 color: var(--n-text-color);
 background-color: var(--n-merged-color);
 `,[g("show-divider",[c("list-item",[_("&:not(:last-child)",[p("divider",`
 background-color: var(--n-merged-border-color);
 `)])])]),g("clickable",[c("list-item",`
 cursor: pointer;
 `)]),g("bordered",`
 border: 1px solid var(--n-merged-border-color);
 border-radius: var(--n-border-radius);
 `),g("hoverable",[c("list-item",`
 border-radius: var(--n-border-radius);
 `,[_("&:hover",`
 background-color: var(--n-merged-color-hover);
 `,[p("divider",`
 background-color: transparent;
 `)])])]),g("bordered, hoverable",[c("list-item",`
 padding: 12px 20px;
 `),p("header, footer",`
 padding: 12px 20px;
 `)]),p("header, footer",`
 padding: 12px 0;
 box-sizing: border-box;
 transition: border-color .3s var(--n-bezier);
 `,[_("&:not(:last-child)",`
 border-bottom: 1px solid var(--n-merged-border-color);
 `)]),c("list-item",`
 position: relative;
 padding: 12px 0; 
 box-sizing: border-box;
 display: flex;
 flex-wrap: nowrap;
 align-items: center;
 transition:
 background-color .3s var(--n-bezier),
 border-color .3s var(--n-bezier);
 `,[p("prefix",`
 margin-right: 20px;
 flex: 0;
 `),p("suffix",`
 margin-left: 20px;
 flex: 0;
 `),p("main",`
 flex: 1;
 `),p("divider",`
 height: 1px;
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: transparent;
 transition: background-color .3s var(--n-bezier);
 pointer-events: none;
 `)])]),H(c("list",`
 --n-merged-color-hover: var(--n-color-hover-modal);
 --n-merged-color: var(--n-color-modal);
 --n-merged-border-color: var(--n-border-color-modal);
 `)),O(c("list",`
 --n-merged-color-hover: var(--n-color-hover-popover);
 --n-merged-color: var(--n-color-popover);
 --n-merged-border-color: var(--n-border-color-popover);
 `))]),ae=Object.assign(Object.assign({},$.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),w=U("n-list"),ne=x({name:"List",props:ae,slots:Object,setup(o){const{mergedClsPrefixRef:e,inlineThemeDisabled:a,mergedRtlRef:t}=V(o),i=A("List",t,e),b=$("List","-list",te,G,o,e);J(w,{showDividerRef:Q(o,"showDivider"),mergedClsPrefixRef:e});const f=K(()=>{const{common:{cubicBezierEaseInOut:y},self:{fontSize:k,textColor:R,color:P,colorModal:B,colorPopover:D,borderColor:I,borderColorModal:j,borderColorPopover:L,borderRadius:S,colorHover:M,colorHoverModal:T,colorHoverPopover:E}}=b.value;return{"--n-font-size":k,"--n-bezier":y,"--n-text-color":R,"--n-color":P,"--n-border-radius":S,"--n-border-color":I,"--n-border-color-modal":j,"--n-border-color-popover":L,"--n-color-modal":B,"--n-color-popover":D,"--n-color-hover":M,"--n-color-hover-modal":T,"--n-color-hover-popover":E}}),d=a?F("list",void 0,f,o):void 0;return{mergedClsPrefix:e,rtlEnabled:i,cssVars:a?void 0:f,themeClass:d?.themeClass,onRender:d?.onRender}},render(){var o;const{$slots:e,mergedClsPrefix:a,onRender:t}=this;return t?.(),u("ul",{class:[`${a}-list`,this.rtlEnabled&&`${a}-list--rtl`,this.bordered&&`${a}-list--bordered`,this.showDivider&&`${a}-list--show-divider`,this.hoverable&&`${a}-list--hoverable`,this.clickable&&`${a}-list--clickable`,this.themeClass],style:this.cssVars},e.header?u("div",{class:`${a}-list__header`},e.header()):null,(o=e.default)===null||o===void 0?void 0:o.call(e),e.footer?u("div",{class:`${a}-list__footer`},e.footer()):null)}}),le=x({name:"ListItem",slots:Object,setup(){const o=q(w,null);return o||W("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:o.showDividerRef,mergedClsPrefix:o.mergedClsPrefixRef}},render(){const{$slots:o,mergedClsPrefix:e}=this;return u("li",{class:`${e}-list-item`},o.prefix?u("div",{class:`${e}-list-item__prefix`},o.prefix()):null,o.default?u("div",{class:`${e}-list-item__main`},o):null,o.suffix?u("div",{class:`${e}-list-item__suffix`},o.suffix()):null,this.showDivider&&u("div",{class:`${e}-list-item__divider`}))}}),ie="/pms-agent/assets/soybean-JC38yUrs.jpg",de={class:"banner"},ce={class:"flex-y-center gap-12px"},pe={class:"text-18px font-semibold"},me={class:"text-#666 leading-28px"},ue=x({name:"HeaderBanner",__name:"header-banner",setup(o){const e=X();return(a,t)=>{const i=Y,b=ee,f=z;return N(),C(f,{bordered:!1,class:"card-wrapper"},{default:r(()=>[v("div",de,[v("div",ce,[t[0]||(t[0]=v("div",{class:"size-72px shrink-0 overflow-hidden rd-1/2"},[v("img",{src:ie,class:"size-full"})],-1)),v("div",null,[v("h3",pe,n(m(h)("page.home.greeting",{userName:m(e).userInfo.nickname||m(e).userInfo.username})),1),v("p",me,n(m(h)("page.home.intro")),1)])]),s(b,{class:"pt-16px",size:12},{default:r(()=>[s(i,{type:"info",round:""},{default:r(()=>[l(n(m(h)("page.home.tagUserAccess")),1)]),_:1}),s(i,{type:"success",round:""},{default:r(()=>[l(n(m(h)("page.home.tagProvider")),1)]),_:1}),s(i,{type:"warning",round:""},{default:r(()=>[l(n(m(h)("page.home.tagModel")),1)]),_:1}),s(i,{type:"primary",round:""},{default:r(()=>[l(n(m(h)("page.home.tagAssistant")),1)]),_:1})]),_:1})])]),_:1})}}}),fe=Z(ue,[["__scopeId","data-v-bb512bff"]]),xe=x({name:"home",__name:"index",setup(o){return(e,a)=>{const t=le,i=ne,b=z,f=re,d=oe,y=se;return N(),C(y,{vertical:"",size:16},{default:r(()=>[s(fe),s(d,{"x-gap":16,"y-gap":16,responsive:"screen","item-responsive":""},{default:r(()=>[s(f,{span:"24 s:24 m:12"},{default:r(()=>[s(b,{bordered:!1,class:"h-full card-wrapper"},{header:r(()=>[l(n(e.$t("page.home.capabilityTitle")),1)]),default:r(()=>[s(i,{bordered:!1},{default:r(()=>[s(t,null,{default:r(()=>[l(n(e.$t("page.home.capabilityUserAccess")),1)]),_:1}),s(t,null,{default:r(()=>[l(n(e.$t("page.home.capabilityModel")),1)]),_:1})]),_:1})]),_:1})]),_:1}),s(f,{span:"24 s:24 m:12"},{default:r(()=>[s(b,{bordered:!1,class:"h-full card-wrapper"},{header:r(()=>[l(n(e.$t("page.home.cleanupTitle")),1)]),default:r(()=>[s(i,{bordered:!1},{default:r(()=>[s(t,null,{default:r(()=>[l(n(e.$t("page.home.cleanupScope")),1)]),_:1}),s(t,null,{default:r(()=>[l(n(e.$t("page.home.cleanupLegacy")),1)]),_:1}),s(t,null,{default:r(()=>[l(n(e.$t("page.home.cleanupStrategy")),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}});export{xe as default};
