1import{U as V}from"./UserInfo-a_ZJmG3Y.js";import{_ as w,bf as C,A as B,z as D,o as c,j as x,a as t,w as e,X as _,Y as y,e as s,m as i,t as r,W as S,d,a6 as $,a2 as F,a3 as g,F as T,r as H,R as v,a0 as m,c as I,$ as L,b as k,f as A}from"./index-O5vYa441.js";import{H as M}from"./HelpButton-CWN6UJF7.js";try{let o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new o.Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="56049208-8778-477a-8cdc-90af99673a52",o._sentryDebugIdIdentifier="sentry-dbid-56049208-8778-477a-8cdc-90af99673a52")}catch{}const N={components:{UserInfo:V,HelpButton:M},setup(){const o=C(),{setSelectedCommentFromFeed:a}=o;return{setSelectedCommentFromFeed:a,lexicon:D,icons:B}},data(){return{selectedItem:0,showFeed:!0,allMentions:[]}},created(){},async mounted(){let a=(await this.$auth.$api.get("/api/comments/get-all-mentioned-comments"))?.data?.data;Array.isArray(a)&&a.length>0&&(this.allMentions=a.reverse())},methods:{async clickOnFeed(o){let a=o.notebook,u=o;await this.setSelectedCommentFromFeed(u),this.$router.push(`/notebook/${a}`)}}},U={style:{"border-right":"1px solid #9e9e9e !important",height:"100%"}},E={class:"feedsStyle pa-1"},O={class:"text-truncate"},R={class:"pl-4"},j={class:"text-caption"};function z(o,a,u,n,b,h){const p=m("HelpButton"),f=m("UserInfo");return c(),x("div",U,[t(S,{style:{"overflow-y":"auto"}},{default:e(()=>[t(_,{to:"/dashboard/notebooks"},{prepend:e(()=>[t(i,null,{default:e(()=>[s(r(n.lexicon.notebook.icon),1)]),_:1})]),default:e(()=>[t(y,null,{default:e(()=>[...a[0]||(a[0]=[s("Notebooks",-1)])]),_:1})]),_:1}),t(_,{to:"/dashboard/templates"},{prepend:e(()=>[t(i,null,{default:e(()=>[s(r(n.lexicon.template.icon),1)]),_:1})]),default:e(()=>[t(y,null,{default:e(()=>[...a[1]||(a[1]=[s("Templates",-1)])]),_:1})]),_:1}),t(_,{to:"/dashboard/layouts"},{prepend:e(()=>[t(i,null,{default:e(()=>[s(r(n.lexicon.layout.icon),1)]),_:1})]),default:e(()=>[t(y,null,{default:e(()=>[...a[2]||(a[2]=[s("Page Layouts",-1)])]),_:1})]),_:1})]),_:1}),d("div",E,[t($,{class:"mx-2"}),t(v,{flat:"",class:"px-0 mb-2 mx-0"},{default:e(()=>[t(F,{class:"defaultText pt-2 pb-1 pl-3",style:{"font-weight":"400",color:"rgb(var(--v-theme-darkSlate))"}},{default:e(()=>[d("div",O,[t(i,{medium:"",color:"darkGrey"},{default:e(()=>[s(r(n.lexicon.mention.icon),1)]),_:1}),d("span",R,[a[3]||(a[3]=s("Mentions",-1)),t(p,{"lexicon-item":n.lexicon.mention},null,8,["lexicon-item"])])])]),_:1}),t(g,{class:"pl-4 px-0 mx-0 pb-1"},{default:e(()=>[a[4]||(a[4]=d("small",{class:""},"Click a comment to open its page",-1)),(c(!0),x(T,null,H(b.allMentions,l=>(c(),I(L,{key:l._id},{default:e(({hover:X})=>[t(v,{flat:"",variant:"outlined",color:"secondary",class:"text-truncate commentCard mr-4 ml-0 my-1",onClick:Y=>h.clickOnFeed(l)},{default:e(()=>[t(f,{avatar:l.createdBy.picture,name:l.createdBy.name,"time-stamp":o.$filters.momentTimestamp(l.createdAt)},null,8,["avatar","name","time-stamp"]),t(g,{class:"text-truncate py-0 px-2 ma-0"},{default:e(()=>[d("span",j,r(l.comments),1)]),_:2},1024)]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1})]),_:1})])])}const G=w(N,[["render",z],["__scopeId","data-v-26eb8b2b"]]),P={components:{DashboardSideBar:G},data(){return{}},computed:{},watch:{}};function W(o,a,u,n,b,h){const p=m("DashboardSideBar"),f=m("router-view");return c(),I(A,{class:"mt-0 ml-0",style:{height:"100%"}},{default:e(()=>[t(k,{class:"pageHeight ma-0 pa-0",style:{"overflow-y":"hidden"},cols:"2"},{default:e(()=>[t(p)]),_:1}),t(k,{class:"pageHeight ma-0 pa-0",cols:"10"},{default:e(()=>[t(f)]),_:1})]),_:1})}const Q=w(P,[["render",W]]);export{Q as default}; 2//# sourceMappingURL=Dashboard-BXxg5Kln.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.