-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Expand file tree
/
Copy pathActivityCommentAction-Bzf9zfI3.chunk.mjs.map
More file actions
1 lines (1 loc) · 2.04 KB
/
ActivityCommentAction-Bzf9zfI3.chunk.mjs.map
File metadata and controls
1 lines (1 loc) · 2.04 KB
1
{"version":3,"file":"ActivityCommentAction-Bzf9zfI3.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<Comment\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 Comment from '../components/Comment.vue'\nimport logger from '../logger.ts'\nimport CommentView from '../mixins/CommentView.ts'\n\nexport default defineComponent({\n\tcomponents: {\n\t\tComment,\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","Comment","CommentView","error","showError","t","logger","_createBlock","_component_Comment","_mergeProps","_ctx"],"mappings":"uqCAyBA,MAAAA,EAAeC,EAAgB,CAC9B,WAAY,CACX,QAAAC,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,0DA3CAI,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"}