import{d,b as m,t as _,e as n,c as s,g as c,h as v,o as a,n as k,j as t,bJ as y,l as b,bK as g,bL as x,F as N,a as C}from"./index-CPxpbp4R.js";import{u as h}from"./usePageTitle-CcH2lmI6.js";const V=d({__name:"Notifications",setup(B){const r=m(),e=_(r.notifications.getNotifications),i=n(()=>e.response??[]),l=n(()=>e.executed&&i.value.length===0),u=n(()=>e.executed);return h("Notifications"),(w,o)=>{const f=v("p-layout-default");return a(),s(f,{class:"notifications"},{header:c(()=>[k(t(y))]),default:c(()=>[u.value?(a(),b(N,{key:0},[l.value?(a(),s(t(g),{key:0})):(a(),s(t(x),{key:1,notifications:i.value,onDelete:o[0]||(o[0]=p=>t(e).refresh()),onUpdate:o[1]||(o[1]=p=>t(e).refresh())},null,8,["notifications"]))],64)):C("",!0)]),_:1})}}});export{V as default};
//# sourceMappingURL=Notifications-CvwUYEV1.js.map
