const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["MkNotificationSettingWindow-Dp4RCmWc.js","app-QjDgb7aF.js","vue-Cm77DuTi.js","charts-3gEHPHRq.js","media-DuCIZ-3n.js","app-CV_aoXZ3.css"])))=>i.map(i=>d[i]);
import{P as b,b as n,a as w,l as k}from"./app-QjDgb7aF.js";import{u as _}from"./widget-jbnupkVY.js";import{M as T}from"./MkContainer-CNBcUt5w.js";import{X as x}from"./MkNotifications-3MvKmBnV.js";import{b as P,g as v,i as a,u as e,t as C,q as i,k as D,J as N,D as A,d as V,j as B}from"./vue-Cm77DuTi.js";import"./charts-3gEHPHRq.js";import"./media-DuCIZ-3n.js";import"./MkPagination-DzUgufpZ.js";import"./MkNotification-DuBjKjip.js";import"./MkReactionIcon.vue_vue_type_script_setup_true_lang-D23mNn1N.js";import"./get-note-summary-DlGmePWF.js";import"./MkDateSeparatedList.vue_vue_type_style_index_0_lang-87CjANkN.js";import"./MkNote-RPFbRjy2.js";import"./MkReactionsViewer-D75lmVQ0.js";import"./share-available-Drgr3YiT.js";const M=["aria-label"],S=["aria-label"],r="notifications",K=P({__name:"notifications",props:{widget:{}},emits:["updateProps"],setup(p,{expose:d,emit:u}){const m={showHeader:{type:"boolean",default:!0},height:{type:"number",default:300},includingTypes:{type:"array",hidden:!0,default:null}},s=p,c=u,{widgetProps:o,configure:f,save:g}=_(r,m,s,c),h=()=>{w(V(()=>k(()=>import("./MkNotificationSettingWindow-Dp4RCmWc.js"),__vite__mapDeps([0,1,2,3,4,5]))),{includingTypes:o.includingTypes},{done:async l=>{const{includingTypes:t}=l;o.includingTypes=t,g()}},"closed")};return d({name:r,configure:f,id:s.widget?s.widget.id:null}),(l,t)=>(B(),v(T,{style:C(`height: ${e(o).height}px;`),"show-header":e(o).showHeader,scrollable:!0,class:"mkw-notifications"},{header:a(()=>[t[2]||(t[2]=i("i",{class:"ph-bell ph-bold ph-lg"},null,-1)),N(A(e(n).ts.notifications),1)]),func:a(()=>[i("button",{class:"_button","aria-label":e(n).ts.markAllAsRead,onClick:t[0]||(t[0]=y=>b("notifications/mark-all-as-read"))},[...t[3]||(t[3]=[i("i",{class:"ph-checks ph-bold ph-lg"},null,-1)])],8,M),i("button",{class:"_button","aria-label":e(n).ts.notificationSetting,onClick:t[1]||(t[1]=y=>h())},[...t[4]||(t[4]=[i("i",{class:"ph-gear-six ph-bold ph-lg"},null,-1)])],8,S)]),default:a(()=>[i("div",null,[D(x,{"include-types":e(o).includingTypes},null,8,["include-types"])])]),_:1},8,["style","show-header"]))}});export{K as default};
//# sourceMappingURL=notifications-CWj_jcR2.js.map
