import{d,aF as m,t as _,f as n,c as s,g as c,h as k,o as a,j as v,k as t,cL as y,x,cM as N,cN as g,F as B,a as C}from"./index-BqDjVCF_.js";import{u as h}from"./usePageTitle-CZh_IXm2.js";const $=d({__name:"Notifications",setup(F){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"),(M,o)=>{const f=k("p-layout-default");return a(),s(f,{class:"notifications"},{header:c(()=>[v(t(y))]),default:c(()=>[u.value?(a(),x(B,{key:0},[l.value?(a(),s(t(N),{key:0})):(a(),s(t(g),{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{$ as default};
//# sourceMappingURL=Notifications-CC4dxmfM.js.map
