You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/dist/comments-comments-tab.mjs

3 lines
6.7 KiB

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/ActivityCommentAction-eCmL1yLx.chunk.mjs'),window.OC.filePath('', '', 'dist/index-DnxGs_o3.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-C6SCsxGW.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-CWhkSanI.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-DiDvgcU8-BGtgvRZO.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-DkEHwbzs.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-BNMD4Py3.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-Cnt4vXgN.chunk.mjs'),window.OC.filePath('', '', 'dist/index-kP1pdrFW.chunk.mjs'),window.OC.filePath('', '', 'dist/common-createElementId-DhjFt1I9-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/common-logger-D3RVzcfQ-Ks0gkIDB.chunk.css'),window.OC.filePath('', '', 'dist/common-NcModal-DiDvgcU8-B-yi1OwC.chunk.css'),window.OC.filePath('', '', 'dist/Check-Dqswwx_Q.chunk.mjs'),window.OC.filePath('', '', 'dist/common-Check-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/common-mdi-DYA_tnKg.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DvfYiA0s.chunk.mjs'),window.OC.filePath('', '', 'dist/common-TrashCanOutline-BWNFKLbC.chunk.css'),window.OC.filePath('', '', 'dist/CommentView-C-p7kAnW.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-C1tkygpH.chunk.mjs'),window.OC.filePath('', '', 'dist/common-PencilOutline-B3DMd8SU.chunk.css'),window.OC.filePath('', '', 'dist/NcActionSeparator-B9pNQaji-DS4a-n7O.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcActionSeparator-B9pNQaji-pXJ_-D_I.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-1KxMUN7V-CTX6i5PQ.chunk.mjs'),window.OC.filePath('', '', 'dist/index-D9pEuVUV.chunk.mjs'),window.OC.filePath('', '', 'dist/util-C9Hc1fff.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-DjwuaHxS.chunk.mjs'),window.OC.filePath('', '', 'dist/common-ArrowRight-DfvWJUh_.chunk.css'),window.OC.filePath('', '', 'dist/colors-Cv9F-jWS-B1UKp356.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-BF5OEQFU-BktHNalE.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserStatusIcon-BF5OEQFU-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcActionLink-BFiaYt9A-Dv7gmA1L.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcActionLink-BFiaYt9A-CEHXa_e3.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7-B5ZPshgt.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcDateTime-_F7sgjOt.chunk.css'),window.OC.filePath('', '', 'dist/NcActionText-CQ9qwJ0p-ComUM16z.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcActionText-CQ9qwJ0p-BSLFrdhh.chunk.css'),window.OC.filePath('', '', 'dist/common-NcAvatar-1KxMUN7V-JLlh0oov.chunk.css'),window.OC.filePath('', '', 'dist/NcUserBubble-BXR7vT0V-DRBB6l8X.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserBubble-BXR7vT0V-f2DD9EAL.chunk.css'),window.OC.filePath('', '', 'dist/activity-CAMqbip4.chunk.mjs'),window.OC.filePath('', '', 'dist/GetComments-BQiTJbeR.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CZScwDbg.chunk.mjs'),window.OC.filePath('', '', 'dist/dav-TSvUVYgc.chunk.mjs'),window.OC.filePath('', '', 'dist/externalStorageUtils-CQ1qe2np.chunk.mjs'),window.OC.filePath('', '', 'dist/common-CommentView-f1JWd1O0.chunk.css'),window.OC.filePath('', '', 'dist/comments-ActivityCommentAction-BNcHFi_U.chunk.css'),window.OC.filePath('', '', 'dist/ActivityCommentEntry-4ldbyMwf.chunk.mjs'),window.OC.filePath('', '', 'dist/comments-ActivityCommentEntry-DkLG8AtJ.chunk.css'),window.OC.filePath('', '', 'dist/FilesSidebarTab-BuxZZZgX.chunk.mjs'),window.OC.filePath('', '', 'dist/MapMarkerOutline-BIm9RXlP.chunk.mjs'),window.OC.filePath('', '', 'dist/common-MapMarkerOutline-Don1d5Bd.chunk.css'),window.OC.filePath('', '', 'dist/common-FilesSidebarTab-Dk-ISsTg.chunk.css')])))=>i.map(i=>d[i]);
import{e as l,_ as m,f as c,d as w}from"./Web-C6SCsxGW.chunk.mjs";import{r as _}from"./index-lFtAQbma.chunk.mjs";import{t as g}from"./translation-DoG5ZELJ-Cnt4vXgN.chunk.mjs";import{l as r,i as A}from"./activity-CAMqbip4.chunk.mjs";import{g as v}from"./GetComments-BQiTJbeR.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./externalStorageUtils-CQ1qe2np.chunk.mjs";import"./index-kP1pdrFW.chunk.mjs";import"./util-C9Hc1fff.chunk.mjs";import"./index-CZScwDbg.chunk.mjs";import"./dav-TSvUVYgc.chunk.mjs";const y='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-message-reply-text" viewBox="0 0 24 24"><path d="M18,8H6V6H18V8M18,11H6V9H18V11M18,14H6V12H18V14M22,4A2,2 0 0,0 20,2H4A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H18L22,22V4Z" /></svg>';function V(){let o;window.OCA.Activity.registerSidebarAction({mount:async(t,{node:e,reload:i})=>{const a=l();if(!o){const{default:s}=await m(async()=>{const{default:n}=await import("./ActivityCommentAction-eCmL1yLx.chunk.mjs");return{default:n}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46]),import.meta.url);o=c(s,{reloadCallback:i,resourceId:e.fileid})}o.use(a),o.mount(t),r.info("Comments plugin mounted in Activity sidebar action",{node:e})},unmount:()=>{o?.unmount()}}),window.OCA.Activity.registerSidebarEntries(async({node:t,limit:e,offset:i})=>{const{data:a}=await v({resourceType:"files",resourceId:t.fileid},{limit:e,offset:i??0});r.debug("Loaded comments",{node:t,comments:a});const{default:s}=await m(async()=>{const{default:n}=await import("./ActivityCommentEntry-4ldbyMwf.chunk.mjs");return{default:n}},__vite__mapDeps([47,8,9,18,2,3,19,6,7,10,11,5,12,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,13,14,37,38,39,16,17,1,4,15,40,41,42,43,44,45,48]),import.meta.url);return a.map(n=>({_CommentsViewInstance:void 0,timestamp:Date.parse(n.props?.creationDateTime??""),mount(f,{reload:p}){const d=c(s,{comment:n,resourceId:t.fileid,reloadCallback:p});d.mount(f),this._CommentsViewInstance=d},unmount(){this._CommentsViewInstance?.unmount()}}))}),window.OCA.Activity.registerSidebarFilter(t=>t.type!=="comments"),r.info("Comments plugin registered for Activity sidebar action")}const u="comments_files-sidebar-tab";A()?window.addEventListener("DOMContentLoaded",function(){V()}):_({id:"comments",displayName:g("comments","Comments"),iconSvgInline:y,order:50,tagName:u,async onInit(){const{default:o}=await m(async()=>{const{default:e}=await import("./FilesSidebarTab-BuxZZZgX.chunk.mjs").then(i=>i.F);return{default:e}},__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,23,24,25,26,27,28,29,30,19,20,31,32,33,34,35,36,37,50,51,18,21,22,38,39,40,41,42,43,44,45,52]),import.meta.url),t=w(o,{configureApp(e){const i=l();e.use(i)},shadowRoot:!1});window.customElements.define(u,t)}});
//# sourceMappingURL=comments-comments-tab.mjs.map