import{d,aE as m,t as _,e as n,c as s,f as c,g as v,o as a,h as y,i as t,cI as g,q as k,cJ as x,cK as N,F as C,a as h}from"./index-BOEdKJ1D.js";import{u as B}from"./usePageTitle-BkurcLK2.js";const V=d({__name:"Notifications",setup(E){const r=m(),e=_(r.notifications.getNotifications),i=n(()=>e.response??[]),l=n(()=>e.executed&&i.value.length===0),u=n(()=>e.executed);return B("Notifications"),(F,o)=>{const f=v("p-layout-default");return a(),s(f,{class:"notifications"},{header:c(()=>[y(t(g))]),default:c(()=>[u.value?(a(),k(C,{key:0},[l.value?(a(),s(t(x),{key:0})):(a(),s(t(N),{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)):h("",!0)]),_:1})}}});export{V as default};
//# sourceMappingURL=Notifications-DhonGBjV.js.map
