import{d as m,a as d,c as s,r as _,o as a,b as i,w as r,i as k,e,ao as y,g as x,ap as $,aq as g,F as v,f as C,ar as N}from"./index.a93ec448.js";const F=m({__name:"Notifications",setup(b){const t=d(N.getNotifications),c=s(()=>{var n;return(n=t.response)!=null?n:[]}),f=s(()=>t.executed&&c.value.length===0),p=s(()=>t.executed);return(n,o)=>{const u=_("p-layout-default");return a(),i(u,{class:"notifications"},{header:r(()=>[k(e(y))]),default:r(()=>[e(p)?(a(),x(v,{key:0},[e(f)?(a(),i(e($),{key:0})):(a(),i(e(g),{key:1,notifications:e(c),onDelete:o[0]||(o[0]=l=>e(t).refresh()),onUpdate:o[1]||(o[1]=l=>e(t).refresh())},null,8,["notifications"]))],64)):C("",!0)]),_:1})}}});export{F as default};
