parent
f6b15deed6
commit
ade15bdcb5
@ -1,2 +1,2 @@ |
||||
import{a as t}from"./index-Czc5GTr1.chunk.mjs";import{t as m}from"./translation-DoG5ZELJ-hYauSqYO.chunk.mjs";import{C as e,a as p}from"./CommentView-CPZtmu56.chunk.mjs";import{l as i}from"./activity-CAMqbip4.chunk.mjs";import{b as a,r as s,o as n,c,m as u}from"./Web-Cti_s7Nd.chunk.mjs";import{_ as l}from"./public-C1mLBHT3.chunk.mjs";import"./mdi-BmXSqhBI.chunk.mjs";import"./NcModal-DiDvgcU8-Byn0vO0C.chunk.mjs";import"./logger-D3RVzcfQ-C7aw_g9X.chunk.mjs";import"./createElementId-DhjFt1I9-DyhKY9_Z.chunk.mjs";import"./index-kP1pdrFW.chunk.mjs";import"./Check-BCcekaS6.chunk.mjs";import"./TrashCanOutline--zyyOtWX.chunk.mjs";import"./PencilOutline-rDieoUFC.chunk.mjs";import"./NcActionSeparator-B9pNQaji-Oo0JJDSn.chunk.mjs";import"./NcAvatar-1KxMUN7V-B2YSKjzX.chunk.mjs";import"./index-B1wP8tlr.chunk.mjs";import"./util-C9Hc1fff.chunk.mjs";import"./ArrowRight-Bmx0uKvc.chunk.mjs";import"./colors-Cv9F-jWS-xyX99ako.chunk.mjs";import"./NcUserStatusIcon-BF5OEQFU-mN2bb1uW.chunk.mjs";import"./NcActionLink-BFiaYt9A-C1NepubF.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7-BfjdLGR6.chunk.mjs";import"./NcActionText-CQ9qwJ0p-B9DxMewk.chunk.mjs";import"./NcUserBubble-BXR7vT0V-D3Ki-x4R.chunk.mjs";import"./GetComments-KeOYs-CY.chunk.mjs";import"./index-CdlgfEAJ.chunk.mjs";import"./dav-7lRRXOj7.chunk.mjs";import"./externalStorageUtils-C3askeL2.chunk.mjs";const d=a({components:{CommentEntry:p},mixins:[e],props:{reloadCallback:{type:Function,required:!0}},methods:{onNewComment(){try{this.reloadCallback()}catch(o){t(m("comments","Could not reload comments")),i.error("Could not reload comments",{error:o})}}}});function C(o,f,y,b,w,N){const r=s("CommentEntry");return n(),c(r,u(o.editorData,{autoComplete:o.autoComplete,resourceType:o.resourceType,editor:!0,userData:o.userData,resourceId:o.resourceId,class:"comments-action",onNew:o.onNewComment}),null,16,["autoComplete","resourceType","userData","resourceId","onNew"])}const W=l(d,[["render",C],["__scopeId","data-v-099b6b12"]]);export{W as default}; |
||||
//# sourceMappingURL=ActivityCommentAction-BjD71twg.chunk.mjs.map
|
||||
import{a as t}from"./index-Czc5GTr1.chunk.mjs";import{t as m}from"./translation-DoG5ZELJ-hYauSqYO.chunk.mjs";import{C as e,a as p}from"./CommentView-B6IRjKQM.chunk.mjs";import{l as i}from"./activity-CAMqbip4.chunk.mjs";import{b as a,r as s,o as n,c,m as u}from"./Web-Cti_s7Nd.chunk.mjs";import{_ as l}from"./public-C1mLBHT3.chunk.mjs";import"./mdi-BmXSqhBI.chunk.mjs";import"./NcModal-DiDvgcU8-Byn0vO0C.chunk.mjs";import"./logger-D3RVzcfQ-C7aw_g9X.chunk.mjs";import"./createElementId-DhjFt1I9-DyhKY9_Z.chunk.mjs";import"./index-kP1pdrFW.chunk.mjs";import"./Check-BCcekaS6.chunk.mjs";import"./TrashCanOutline--zyyOtWX.chunk.mjs";import"./PencilOutline-rDieoUFC.chunk.mjs";import"./NcActionSeparator-B9pNQaji-Oo0JJDSn.chunk.mjs";import"./NcAvatar-1KxMUN7V-B2YSKjzX.chunk.mjs";import"./index-B1wP8tlr.chunk.mjs";import"./util-C9Hc1fff.chunk.mjs";import"./ArrowRight-Bmx0uKvc.chunk.mjs";import"./colors-Cv9F-jWS-xyX99ako.chunk.mjs";import"./NcUserStatusIcon-BF5OEQFU-mN2bb1uW.chunk.mjs";import"./NcActionLink-BFiaYt9A-C1NepubF.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7-BfjdLGR6.chunk.mjs";import"./NcActionText-CQ9qwJ0p-B9DxMewk.chunk.mjs";import"./NcUserBubble-BXR7vT0V-D3Ki-x4R.chunk.mjs";import"./GetComments-B6BH90pa.chunk.mjs";import"./index-CdlgfEAJ.chunk.mjs";import"./dav-7lRRXOj7.chunk.mjs";import"./externalStorageUtils-C3askeL2.chunk.mjs";const d=a({components:{CommentEntry:p},mixins:[e],props:{reloadCallback:{type:Function,required:!0}},methods:{onNewComment(){try{this.reloadCallback()}catch(o){t(m("comments","Could not reload comments")),i.error("Could not reload comments",{error:o})}}}});function C(o,f,y,b,w,N){const r=s("CommentEntry");return n(),c(r,u(o.editorData,{autoComplete:o.autoComplete,resourceType:o.resourceType,editor:!0,userData:o.userData,resourceId:o.resourceId,class:"comments-action",onNew:o.onNewComment}),null,16,["autoComplete","resourceType","userData","resourceId","onNew"])}const W=l(d,[["render",C],["__scopeId","data-v-099b6b12"]]);export{W as default}; |
||||
//# sourceMappingURL=ActivityCommentAction-BGREODgE.chunk.mjs.map
|
||||
@ -1 +1 @@ |
||||
{"version":3,"file":"ActivityCommentAction-BjD71twg.chunk.mjs","sources":["../build/frontend/apps/comments/src/views/ActivityCommentAction.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<CommentEntry\n\t\tv-bind=\"editorData\"\n\t\t:autoComplete=\"autoComplete\"\n\t\t:resourceType=\"resourceType\"\n\t\t:editor=\"true\"\n\t\t:userData=\"userData\"\n\t\t:resourceId=\"resourceId\"\n\t\tclass=\"comments-action\"\n\t\t@new=\"onNewComment\" />\n</template>\n\n<script lang=\"ts\">\nimport { showError } from '@nextcloud/dialogs'\nimport { t } from '@nextcloud/l10n'\nimport { defineComponent } from 'vue'\nimport CommentEntry from '../components/CommentEntry.vue'\nimport logger from '../logger.ts'\nimport CommentView from '../mixins/CommentView.ts'\n\nexport default defineComponent({\n\tcomponents: {\n\t\tCommentEntry,\n\t},\n\n\tmixins: [CommentView],\n\tprops: {\n\t\treloadCallback: {\n\t\t\ttype: Function,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonNewComment() {\n\t\t\ttry {\n\t\t\t\t// just force reload\n\t\t\t\tthis.reloadCallback()\n\t\t\t} catch (error) {\n\t\t\t\tshowError(t('comments', 'Could not reload comments'))\n\t\t\t\tlogger.error('Could not reload comments', { error })\n\t\t\t}\n\t\t},\n\t},\n})\n</script>\n\n<style scoped>\n.comments-action {\n\tpadding: 0;\n}\n</style>\n"],"names":["_sfc_main","defineComponent","CommentEntry","CommentView","error","showError","t","logger","_createBlock","_component_CommentEntry","_mergeProps","_ctx"],"mappings":"o2CAyBA,MAAAA,EAAeC,EAAgB,CAC9B,WAAY,CACX,aAAAC,CAAA,EAGD,OAAQ,CAACC,CAAW,EACpB,MAAO,CACN,eAAgB,CACf,KAAM,SACN,SAAU,EAAA,CACX,EAGD,QAAS,CACR,cAAe,CACd,GAAI,CAEH,KAAK,eAAA,CACN,OAASC,EAAO,CACfC,EAAUC,EAAE,WAAY,2BAA2B,CAAC,EACpDC,EAAO,MAAM,4BAA6B,CAAE,MAAAH,CAAA,CAAO,CACpD,CACD,CAAA,CAEF,CAAC,+DA3CAI,EAQuBC,EARvBC,EAQuBC,EAPd,WAAU,CACjB,aAAcA,EAAA,aACd,aAAcA,EAAA,aACd,OAAQ,GACR,SAAUA,EAAA,SACV,WAAYA,EAAA,WACb,MAAM,kBACL,MAAKA,EAAA,YAAA,CAAA,EAAA,KAAA,GAAA,CAAA,eAAA,eAAA,WAAA,aAAA,OAAA,CAAA"} |
||||
{"version":3,"file":"ActivityCommentAction-BGREODgE.chunk.mjs","sources":["../build/frontend/apps/comments/src/views/ActivityCommentAction.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<CommentEntry\n\t\tv-bind=\"editorData\"\n\t\t:autoComplete=\"autoComplete\"\n\t\t:resourceType=\"resourceType\"\n\t\t:editor=\"true\"\n\t\t:userData=\"userData\"\n\t\t:resourceId=\"resourceId\"\n\t\tclass=\"comments-action\"\n\t\t@new=\"onNewComment\" />\n</template>\n\n<script lang=\"ts\">\nimport { showError } from '@nextcloud/dialogs'\nimport { t } from '@nextcloud/l10n'\nimport { defineComponent } from 'vue'\nimport CommentEntry from '../components/CommentEntry.vue'\nimport logger from '../logger.ts'\nimport CommentView from '../mixins/CommentView.ts'\n\nexport default defineComponent({\n\tcomponents: {\n\t\tCommentEntry,\n\t},\n\n\tmixins: [CommentView],\n\tprops: {\n\t\treloadCallback: {\n\t\t\ttype: Function,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonNewComment() {\n\t\t\ttry {\n\t\t\t\t// just force reload\n\t\t\t\tthis.reloadCallback()\n\t\t\t} catch (error) {\n\t\t\t\tshowError(t('comments', 'Could not reload comments'))\n\t\t\t\tlogger.error('Could not reload comments', { error })\n\t\t\t}\n\t\t},\n\t},\n})\n</script>\n\n<style scoped>\n.comments-action {\n\tpadding: 0;\n}\n</style>\n"],"names":["_sfc_main","defineComponent","CommentEntry","CommentView","error","showError","t","logger","_createBlock","_component_CommentEntry","_mergeProps","_ctx"],"mappings":"o2CAyBA,MAAAA,EAAeC,EAAgB,CAC9B,WAAY,CACX,aAAAC,CAAA,EAGD,OAAQ,CAACC,CAAW,EACpB,MAAO,CACN,eAAgB,CACf,KAAM,SACN,SAAU,EAAA,CACX,EAGD,QAAS,CACR,cAAe,CACd,GAAI,CAEH,KAAK,eAAA,CACN,OAASC,EAAO,CACfC,EAAUC,EAAE,WAAY,2BAA2B,CAAC,EACpDC,EAAO,MAAM,4BAA6B,CAAE,MAAAH,CAAA,CAAO,CACpD,CACD,CAAA,CAEF,CAAC,+DA3CAI,EAQuBC,EARvBC,EAQuBC,EAPd,WAAU,CACjB,aAAcA,EAAA,aACd,aAAcA,EAAA,aACd,OAAQ,GACR,SAAUA,EAAA,SACV,WAAYA,EAAA,WACb,MAAM,kBACL,MAAKA,EAAA,YAAA,CAAA,EAAA,KAAA,GAAA,CAAA,eAAA,eAAA,WAAA,aAAA,OAAA,CAAA"} |
||||
@ -1,2 +1,2 @@ |
||||
import{t as s}from"./translation-DoG5ZELJ-hYauSqYO.chunk.mjs";import{C as p,a as i}from"./CommentView-CPZtmu56.chunk.mjs";import{_ as a}from"./public-C1mLBHT3.chunk.mjs";import{r as n,o as c,c as u,m as d}from"./Web-Cti_s7Nd.chunk.mjs";import"./index-kP1pdrFW.chunk.mjs";import"./PencilOutline-rDieoUFC.chunk.mjs";import"./logger-D3RVzcfQ-C7aw_g9X.chunk.mjs";import"./createElementId-DhjFt1I9-DyhKY9_Z.chunk.mjs";import"./NcModal-DiDvgcU8-Byn0vO0C.chunk.mjs";import"./NcActionSeparator-B9pNQaji-Oo0JJDSn.chunk.mjs";import"./NcAvatar-1KxMUN7V-B2YSKjzX.chunk.mjs";import"./index-B1wP8tlr.chunk.mjs";import"./util-C9Hc1fff.chunk.mjs";import"./ArrowRight-Bmx0uKvc.chunk.mjs";import"./colors-Cv9F-jWS-xyX99ako.chunk.mjs";import"./NcUserStatusIcon-BF5OEQFU-mN2bb1uW.chunk.mjs";import"./NcActionLink-BFiaYt9A-C1NepubF.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7-BfjdLGR6.chunk.mjs";import"./NcActionText-CQ9qwJ0p-B9DxMewk.chunk.mjs";import"./Check-BCcekaS6.chunk.mjs";import"./NcUserBubble-BXR7vT0V-D3Ki-x4R.chunk.mjs";import"./TrashCanOutline--zyyOtWX.chunk.mjs";import"./index-Czc5GTr1.chunk.mjs";import"./mdi-BmXSqhBI.chunk.mjs";import"./activity-CAMqbip4.chunk.mjs";import"./GetComments-KeOYs-CY.chunk.mjs";import"./index-CdlgfEAJ.chunk.mjs";import"./dav-7lRRXOj7.chunk.mjs";import"./externalStorageUtils-C3askeL2.chunk.mjs";const l={name:"ActivityCommentEntry",components:{CommentEntry:i},mixins:[p],props:{comment:{type:Object,required:!0},reloadCallback:{type:Function,required:!0}},data(){return{commentMessage:""}},watch:{comment(){this.commentMessage=this.comment.props.message}},mounted(){this.commentMessage=this.comment.props.message},methods:{t:s}};function g(t,e,o,y,m,C){const r=n("CommentEntry");return c(),u(r,d({ref:"comment",tag:"li"},o.comment.props,{autoComplete:t.autoComplete,resourceType:t.resourceType,message:m.commentMessage,resourceId:t.resourceId,userData:t.genMentionsData(o.comment.props.mentions),class:"comments-activity",onDelete:e[0]||(e[0]=f=>o.reloadCallback())}),null,16,["autoComplete","resourceType","message","resourceId","userData"])}const U=a(l,[["render",g],["__scopeId","data-v-2d51dbfd"]]);export{U as default}; |
||||
//# sourceMappingURL=ActivityCommentEntry-kkC863af.chunk.mjs.map
|
||||
import{t as s}from"./translation-DoG5ZELJ-hYauSqYO.chunk.mjs";import{C as p,a as i}from"./CommentView-B6IRjKQM.chunk.mjs";import{_ as a}from"./public-C1mLBHT3.chunk.mjs";import{r as n,o as c,c as u,m as d}from"./Web-Cti_s7Nd.chunk.mjs";import"./index-kP1pdrFW.chunk.mjs";import"./PencilOutline-rDieoUFC.chunk.mjs";import"./logger-D3RVzcfQ-C7aw_g9X.chunk.mjs";import"./createElementId-DhjFt1I9-DyhKY9_Z.chunk.mjs";import"./NcModal-DiDvgcU8-Byn0vO0C.chunk.mjs";import"./NcActionSeparator-B9pNQaji-Oo0JJDSn.chunk.mjs";import"./NcAvatar-1KxMUN7V-B2YSKjzX.chunk.mjs";import"./index-B1wP8tlr.chunk.mjs";import"./util-C9Hc1fff.chunk.mjs";import"./ArrowRight-Bmx0uKvc.chunk.mjs";import"./colors-Cv9F-jWS-xyX99ako.chunk.mjs";import"./NcUserStatusIcon-BF5OEQFU-mN2bb1uW.chunk.mjs";import"./NcActionLink-BFiaYt9A-C1NepubF.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7-BfjdLGR6.chunk.mjs";import"./NcActionText-CQ9qwJ0p-B9DxMewk.chunk.mjs";import"./Check-BCcekaS6.chunk.mjs";import"./NcUserBubble-BXR7vT0V-D3Ki-x4R.chunk.mjs";import"./TrashCanOutline--zyyOtWX.chunk.mjs";import"./index-Czc5GTr1.chunk.mjs";import"./mdi-BmXSqhBI.chunk.mjs";import"./activity-CAMqbip4.chunk.mjs";import"./GetComments-B6BH90pa.chunk.mjs";import"./index-CdlgfEAJ.chunk.mjs";import"./dav-7lRRXOj7.chunk.mjs";import"./externalStorageUtils-C3askeL2.chunk.mjs";const l={name:"ActivityCommentEntry",components:{CommentEntry:i},mixins:[p],props:{comment:{type:Object,required:!0},reloadCallback:{type:Function,required:!0}},data(){return{commentMessage:""}},watch:{comment(){this.commentMessage=this.comment.props.message}},mounted(){this.commentMessage=this.comment.props.message},methods:{t:s}};function g(t,e,o,y,m,C){const r=n("CommentEntry");return c(),u(r,d({ref:"comment",tag:"li"},o.comment.props,{autoComplete:t.autoComplete,resourceType:t.resourceType,message:m.commentMessage,resourceId:t.resourceId,userData:t.genMentionsData(o.comment.props.mentions),class:"comments-activity",onDelete:e[0]||(e[0]=f=>o.reloadCallback())}),null,16,["autoComplete","resourceType","message","resourceId","userData"])}const U=a(l,[["render",g],["__scopeId","data-v-2d51dbfd"]]);export{U as default}; |
||||
//# sourceMappingURL=ActivityCommentEntry-kE58VsGV.chunk.mjs.map
|
||||
@ -1 +1 @@ |
||||
{"version":3,"file":"ActivityCommentEntry-kkC863af.chunk.mjs","sources":["../build/frontend/apps/comments/src/views/ActivityCommentEntry.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<CommentEntry\n\t\tref=\"comment\"\n\t\ttag=\"li\"\n\t\tv-bind=\"comment.props\"\n\t\t:autoComplete=\"autoComplete\"\n\t\t:resourceType=\"resourceType\"\n\t\t:message=\"commentMessage\"\n\t\t:resourceId=\"resourceId\"\n\t\t:userData=\"genMentionsData(comment.props.mentions)\"\n\t\tclass=\"comments-activity\"\n\t\t@delete=\"reloadCallback()\" />\n</template>\n\n<script lang=\"ts\">\nimport type { PropType } from 'vue'\n\nimport { t } from '@nextcloud/l10n'\nimport CommentEntry from '../components/CommentEntry.vue'\nimport CommentView from '../mixins/CommentView.ts'\n\nexport default {\n\tname: 'ActivityCommentEntry',\n\n\tcomponents: {\n\t\tCommentEntry,\n\t},\n\n\tmixins: [CommentView],\n\tprops: {\n\t\tcomment: {\n\t\t\ttype: Object,\n\t\t\trequired: true,\n\t\t},\n\n\t\treloadCallback: {\n\t\t\ttype: Function as PropType<() => void>,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tcommentMessage: '',\n\t\t}\n\t},\n\n\twatch: {\n\t\tcomment() {\n\t\t\tthis.commentMessage = this.comment.props.message\n\t\t},\n\t},\n\n\tmounted() {\n\t\tthis.commentMessage = this.comment.props.message\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n}\n</script>\n\n<style scoped>\n.comments-activity {\n\tpadding: 0;\n}\n</style>\n"],"names":["_sfc_main","CommentEntry","CommentView","t","_openBlock","_createBlock","_component_CommentEntry","_mergeProps","$props","_ctx","$data","_cache"],"mappings":"00CA0BA,MAAAA,EAAe,CACd,KAAM,uBAEN,WAAY,CACX,aAAAC,CAAA,EAGD,OAAQ,CAACC,CAAW,EACpB,MAAO,CACN,QAAS,CACR,KAAM,OACN,SAAU,EAAA,EAGX,eAAgB,CACf,KAAM,SACN,SAAU,EAAA,CACX,EAGD,MAAO,CACN,MAAO,CACN,eAAgB,EAAA,CAElB,EAEA,MAAO,CACN,SAAU,CACT,KAAK,eAAiB,KAAK,QAAQ,MAAM,OAC1C,CAAA,EAGD,SAAU,CACT,KAAK,eAAiB,KAAK,QAAQ,MAAM,OAC1C,EAEA,QAAS,CAAA,EACRC,CAAA,CAEF,oDA3DC,OAAAC,EAAA,EAAAC,EAU8BC,EAV9BC,EAU8B,CAT7B,IAAI,UACJ,IAAI,IAAA,EACIC,UAAQ,MAAK,CACpB,aAAcC,EAAA,aACd,aAAcA,EAAA,aACd,QAASC,EAAA,eACT,WAAYD,EAAA,WACZ,SAAUA,EAAA,gBAAgBD,EAAA,QAAQ,MAAM,QAAQ,EACjD,MAAM,oBACL,SAAMG,eAAEH,EAAA,eAAA,EAAc,CAAA,EAAA,KAAA,GAAA,CAAA,eAAA,eAAA,UAAA,aAAA,UAAA,CAAA"} |
||||
{"version":3,"file":"ActivityCommentEntry-kE58VsGV.chunk.mjs","sources":["../build/frontend/apps/comments/src/views/ActivityCommentEntry.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<CommentEntry\n\t\tref=\"comment\"\n\t\ttag=\"li\"\n\t\tv-bind=\"comment.props\"\n\t\t:autoComplete=\"autoComplete\"\n\t\t:resourceType=\"resourceType\"\n\t\t:message=\"commentMessage\"\n\t\t:resourceId=\"resourceId\"\n\t\t:userData=\"genMentionsData(comment.props.mentions)\"\n\t\tclass=\"comments-activity\"\n\t\t@delete=\"reloadCallback()\" />\n</template>\n\n<script lang=\"ts\">\nimport type { PropType } from 'vue'\n\nimport { t } from '@nextcloud/l10n'\nimport CommentEntry from '../components/CommentEntry.vue'\nimport CommentView from '../mixins/CommentView.ts'\n\nexport default {\n\tname: 'ActivityCommentEntry',\n\n\tcomponents: {\n\t\tCommentEntry,\n\t},\n\n\tmixins: [CommentView],\n\tprops: {\n\t\tcomment: {\n\t\t\ttype: Object,\n\t\t\trequired: true,\n\t\t},\n\n\t\treloadCallback: {\n\t\t\ttype: Function as PropType<() => void>,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tcommentMessage: '',\n\t\t}\n\t},\n\n\twatch: {\n\t\tcomment() {\n\t\t\tthis.commentMessage = this.comment.props.message\n\t\t},\n\t},\n\n\tmounted() {\n\t\tthis.commentMessage = this.comment.props.message\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n}\n</script>\n\n<style scoped>\n.comments-activity {\n\tpadding: 0;\n}\n</style>\n"],"names":["_sfc_main","CommentEntry","CommentView","t","_openBlock","_createBlock","_component_CommentEntry","_mergeProps","$props","_ctx","$data","_cache"],"mappings":"00CA0BA,MAAAA,EAAe,CACd,KAAM,uBAEN,WAAY,CACX,aAAAC,CAAA,EAGD,OAAQ,CAACC,CAAW,EACpB,MAAO,CACN,QAAS,CACR,KAAM,OACN,SAAU,EAAA,EAGX,eAAgB,CACf,KAAM,SACN,SAAU,EAAA,CACX,EAGD,MAAO,CACN,MAAO,CACN,eAAgB,EAAA,CAElB,EAEA,MAAO,CACN,SAAU,CACT,KAAK,eAAiB,KAAK,QAAQ,MAAM,OAC1C,CAAA,EAGD,SAAU,CACT,KAAK,eAAiB,KAAK,QAAQ,MAAM,OAC1C,EAEA,QAAS,CAAA,EACRC,CAAA,CAEF,oDA3DC,OAAAC,EAAA,EAAAC,EAU8BC,EAV9BC,EAU8B,CAT7B,IAAI,UACJ,IAAI,IAAA,EACIC,UAAQ,MAAK,CACpB,aAAcC,EAAA,aACd,aAAcA,EAAA,aACd,QAASC,EAAA,eACT,WAAYD,EAAA,WACZ,SAAUA,EAAA,gBAAgBD,EAAA,QAAQ,MAAM,QAAQ,EACjD,MAAM,oBACL,SAAMG,eAAEH,EAAA,eAAA,EAAc,CAAA,EAAA,KAAA,GAAA,CAAA,eAAA,eAAA,UAAA,aAAA,UAAA,CAAA"} |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@ |
||||
import{l as o}from"./activity-CAMqbip4.chunk.mjs";import{a as m,t as s}from"./translation-DoG5ZELJ-hYauSqYO.chunk.mjs";import{e as r,f as n}from"./Web-Cti_s7Nd.chunk.mjs";import{C as a}from"./FilesSidebarTab-Ct3ErPRq.chunk.mjs";import"./index-kP1pdrFW.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./index-Czc5GTr1.chunk.mjs";import"./mdi-BmXSqhBI.chunk.mjs";import"./NcModal-DiDvgcU8-Byn0vO0C.chunk.mjs";import"./logger-D3RVzcfQ-C7aw_g9X.chunk.mjs";import"./createElementId-DhjFt1I9-DyhKY9_Z.chunk.mjs";import"./Check-BCcekaS6.chunk.mjs";import"./TrashCanOutline--zyyOtWX.chunk.mjs";import"./NcAvatar-1KxMUN7V-B2YSKjzX.chunk.mjs";import"./index-B1wP8tlr.chunk.mjs";import"./util-C9Hc1fff.chunk.mjs";import"./ArrowRight-Bmx0uKvc.chunk.mjs";import"./colors-Cv9F-jWS-xyX99ako.chunk.mjs";import"./NcUserStatusIcon-BF5OEQFU-mN2bb1uW.chunk.mjs";import"./PencilOutline-rDieoUFC.chunk.mjs";import"./NcActionLink-BFiaYt9A-C1NepubF.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7-BfjdLGR6.chunk.mjs";import"./NcActionText-CQ9qwJ0p-B9DxMewk.chunk.mjs";import"./NcEmptyContent-CGAPqk4S-DJ76qsaH.chunk.mjs";import"./CommentView-CPZtmu56.chunk.mjs";import"./NcActionSeparator-B9pNQaji-Oo0JJDSn.chunk.mjs";import"./NcUserBubble-BXR7vT0V-D3Ki-x4R.chunk.mjs";import"./GetComments-KeOYs-CY.chunk.mjs";import"./index-CdlgfEAJ.chunk.mjs";import"./dav-7lRRXOj7.chunk.mjs";import"./externalStorageUtils-C3askeL2.chunk.mjs";class e{app;instance;constructor(t="files",i={}){const p=r();this.app=n(a,{...i.propsData??{},...i.props??{},resourceType:t}),this.app.mixin({data(){return{logger:o}},methods:{t:s,n:m}}),this.app.use(p),i.el&&(this.instance=this.app.mount(i.el))}$mount(t){this.instance&&this.app.unmount(),this.instance=this.app.mount(t)}$unmount(){this.app.unmount(),this.instance=void 0}update(t){this.instance&&this.instance.update(t)}}window.OCA&&!window.OCA.Comments&&Object.assign(window.OCA,{Comments:{}}),Object.assign(window.OCA.Comments,{View:e}),o.debug("OCA.Comments.View initialized"); |
||||
import{l as o}from"./activity-CAMqbip4.chunk.mjs";import{a as m,t as s}from"./translation-DoG5ZELJ-hYauSqYO.chunk.mjs";import{e as r,f as n}from"./Web-Cti_s7Nd.chunk.mjs";import{C as a}from"./FilesSidebarTab-BSTJH6wM.chunk.mjs";import"./index-kP1pdrFW.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./index-Czc5GTr1.chunk.mjs";import"./mdi-BmXSqhBI.chunk.mjs";import"./NcModal-DiDvgcU8-Byn0vO0C.chunk.mjs";import"./logger-D3RVzcfQ-C7aw_g9X.chunk.mjs";import"./createElementId-DhjFt1I9-DyhKY9_Z.chunk.mjs";import"./Check-BCcekaS6.chunk.mjs";import"./TrashCanOutline--zyyOtWX.chunk.mjs";import"./NcAvatar-1KxMUN7V-B2YSKjzX.chunk.mjs";import"./index-B1wP8tlr.chunk.mjs";import"./util-C9Hc1fff.chunk.mjs";import"./ArrowRight-Bmx0uKvc.chunk.mjs";import"./colors-Cv9F-jWS-xyX99ako.chunk.mjs";import"./NcUserStatusIcon-BF5OEQFU-mN2bb1uW.chunk.mjs";import"./PencilOutline-rDieoUFC.chunk.mjs";import"./NcActionLink-BFiaYt9A-C1NepubF.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-BJuPH7S7-BfjdLGR6.chunk.mjs";import"./NcActionText-CQ9qwJ0p-B9DxMewk.chunk.mjs";import"./NcEmptyContent-CGAPqk4S-DJ76qsaH.chunk.mjs";import"./CommentView-B6IRjKQM.chunk.mjs";import"./NcActionSeparator-B9pNQaji-Oo0JJDSn.chunk.mjs";import"./NcUserBubble-BXR7vT0V-D3Ki-x4R.chunk.mjs";import"./GetComments-B6BH90pa.chunk.mjs";import"./index-CdlgfEAJ.chunk.mjs";import"./dav-7lRRXOj7.chunk.mjs";import"./externalStorageUtils-C3askeL2.chunk.mjs";class e{app;instance;constructor(t="files",i={}){const p=r();this.app=n(a,{...i.propsData??{},...i.props??{},resourceType:t}),this.app.mixin({data(){return{logger:o}},methods:{t:s,n:m}}),this.app.use(p),i.el&&(this.instance=this.app.mount(i.el))}$mount(t){this.instance&&this.app.unmount(),this.instance=this.app.mount(t)}$unmount(){this.app.unmount(),this.instance=void 0}update(t){this.instance&&this.instance.update(t)}}window.OCA&&!window.OCA.Comments&&Object.assign(window.OCA,{Comments:{}}),Object.assign(window.OCA.Comments,{View:e}),o.debug("OCA.Comments.View initialized"); |
||||
//# sourceMappingURL=comments-comments-app.mjs.map
|
||||
|
||||
@ -1,3 +1,3 @@ |
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/ActivityCommentAction-BjD71twg.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Czc5GTr1.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-Cti_s7Nd.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BmXSqhBI.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-DiDvgcU8-Byn0vO0C.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-C7aw_g9X.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-DyhKY9_Z.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-hYauSqYO.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-BCcekaS6.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--zyyOtWX.chunk.mjs'),window.OC.filePath('', '', 'dist/common-TrashCanOutline-BWNFKLbC.chunk.css'),window.OC.filePath('', '', 'dist/CommentView-CPZtmu56.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-rDieoUFC.chunk.mjs'),window.OC.filePath('', '', 'dist/common-PencilOutline-B3DMd8SU.chunk.css'),window.OC.filePath('', '', 'dist/NcActionSeparator-B9pNQaji-Oo0JJDSn.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcActionSeparator-B9pNQaji-pXJ_-D_I.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-1KxMUN7V-B2YSKjzX.chunk.mjs'),window.OC.filePath('', '', 'dist/index-B1wP8tlr.chunk.mjs'),window.OC.filePath('', '', 'dist/util-C9Hc1fff.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-Bmx0uKvc.chunk.mjs'),window.OC.filePath('', '', 'dist/common-ArrowRight-DfvWJUh_.chunk.css'),window.OC.filePath('', '', 'dist/colors-Cv9F-jWS-xyX99ako.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-BF5OEQFU-mN2bb1uW.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserStatusIcon-BF5OEQFU-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcActionLink-BFiaYt9A-C1NepubF.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-BfjdLGR6.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcDateTime-_F7sgjOt.chunk.css'),window.OC.filePath('', '', 'dist/NcActionText-CQ9qwJ0p-B9DxMewk.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-D3Ki-x4R.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-KeOYs-CY.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CdlgfEAJ.chunk.mjs'),window.OC.filePath('', '', 'dist/dav-7lRRXOj7.chunk.mjs'),window.OC.filePath('', '', 'dist/externalStorageUtils-C3askeL2.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-kkC863af.chunk.mjs'),window.OC.filePath('', '', 'dist/comments-ActivityCommentEntry-DkLG8AtJ.chunk.css'),window.OC.filePath('', '', 'dist/FilesSidebarTab-Ct3ErPRq.chunk.mjs'),window.OC.filePath('', '', 'dist/NcEmptyContent-CGAPqk4S-DJ76qsaH.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcEmptyContent-CGAPqk4S-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-Cti_s7Nd.chunk.mjs";import{r as _}from"./index-CPYrD684.chunk.mjs";import{t as g}from"./translation-DoG5ZELJ-hYauSqYO.chunk.mjs";import{l as r,i as A}from"./activity-CAMqbip4.chunk.mjs";import{g as v}from"./GetComments-KeOYs-CY.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./externalStorageUtils-C3askeL2.chunk.mjs";import"./index-kP1pdrFW.chunk.mjs";import"./util-C9Hc1fff.chunk.mjs";import"./index-CdlgfEAJ.chunk.mjs";import"./dav-7lRRXOj7.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-BjD71twg.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-kkC863af.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-Ct3ErPRq.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)}}); |
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/ActivityCommentAction-BGREODgE.chunk.mjs'),window.OC.filePath('', '', 'dist/index-Czc5GTr1.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-Cti_s7Nd.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/mdi-BmXSqhBI.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-DiDvgcU8-Byn0vO0C.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-D3RVzcfQ-C7aw_g9X.chunk.mjs'),window.OC.filePath('', '', 'dist/createElementId-DhjFt1I9-DyhKY9_Z.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-hYauSqYO.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-BCcekaS6.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--zyyOtWX.chunk.mjs'),window.OC.filePath('', '', 'dist/common-TrashCanOutline-BWNFKLbC.chunk.css'),window.OC.filePath('', '', 'dist/CommentView-B6IRjKQM.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-rDieoUFC.chunk.mjs'),window.OC.filePath('', '', 'dist/common-PencilOutline-B3DMd8SU.chunk.css'),window.OC.filePath('', '', 'dist/NcActionSeparator-B9pNQaji-Oo0JJDSn.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcActionSeparator-B9pNQaji-pXJ_-D_I.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-1KxMUN7V-B2YSKjzX.chunk.mjs'),window.OC.filePath('', '', 'dist/index-B1wP8tlr.chunk.mjs'),window.OC.filePath('', '', 'dist/util-C9Hc1fff.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-Bmx0uKvc.chunk.mjs'),window.OC.filePath('', '', 'dist/common-ArrowRight-DfvWJUh_.chunk.css'),window.OC.filePath('', '', 'dist/colors-Cv9F-jWS-xyX99ako.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-BF5OEQFU-mN2bb1uW.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserStatusIcon-BF5OEQFU-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcActionLink-BFiaYt9A-C1NepubF.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-BfjdLGR6.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcDateTime-_F7sgjOt.chunk.css'),window.OC.filePath('', '', 'dist/NcActionText-CQ9qwJ0p-B9DxMewk.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-D3Ki-x4R.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-B6BH90pa.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CdlgfEAJ.chunk.mjs'),window.OC.filePath('', '', 'dist/dav-7lRRXOj7.chunk.mjs'),window.OC.filePath('', '', 'dist/externalStorageUtils-C3askeL2.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-kE58VsGV.chunk.mjs'),window.OC.filePath('', '', 'dist/comments-ActivityCommentEntry-DkLG8AtJ.chunk.css'),window.OC.filePath('', '', 'dist/FilesSidebarTab-BSTJH6wM.chunk.mjs'),window.OC.filePath('', '', 'dist/NcEmptyContent-CGAPqk4S-DJ76qsaH.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcEmptyContent-CGAPqk4S-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-Cti_s7Nd.chunk.mjs";import{r as _}from"./index-CPYrD684.chunk.mjs";import{t as g}from"./translation-DoG5ZELJ-hYauSqYO.chunk.mjs";import{l as r,i as A}from"./activity-CAMqbip4.chunk.mjs";import{g as v}from"./GetComments-B6BH90pa.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./externalStorageUtils-C3askeL2.chunk.mjs";import"./index-kP1pdrFW.chunk.mjs";import"./util-C9Hc1fff.chunk.mjs";import"./index-CdlgfEAJ.chunk.mjs";import"./dav-7lRRXOj7.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-BGREODgE.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-kE58VsGV.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-BSTJH6wM.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
|
||||
|
||||
Loading…
Reference in new issue