import{_ as w}from"./EmptyStateBlock-Dt7jmbAi.js";import{_ as f}from"./HtmlContent-DrkJBX3e.js";import{_ as k}from"./IconCloseCircle-ctElXVvc.js";import{_ as v}from"./ClausesKeeper-CyJ_9bTp.js";import{_ as h}from"./BlockBalanceAgreement-396E9Da8.js";import{av as g,o as t,c as r,b as o,a as e,B as a,m as i,w as B,aw as y,F as _,h as C}from"./index-Bb2UEb_P.js";import{_ as N}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./clauses-Bhz_DuFa.js";import"./index-Dax_IkAt.js";import"./ButtonDefault-CzWpVlv6.js";import"./common-U_VzDrmL.js";const b={class:"section"},x={class:"container"},$={class:"notes"},L={__name:"Notes",setup(S){const s=g();return(E,c)=>{const l=h,m=v,p=k,d=f,u=w;return t(),r(_,null,[o(l),e("section",b,[e("div",x,[c[0]||(c[0]=e("div",{class:"section-header"},[e("h1",{class:"section-title"},"Уведомления")],-1)),o(m),e("div",$,[a(s).notesList.length>0?(t(),i(y,{key:0,tag:"div",name:"list",class:"tw-relative tw-space-y-4"},{default:B(()=>[(t(!0),r(_,null,C(a(s).notesList,n=>(t(),r("div",{key:n.id,class:"tw-relative tw-border tw-border-gray-200 tw-rounded tw-py-4 tw-pl-4 tw-pr-12"},[o(p,{class:"tw-absolute tw-top-4 tw-right-4 tw-size-5 tw-cursor-pointer hover:tw-text-orange-500",onClick:F=>a(s).deleteNote(n.id)},null,8,["onClick"]),o(d,{content:n.html},null,8,["content"])]))),128))]),_:1})):(t(),i(u,{key:1,label:"Все уведомления прочитаны или они еще не пришли"}))])])])],64)}}},K=N(L,[["__scopeId","data-v-e1d456d6"]]);export{K as default};
