nextcloud/dist/comments-comments-tab.mjs
Ferdinand Thiessen 268bc0da68
chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-07-04 22:21:26 +02:00

3 lines
6.2 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/ActivityCommentAction-Du2onnhZ.chunk.mjs'),window.OC.filePath('', '', 'dist/index-DL1yHC1K-BEAXQkdE.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-DipEvAM1.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Bba-EfET.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-B-YLND3e-CkZ6kVHj.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-DGD7l52c.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-Et9tKIxm.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-Cix2nzZD.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Cp0kcsps.chunk.mjs'),window.OC.filePath('', '', 'dist/common-createElementId-DhjFt1I9-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/common-logger-D3RVzcfQ-BE3lcFW4.chunk.css'),window.OC.filePath('', '', 'dist/common-NcModal-B-YLND3e-CirRoP1Y.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-qUYPNZuX.chunk.mjs'),window.OC.filePath('', '', 'dist/common-TrashCanOutline-BYHcrfvW.chunk.css'),window.OC.filePath('', '', 'dist/common-index-DYA_tnKg.chunk.css'),window.OC.filePath('', '', 'dist/mdi-C1U8q2ba.chunk.mjs'),window.OC.filePath('', '', 'dist/common-mdi-BWNFKLbC.chunk.css'),window.OC.filePath('', '', 'dist/CommentView-Bv3RsyyX.chunk.mjs'),window.OC.filePath('', '', 'dist/pinia-Co9KJ3le.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-xblzlyhQ.chunk.mjs'),window.OC.filePath('', '', 'dist/common-PencilOutline-B3DMd8SU.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-DX-Nk9Es-B3r8dqo-.chunk.mjs'),window.OC.filePath('', '', 'dist/index-BFQdpkfu.chunk.mjs'),window.OC.filePath('', '', 'dist/util-DBjHxD9z.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-D8pb-9Ni.chunk.mjs'),window.OC.filePath('', '', 'dist/common-ArrowRight-Boc6pkbD.chunk.css'),window.OC.filePath('', '', 'dist/colors-BDeMBgfq-Bc_fxxxH.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-DsviB2Cr-BXxhJAsB.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserStatusIcon-DsviB2Cr-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7-DojzMtha.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcDateTime-b9UhLDij.chunk.css'),window.OC.filePath('', '', 'dist/common-NcAvatar-DX-Nk9Es-DTVmI7NO.chunk.css'),window.OC.filePath('', '', 'dist/NcUserBubble-BXBgGflZ-DS2hZE9-.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserBubble-BXBgGflZ-f2DD9EAL.chunk.css'),window.OC.filePath('', '', 'dist/activity-BZ6xFlZg.chunk.mjs'),window.OC.filePath('', '', 'dist/GetComments-C8chRsf_.chunk.mjs'),window.OC.filePath('', '', 'dist/index-DsSSquC2.chunk.mjs'),window.OC.filePath('', '', 'dist/common-CommentView-D9eoYnuL.chunk.css'),window.OC.filePath('', '', 'dist/common-NcActionSeparator-Ct2RnclR-pXJ_-D_I.chunk.css'),window.OC.filePath('', '', 'dist/comments-ActivityCommentAction-D5Q48MrJ.chunk.css'),window.OC.filePath('', '', 'dist/ActivityCommentEntry-Kffv6h_2.chunk.mjs'),window.OC.filePath('', '', 'dist/comments-ActivityCommentEntry-CVfnMLz5.chunk.css'),window.OC.filePath('', '', 'dist/FilesSidebarTab-CkTGjguH.chunk.mjs'),window.OC.filePath('', '', 'dist/NcEmptyContent-CGAPqk4S-bk-nj9Jh.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcEmptyContent-CGAPqk4S-Don1d5Bd.chunk.css'),window.OC.filePath('', '', 'dist/common-FilesSidebarTab-D1FhhmK6.chunk.css')])))=>i.map(i=>d[i]);
import{_ as m,e as c,d as w}from"./Web-DipEvAM1.chunk.mjs";import{r as _}from"./index-BSna6oVo.chunk.mjs";import{t as g}from"./translation-DoG5ZELJ-Cix2nzZD.chunk.mjs";import{c as l}from"./pinia-Co9KJ3le.chunk.mjs";import{l as r,i as A}from"./activity-BZ6xFlZg.chunk.mjs";import{g as v}from"./GetComments-C8chRsf_.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./folder-29HuacU_-YFFzfmzN.chunk.mjs";import"./index-Cp0kcsps.chunk.mjs";import"./util-DBjHxD9z.chunk.mjs";import"./index-DsSSquC2.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-Du2onnhZ.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]),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-Kffv6h_2.chunk.mjs");return{default:n}},__vite__mapDeps([41,8,9,18,2,3,19,20,6,7,10,11,5,12,21,22,23,24,25,26,27,28,29,30,31,13,14,32,33,34,1,4,15,16,17,35,36,37,38,39,42]),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-CkTGjguH.chunk.mjs").then(i=>i.F);return{default:e}},__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,22,23,24,25,26,27,28,29,20,21,30,31,32,44,45,18,19,33,34,35,36,37,38,39,46]),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