import{M as n}from"./MkContainer-6laePfDX.js";import{M as l}from"./MkChart-5f7_-vyZ.js";import{i as o,c as u}from"./app-JmgyQoR0.js";import{b as c,a as p,h as d,i as h,j as a,K as m,E as _,z as f,u as e,l as g}from"./vue-y3KLWBaS.js";import"./use-chart-tooltip-45ovlg1Q.js";import"./chartjs-adapter-date-fns.esm-ogm-isT_.js";const b=e("i",{class:"ph-chart-bar ph-bold ph-lg",style:{"margin-right":"0.5em"}},null,-1),k=e("i",{class:"ph-dots-three-outline ph-bold ph-lg"},null,-1),y=[k],M={style:{padding:"8px"}},S=c({__name:"index.activity",props:{user:{},limit:{default:50}},setup(v){let r=p("per-user-notes");function i(t){var s;u([{text:o.ts.notes,active:!0,action:()=>{r.value="per-user-notes"}}],(s=t.currentTarget)!=null?s:t.target)}return(t,s)=>(d(),h(n,null,{header:a(()=>[b,m(_(f(o).ts.activity),1)]),func:a(()=>[e("button",{class:"_button",onClick:i},y)]),default:a(()=>[e("div",M,[g(l,{src:r.value,args:{user:t.user,withoutAll:!0},span:"day",limit:t.limit,bar:!0,stacked:!0,detailed:!1,"aspect-ratio":5},null,8,["src","args","limit"])])]),_:1}))}});export{S as default};
