import{j as o}from"./vendor-mui-69397583.js";import{A as l}from"./AdaptableCard-df7695d6.js";import{Y as T,C as p}from"./index-c62ac197.js";import{b as d,c as g,u as E,a as m}from"./vendor-redux-a1f00e6b.js";import{h as u}from"./AccountServices-62599aae.js";import"./vendor-react-ece1c85f.js";import"./vendor-pdf-b2a5d8b1.js";import"./vendor-devex-33a39e11.js";import"./vendor-i18n-2fcb1983.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";const C="UPDATE-TICKET",A="COMMENT",I="ADD-TAGS-TO-TICKET",f="ADD-FILES-TO-TICKET",y="COMMENT-MENTION",L="ASSIGN-TICKET",N="CREATE-TICKET",s="accountActivityLog",c=d(s+"/getLogs",async e=>(await u()).data),r=d(s+"/filterLogs",async e=>(await apiGetAccountLogData(e)).data),S={loading:!1,loadMoreLoading:!1,loadable:!1,activityIndex:1,logs:[],selectedType:[C,A,y,L,I,f,N]},i=g({name:`${s}/state`,initialState:S,reducers:{setActivityIndex:(e,a)=>{e.activityIndex=a.payload},setSelected:(e,a)=>{e.selectedType=a.payload}},extraReducers:e=>{e.addCase(c.fulfilled,(a,t)=>{const n=E(a);a.logs=[...n.logs,...t.payload.data],a.loadMoreLoading=!1,a.loadable=t.payload.loadable}).addCase(c.pending,a=>{a.loadMoreLoading=!0}).addCase(r.fulfilled,(a,t)=>{a.logs=t.payload.data,a.loading=!1,a.loadable=t.payload.loadable}).addCase(r.pending,a=>{a.loading=!0})}});i.actions;const M=i.reducer,x=m({data:M});T("accountActivityLog",x);const D=()=>o.jsx(p,{children:o.jsx(l,{children:o.jsx("div",{className:"grid lg:grid-cols-5 gap-8 ",children:o.jsxs("div",{className:"col-span-4 order-last md:order-first",children:[o.jsx("h3",{className:"mb-6",children:"Notifications"}),"test"]})})})}),P=D;export{P as default};
