chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
nextcloud-command 2026-05-26 08:18:20 +00:00
parent 4f2fdcacb9
commit ff1637b0de
101 changed files with 105 additions and 107 deletions

View file

@ -1,2 +1,2 @@
import{a as t}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import{t as e}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{C as m,a}from"./CommentView-BviNYZ77.chunk.mjs";import{l as p}from"./activity-CS_yDSTQ.chunk.mjs";import{b as i,r as s,o as n,c,m as u}from"./preload-helper-BByimXjD.chunk.mjs";import{_ as l}from"./public-C1mLBHT3.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./pinia-CjL5y06H.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";/* empty css */import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./index-COpU9qvO.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";import"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import"./GetComments-Di3IqcIJ.chunk.mjs";import"./index-D74jx3re.chunk.mjs";const d=i({components:{Comment:a},mixins:[m],props:{reloadCallback:{type:Function,required:!0}},methods:{onNewComment(){try{this.reloadCallback()}catch(o){t(e("comments","Could not reload comments")),p.error("Could not reload comments",{error:o})}}}});function C(o,f,y,w,D,N){const r=s("Comment");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 R=l(d,[["render",C],["__scopeId","data-v-29a1e244"]]);export{R as default};
//# sourceMappingURL=ActivityCommentAction-4Z_gsB_Z.chunk.mjs.map
import{a as t}from"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import{t as e}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{C as m,a}from"./CommentView-BWs00COP.chunk.mjs";import{l as p}from"./activity-CS_yDSTQ.chunk.mjs";import{b as i,r as s,o as n,c,m as u}from"./preload-helper-BByimXjD.chunk.mjs";import{_ as l}from"./public-C1mLBHT3.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./pinia-CjL5y06H.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";/* empty css */import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./index-COpU9qvO.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";import"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import"./GetComments-Dy7uLqLM.chunk.mjs";import"./index-dJbKiCqw.chunk.mjs";const d=i({components:{Comment:a},mixins:[m],props:{reloadCallback:{type:Function,required:!0}},methods:{onNewComment(){try{this.reloadCallback()}catch(o){t(e("comments","Could not reload comments")),p.error("Could not reload comments",{error:o})}}}});function C(o,f,y,w,D,N){const r=s("Comment");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 R=l(d,[["render",C],["__scopeId","data-v-29a1e244"]]);export{R as default};
//# sourceMappingURL=ActivityCommentAction-BvYUJtzY.chunk.mjs.map

View file

@ -1 +1 @@
{"version":3,"file":"ActivityCommentAction-4Z_gsB_Z.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":"2pCAyBA,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"}
{"version":3,"file":"ActivityCommentAction-BvYUJtzY.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":"2pCAyBA,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"}

View file

@ -1,2 +1,2 @@
import{t as s}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{C as p,a}from"./CommentView-BviNYZ77.chunk.mjs";import{_ as i}from"./public-C1mLBHT3.chunk.mjs";import{r as n,o as c,c as u,m as l}from"./preload-helper-BByimXjD.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./pinia-CjL5y06H.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";/* empty css */import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./index-COpU9qvO.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./activity-CS_yDSTQ.chunk.mjs";import"./GetComments-Di3IqcIJ.chunk.mjs";import"./index-D74jx3re.chunk.mjs";const d={name:"ActivityCommentEntry",components:{Comment:a},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,o,e,f,m,C){const r=n("Comment");return c(),u(r,l({ref:"comment",tag:"li"},e.comment.props,{autoComplete:t.autoComplete,resourceType:t.resourceType,message:m.commentMessage,resourceId:t.resourceId,userData:t.genMentionsData(e.comment.props.mentions),class:"comments-activity",onDelete:o[0]||(o[0]=y=>e.reloadCallback())}),null,16,["autoComplete","resourceType","message","resourceId","userData"])}const P=i(d,[["render",g],["__scopeId","data-v-afc310f1"]]);export{P as default};
//# sourceMappingURL=ActivityCommentEntry-CfTf0_m2.chunk.mjs.map
import{t as s}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{C as p,a}from"./CommentView-BWs00COP.chunk.mjs";import{_ as i}from"./public-C1mLBHT3.chunk.mjs";import{r as n,o as c,c as u,m as l}from"./preload-helper-BByimXjD.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./pinia-CjL5y06H.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";/* empty css */import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./index-COpU9qvO.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./activity-CS_yDSTQ.chunk.mjs";import"./GetComments-Dy7uLqLM.chunk.mjs";import"./index-dJbKiCqw.chunk.mjs";const d={name:"ActivityCommentEntry",components:{Comment:a},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,o,e,f,m,C){const r=n("Comment");return c(),u(r,l({ref:"comment",tag:"li"},e.comment.props,{autoComplete:t.autoComplete,resourceType:t.resourceType,message:m.commentMessage,resourceId:t.resourceId,userData:t.genMentionsData(e.comment.props.mentions),class:"comments-activity",onDelete:o[0]||(o[0]=y=>e.reloadCallback())}),null,16,["autoComplete","resourceType","message","resourceId","userData"])}const P=i(d,[["render",g],["__scopeId","data-v-afc310f1"]]);export{P as default};
//# sourceMappingURL=ActivityCommentEntry-U_TnZbQ7.chunk.mjs.map

View file

@ -1 +1 @@
{"version":3,"file":"ActivityCommentEntry-CfTf0_m2.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<Comment\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 Comment from '../components/Comment.vue'\nimport CommentView from '../mixins/CommentView.ts'\n\nexport default {\n\tname: 'ActivityCommentEntry',\n\n\tcomponents: {\n\t\tComment,\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","Comment","CommentView","t","_openBlock","_createBlock","_component_Comment","_mergeProps","$props","_ctx","$data","_cache"],"mappings":"ioCA0BA,MAAAA,EAAe,CACd,KAAM,uBAEN,WAAY,CACX,QAAAC,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,+CA3DC,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-U_TnZbQ7.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<Comment\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 Comment from '../components/Comment.vue'\nimport CommentView from '../mixins/CommentView.ts'\n\nexport default {\n\tname: 'ActivityCommentEntry',\n\n\tcomponents: {\n\t\tComment,\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","Comment","CommentView","t","_openBlock","_createBlock","_component_Comment","_mergeProps","$props","_ctx","$data","_cache"],"mappings":"ioCA0BA,MAAAA,EAAe,CACd,KAAM,uBAEN,WAAY,CACX,QAAAC,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,+CA3DC,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

View file

@ -1,2 +1,2 @@
import{b as y,n as g,u as l,o as r,c as p,C as h,w as v,j as _,t as V,s as b,z as M,f as d,F as x,B as w,L as K,M as U,k as f,l as j}from"./preload-helper-BByimXjD.chunk.mjs";import{c as q}from"./index-COpU9qvO.chunk.mjs";import{a as L}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{b as N}from"./index-CziSTDUD.chunk.mjs";import{N as S}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as z}from"./index-C8_Me_Lb.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-D0gFwEVl-CVdipCjx.chunk.mjs";import{N as B}from"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import{_ as C}from"./NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-B-_jVAzM.chunk.mjs";import{a as c,C as k}from"./types-Tl0syaH7.chunk.mjs";import{l as E}from"./logger-DHe_YI70.chunk.mjs";const P=y({__name:"ConfigurationEntry",props:b({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=g(e,"modelValue");return(t,i)=>e.configOption.type!==l(c).Boolean?(r(),p(h(e.configOption.type===l(c).Password?l(B):l(C)),{key:0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=o=>a.value=o),name:e.configKey,required:!(e.configOption.flags&l(k).Optional),label:e.configOption.value,title:e.configOption.tooltip},null,8,["modelValue","name","required","label","title"])):(r(),p(l(A),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=o=>a.value=o),type:"switch",title:e.configOption.tooltip},{default:v(()=>[_(V(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=y({__name:"AuthMechanismRsa",props:b({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=g(e,"modelValue"),t=j();M(t,()=>{t.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:o}=await q.post(N("/apps/files_external/ajax/public_key.php"),{keyLength:t.value});a.value.private_key=o.data.private_key,a.value.public_key=o.data.public_key}catch(o){E.error("Error generating RSA key pair",{error:o}),L(s("files_external","Error generating key pair"))}}return(o,m)=>(r(),d("div",null,[(r(!0),d(x,null,w(e.authMechanism.configuration,(n,u)=>K((r(),p(P,{key:n.value,modelValue:a.value[u],"onUpdate:modelValue":O=>a.value[u]=O,configKey:u,configOption:n},null,8,["modelValue","onUpdate:modelValue","configKey","configOption"])),[[U,!(n.flags&l(k).Hidden)]])),128)),f(l(z),{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=n=>t.value=n),clearable:!1,inputLabel:l(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","inputLabel"]),f(l(S),{disabled:!t.value,wide:"",onClick:i},{default:v(()=>[_(V(l(s)("files_external","Generate keys")),1)]),_:1},8,["disabled"])]))}}),$=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{$ as A,P as _};
//# sourceMappingURL=AuthMechanismRsa-Cy8KY8Lf.chunk.mjs.map
import{b as y,n as g,u as l,o as r,c as p,C as h,w as v,j as _,t as V,s as b,z as M,f as d,F as x,B as w,L as K,M as U,k as f,l as j}from"./preload-helper-BByimXjD.chunk.mjs";import{c as q}from"./index-COpU9qvO.chunk.mjs";import{a as L}from"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import{t as s}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{b as N}from"./index-CziSTDUD.chunk.mjs";import{N as S}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as z}from"./index-C8_Me_Lb.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-D0gFwEVl-CVdipCjx.chunk.mjs";import{N as B}from"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import{_ as C}from"./NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-B-_jVAzM.chunk.mjs";import{a as c,C as k}from"./types-Tl0syaH7.chunk.mjs";import{l as E}from"./logger-DHe_YI70.chunk.mjs";const P=y({__name:"ConfigurationEntry",props:b({configKey:{},configOption:{}},{modelValue:{type:[String,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=g(e,"modelValue");return(t,i)=>e.configOption.type!==l(c).Boolean?(r(),p(h(e.configOption.type===l(c).Password?l(B):l(C)),{key:0,modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=o=>a.value=o),name:e.configKey,required:!(e.configOption.flags&l(k).Optional),label:e.configOption.value,title:e.configOption.tooltip},null,8,["modelValue","name","required","label","title"])):(r(),p(l(A),{key:1,modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=o=>a.value=o),type:"switch",title:e.configOption.tooltip},{default:v(()=>[_(V(e.configOption.value),1)]),_:1},8,["modelValue","title"]))}}),R=y({__name:"AuthMechanismRsa",props:b({authMechanism:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=g(e,"modelValue"),t=j();M(t,()=>{t.value&&(a.value.private_key="",a.value.public_key="")});async function i(){try{const{data:o}=await q.post(N("/apps/files_external/ajax/public_key.php"),{keyLength:t.value});a.value.private_key=o.data.private_key,a.value.public_key=o.data.public_key}catch(o){E.error("Error generating RSA key pair",{error:o}),L(s("files_external","Error generating key pair"))}}return(o,m)=>(r(),d("div",null,[(r(!0),d(x,null,w(e.authMechanism.configuration,(n,u)=>K((r(),p(P,{key:n.value,modelValue:a.value[u],"onUpdate:modelValue":O=>a.value[u]=O,configKey:u,configOption:n},null,8,["modelValue","onUpdate:modelValue","configKey","configOption"])),[[U,!(n.flags&l(k).Hidden)]])),128)),f(l(z),{modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=n=>t.value=n),clearable:!1,inputLabel:l(s)("files_external","Key size"),options:[1024,2048,4096],required:""},null,8,["modelValue","inputLabel"]),f(l(S),{disabled:!t.value,wide:"",onClick:i},{default:v(()=>[_(V(l(s)("files_external","Generate keys")),1)]),_:1},8,["disabled"])]))}}),$=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{$ as A,P as _};
//# sourceMappingURL=AuthMechanismRsa-BmOnw34B.chunk.mjs.map

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

View file

@ -1,2 +1,2 @@
import{b as w,l as h,z as I,o as p,f as y,t as N,u as a,h as D,g as u,k as r,w as d,c as k,m as M,T,F as q,B as z,v as s,G as A}from"./preload-helper-BByimXjD.chunk.mjs";import{f as B,g as F,h as G,i as P}from"./mdi-BWzBLGOK.chunk.mjs";import{t as n}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{N as f}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as g}from"./Web-CSo1f5Mo.chunk.mjs";import{c as S,D as j,u as E}from"./DiscoverTypePost-DV867n2W.chunk.mjs";import{_ as H}from"./public-C1mLBHT3.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./index-DHHu-vDL.chunk.mjs";import"./appstore-main.mjs";import"./pinia-CjL5y06H.chunk.mjs";import"./NcContent-D69ktIEB-Do1I3ElW.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";import"./NcTextArea-CseOD9aM-PEt9mzZE.chunk.mjs";import"./index-C8_Me_Lb.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./TrayArrowDown-CnFJ32oN.chunk.mjs";import"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./index-COpU9qvO.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";import"./NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs";import"./NcBreadcrumbs-5gl8Syfa-1gisCJMA.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import"./NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-B-_jVAzM.chunk.mjs";/* empty css */import"./NcCheckboxRadioSwitch-D0gFwEVl-CVdipCjx.chunk.mjs";import"./Plus-BILsvoex.chunk.mjs";import"./index-DDZs9KSS.chunk.mjs";import"./index-Zww9LWwp.chunk.mjs";import"./NcEmojiPicker-DGgqTnHp-fAGgC6BF.chunk.mjs";import"./emoji-V9hqFgPs-BoVPPNKM.chunk.mjs";import"./index-BxkFOOAm.chunk.mjs";/* empty css */import"./index-DjvuVPm0.chunk.mjs";import"./NcSelectTags-B3_tcJAf-CqkSe7YH.chunk.mjs";import"./ContentCopy-dHKMl-yT.chunk.mjs";import"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";import"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import"./index-Cogf4PrN.chunk.mjs";const J=["aria-roledescription","aria-labelledby"],K=["id"],L={class:"app-discover-carousel__wrapper"},O={class:"app-discover-carousel__button-wrapper"},Q={class:"app-discover-carousel__button-wrapper"},R=["aria-label"],U=w({__name:"DiscoverTypeCarousel",props:{...S,content:{type:Array,required:!0}},setup(m){const t=m,$=E(s(()=>t.headline)),e=h(Math.min(1,t.content.length-1)),c=h(t.content[e.value]),C=s(()=>e.value<t.content.length-1),x=s(()=>e.value>0),l=s(()=>t.id??(Math.random()+1).toString(36).substring(7)),v=s(()=>`${l.value}-h`),b=h("slide-in");return I(()=>e.value,(_,i)=>{_<i?b.value="slide-in":b.value="slide-out",A(()=>{c.value=t.content[e.value]})}),(_,i)=>(p(),y("section",{"aria-roledescription":a(n)("appstore","Carousel"),"aria-labelledby":v.value?`${v.value}`:void 0},[_.headline?(p(),y("h3",{key:0,id:v.value},N(a($)),9,K)):D("",!0),u("div",L,[u("div",O,[r(a(f),{class:"app-discover-carousel__button app-discover-carousel__button--previous",variant:"tertiary-no-background","aria-label":a(n)("appstore","Previous slide"),disabled:!x.value,onClick:i[0]||(i[0]=o=>e.value-=1)},{icon:d(()=>[r(a(g),{path:a(B)},null,8,["path"])]),_:1},8,["aria-label","disabled"])]),r(T,{name:b.value,mode:"out-in"},{default:d(()=>[(p(),k(j,M(c.value,{key:c.value.id??e.value,"aria-labelledby":`${l.value}-tab-${e.value}`,domId:`${l.value}-tabpanel-${e.value}`,inline:"",role:"tabpanel"}),null,16,["aria-labelledby","domId"]))]),_:1},8,["name"]),u("div",Q,[r(a(f),{class:"app-discover-carousel__button app-discover-carousel__button--next",variant:"tertiary-no-background","aria-label":a(n)("appstore","Next slide"),disabled:!C.value,onClick:i[1]||(i[1]=o=>e.value+=1)},{icon:d(()=>[r(a(g),{path:a(F)},null,8,["path"])]),_:1},8,["aria-label","disabled"])])]),u("div",{class:"app-discover-carousel__tabs",role:"tablist","aria-label":a(n)("appstore","Choose slide to display")},[(p(!0),y(q,null,z(m.content.length,o=>(p(),k(a(f),{id:`${l.value}-tab-${o}`,key:o,"aria-label":a(n)("appstore","{index} of {total}",{index:o,total:m.content.length}),"aria-controls":`${l.value}-tabpanel-${o}`,"aria-selected":`${e.value===o-1}`,role:"tab",variant:"tertiary-no-background",onClick:V=>e.value=o-1},{icon:d(()=>[r(a(g),{path:e.value===o-1?a(G):a(P)},null,8,["path"])]),_:2},1032,["id","aria-label","aria-controls","aria-selected","onClick"]))),128))],8,R)],8,J))}}),Ja=H(U,[["__scopeId","data-v-89f194e4"]]);export{Ja as default};
//# sourceMappingURL=DiscoverTypeCarousel-gNnITU-m.chunk.mjs.map
import{b as w,l as h,z as I,o as p,f as y,t as N,u as a,h as D,g as u,k as r,w as d,c as k,m as M,T,F as q,B as z,v as s,G as A}from"./preload-helper-BByimXjD.chunk.mjs";import{f as B,g as F,h as G,i as P}from"./mdi-BWzBLGOK.chunk.mjs";import{t as n}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{N as f}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as g}from"./Web-CSo1f5Mo.chunk.mjs";import{c as S,D as j,u as E}from"./DiscoverTypePost-DV867n2W.chunk.mjs";import{_ as H}from"./public-C1mLBHT3.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./index-DHHu-vDL.chunk.mjs";import"./appstore-main.mjs";import"./pinia-CjL5y06H.chunk.mjs";import"./NcContent-D69ktIEB-Do1I3ElW.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";import"./NcTextArea-CseOD9aM-PEt9mzZE.chunk.mjs";import"./index-C8_Me_Lb.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./TrayArrowDown-CnFJ32oN.chunk.mjs";import"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./index-COpU9qvO.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";import"./NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs";import"./NcBreadcrumbs-5gl8Syfa-1gisCJMA.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import"./NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-B-_jVAzM.chunk.mjs";/* empty css */import"./NcCheckboxRadioSwitch-D0gFwEVl-CVdipCjx.chunk.mjs";import"./Plus-BILsvoex.chunk.mjs";import"./index-DDZs9KSS.chunk.mjs";import"./index-Zww9LWwp.chunk.mjs";import"./NcEmojiPicker-DGgqTnHp-fAGgC6BF.chunk.mjs";import"./emoji-V9hqFgPs-BoVPPNKM.chunk.mjs";import"./index-BxkFOOAm.chunk.mjs";/* empty css */import"./index-DjvuVPm0.chunk.mjs";import"./NcSelectTags-B3_tcJAf-CqkSe7YH.chunk.mjs";import"./ContentCopy-dHKMl-yT.chunk.mjs";import"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";import"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import"./index-Cogf4PrN.chunk.mjs";const J=["aria-roledescription","aria-labelledby"],K=["id"],L={class:"app-discover-carousel__wrapper"},O={class:"app-discover-carousel__button-wrapper"},Q={class:"app-discover-carousel__button-wrapper"},R=["aria-label"],U=w({__name:"DiscoverTypeCarousel",props:{...S,content:{type:Array,required:!0}},setup(m){const t=m,$=E(s(()=>t.headline)),e=h(Math.min(1,t.content.length-1)),c=h(t.content[e.value]),C=s(()=>e.value<t.content.length-1),x=s(()=>e.value>0),l=s(()=>t.id??(Math.random()+1).toString(36).substring(7)),v=s(()=>`${l.value}-h`),b=h("slide-in");return I(()=>e.value,(_,i)=>{_<i?b.value="slide-in":b.value="slide-out",A(()=>{c.value=t.content[e.value]})}),(_,i)=>(p(),y("section",{"aria-roledescription":a(n)("appstore","Carousel"),"aria-labelledby":v.value?`${v.value}`:void 0},[_.headline?(p(),y("h3",{key:0,id:v.value},N(a($)),9,K)):D("",!0),u("div",L,[u("div",O,[r(a(f),{class:"app-discover-carousel__button app-discover-carousel__button--previous",variant:"tertiary-no-background","aria-label":a(n)("appstore","Previous slide"),disabled:!x.value,onClick:i[0]||(i[0]=o=>e.value-=1)},{icon:d(()=>[r(a(g),{path:a(B)},null,8,["path"])]),_:1},8,["aria-label","disabled"])]),r(T,{name:b.value,mode:"out-in"},{default:d(()=>[(p(),k(j,M(c.value,{key:c.value.id??e.value,"aria-labelledby":`${l.value}-tab-${e.value}`,domId:`${l.value}-tabpanel-${e.value}`,inline:"",role:"tabpanel"}),null,16,["aria-labelledby","domId"]))]),_:1},8,["name"]),u("div",Q,[r(a(f),{class:"app-discover-carousel__button app-discover-carousel__button--next",variant:"tertiary-no-background","aria-label":a(n)("appstore","Next slide"),disabled:!C.value,onClick:i[1]||(i[1]=o=>e.value+=1)},{icon:d(()=>[r(a(g),{path:a(F)},null,8,["path"])]),_:1},8,["aria-label","disabled"])])]),u("div",{class:"app-discover-carousel__tabs",role:"tablist","aria-label":a(n)("appstore","Choose slide to display")},[(p(!0),y(q,null,z(m.content.length,o=>(p(),k(a(f),{id:`${l.value}-tab-${o}`,key:o,"aria-label":a(n)("appstore","{index} of {total}",{index:o,total:m.content.length}),"aria-controls":`${l.value}-tabpanel-${o}`,"aria-selected":`${e.value===o-1}`,role:"tab",variant:"tertiary-no-background",onClick:V=>e.value=o-1},{icon:d(()=>[r(a(g),{path:e.value===o-1?a(G):a(P)},null,8,["path"])]),_:2},1032,["id","aria-label","aria-controls","aria-selected","onClick"]))),128))],8,R)],8,J))}}),Ja=H(U,[["__scopeId","data-v-89f194e4"]]);export{Ja as default};
//# sourceMappingURL=DiscoverTypeCarousel-CszDwaZi.chunk.mjs.map

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

View file

@ -1,4 +1,4 @@
import{a as H}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import{t as y}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{v as M}from"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import{N}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as S}from"./NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs";import{_ as f}from"./public-C1mLBHT3.chunk.mjs";import{o as s,f as r,g as I,t as p,h as d,m as h,r as c,ag as z,L,k as m,F as C,c as _,w as g,B as O,j as B,y as F,b as $,v as q}from"./preload-helper-BByimXjD.chunk.mjs";import{C as P,a as v}from"./CommentView-BviNYZ77.chunk.mjs";import{l as b}from"./activity-CS_yDSTQ.chunk.mjs";import{c as j,g as U,D as w}from"./GetComments-Di3IqcIJ.chunk.mjs";const E={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Z=["aria-hidden","aria-label"],G=["fill","width","height"],J={d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"},K={key:0};function Q(t,o,e,a,i,n){return s(),r("span",h(t.$attrs,{"aria-hidden":e.title?null:"true","aria-label":e.title,class:"material-design-icon alert-circle-outline-icon",role:"img",onClick:o[0]||(o[0]=l=>t.$emit("click",l))}),[(s(),r("svg",{fill:e.fillColor,class:"material-design-icon__svg",width:e.size,height:e.size,viewBox:"0 0 24 24"},[I("path",J,[e.title?(s(),r("title",K,p(e.title),1)):d("",!0)])],8,G))],16,Z)}const W=f(E,[["render",Q]]),X={name:"MessageReplyTextOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Y=["aria-hidden","aria-label"],ee=["fill","width","height"],te={d:"M9 11H18V13H9V11M18 7H6V9H18V7M22 4V22L18 18H4C2.9 18 2 17.11 2 16V4C2 2.9 2.9 2 4 2H20C21.1 2 22 2.89 22 4M20 4H4V16H18.83L20 17.17V4Z"},oe={key:0};function se(t,o,e,a,i,n){return s(),r("span",h(t.$attrs,{"aria-hidden":e.title?null:"true","aria-label":e.title,class:"material-design-icon message-reply-text-outline-icon",role:"img",onClick:o[0]||(o[0]=l=>t.$emit("click",l))}),[(s(),r("svg",{fill:e.fillColor,class:"material-design-icon__svg",width:e.size,height:e.size,viewBox:"0 0 24 24"},[I("path",te,[e.title?(s(),r("title",oe,p(e.title),1)):d("",!0)])],8,ee))],16,Y)}const re=f(X,[["render",se]]),ie={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ne=["aria-hidden","aria-label"],ae=["fill","width","height"],le={d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},ce={key:0};function me(t,o,e,a,i,n){return s(),r("span",h(t.$attrs,{"aria-hidden":e.title?null:"true","aria-label":e.title,class:"material-design-icon refresh-icon",role:"img",onClick:o[0]||(o[0]=l=>t.$emit("click",l))}),[(s(),r("svg",{fill:e.fillColor,class:"material-design-icon__svg",width:e.size,height:e.size,viewBox:"0 0 24 24"},[I("path",le,[e.title?(s(),r("title",ce,p(e.title),1)):d("",!0)])],8,ae))],16,ne)}const de=f(ie,[["render",me]]);function ue(t,o,e){const a=["",t,o].join("/"),i=e.toUTCString();return j.customRequest(a,{method:"PROPPATCH",data:`<?xml version="1.0"?>
import{a as H}from"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import{t as y}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{v as M}from"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import{N}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as S}from"./NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs";import{_ as f}from"./public-C1mLBHT3.chunk.mjs";import{o as s,f as r,g as I,t as p,h as d,m as h,r as c,ag as z,L,k as m,F as C,c as _,w as g,B as O,j as B,y as F,b as $,v as q}from"./preload-helper-BByimXjD.chunk.mjs";import{C as P,a as v}from"./CommentView-BWs00COP.chunk.mjs";import{l as b}from"./activity-CS_yDSTQ.chunk.mjs";import{c as j,g as U,D as w}from"./GetComments-Dy7uLqLM.chunk.mjs";const E={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Z=["aria-hidden","aria-label"],G=["fill","width","height"],J={d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"},K={key:0};function Q(t,o,e,a,i,n){return s(),r("span",h(t.$attrs,{"aria-hidden":e.title?null:"true","aria-label":e.title,class:"material-design-icon alert-circle-outline-icon",role:"img",onClick:o[0]||(o[0]=l=>t.$emit("click",l))}),[(s(),r("svg",{fill:e.fillColor,class:"material-design-icon__svg",width:e.size,height:e.size,viewBox:"0 0 24 24"},[I("path",J,[e.title?(s(),r("title",K,p(e.title),1)):d("",!0)])],8,G))],16,Z)}const W=f(E,[["render",Q]]),X={name:"MessageReplyTextOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Y=["aria-hidden","aria-label"],ee=["fill","width","height"],te={d:"M9 11H18V13H9V11M18 7H6V9H18V7M22 4V22L18 18H4C2.9 18 2 17.11 2 16V4C2 2.9 2.9 2 4 2H20C21.1 2 22 2.89 22 4M20 4H4V16H18.83L20 17.17V4Z"},oe={key:0};function se(t,o,e,a,i,n){return s(),r("span",h(t.$attrs,{"aria-hidden":e.title?null:"true","aria-label":e.title,class:"material-design-icon message-reply-text-outline-icon",role:"img",onClick:o[0]||(o[0]=l=>t.$emit("click",l))}),[(s(),r("svg",{fill:e.fillColor,class:"material-design-icon__svg",width:e.size,height:e.size,viewBox:"0 0 24 24"},[I("path",te,[e.title?(s(),r("title",oe,p(e.title),1)):d("",!0)])],8,ee))],16,Y)}const re=f(X,[["render",se]]),ie={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ne=["aria-hidden","aria-label"],ae=["fill","width","height"],le={d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},ce={key:0};function me(t,o,e,a,i,n){return s(),r("span",h(t.$attrs,{"aria-hidden":e.title?null:"true","aria-label":e.title,class:"material-design-icon refresh-icon",role:"img",onClick:o[0]||(o[0]=l=>t.$emit("click",l))}),[(s(),r("svg",{fill:e.fillColor,class:"material-design-icon__svg",width:e.size,height:e.size,viewBox:"0 0 24 24"},[I("path",le,[e.title?(s(),r("title",ce,p(e.title),1)):d("",!0)])],8,ae))],16,ne)}const de=f(ie,[["render",me]]);function ue(t,o,e){const a=["",t,o].join("/"),i=e.toUTCString();return j.customRequest(a,{method:"PROPPATCH",data:`<?xml version="1.0"?>
<d:propertyupdate
xmlns:d="DAV:"
xmlns:oc="http://owncloud.org/ns">
@ -8,4 +8,4 @@ import{a as H}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import{t as y}from"./tra
</d:prop>
</d:set>
</d:propertyupdate>`})}function pe(t){const o=new AbortController,e=o.signal;return{request:async function(a,i){return await t(a,{signal:e,...i})},abort:()=>o.abort()}}const he={name:"CommentsApp",components:{Comment:v,NcEmptyContent:S,NcButton:N,IconRefresh:de,IconMessageReplyTextOutline:re,IconAlertCircleOutline:W},directives:{elementVisibility:M},mixins:[P],expose:["update"],data(){return{error:"",loading:!1,done:!1,offset:0,comments:[],cancelRequest:()=>{},Comment:v,userData:{}}},computed:{hasComments(){return this.comments.length>0},isFirstLoading(){return this.loading&&this.offset===0}},watch:{resourceId(){this.currentResourceId=this.resourceId}},methods:{t:y,async onVisibilityChange(t){if(t)try{await ue(this.resourceType,this.currentResourceId,new Date)}catch(o){H(o.message||y("comments","Failed to mark comments as read"))}},async update(t){this.currentResourceId=t,this.resetState(),await this.getComments()},onScrollBottomReached(){this.error||this.done||this.loading||this.getComments()},async getComments(){this.cancelRequest("cancel");try{this.loading=!0,this.error="";const{request:t,abort:o}=pe(U);this.cancelRequest=o;const{data:e}=await t({resourceType:this.resourceType,resourceId:this.currentResourceId},{offset:this.offset})||{data:[]};this.logger.debug(`Processed ${e.length} comments`,{comments:e}),e.length<w&&(this.done=!0);for(const a of e)a.props.actorId=a.props.actorId.toString();this.comments=[...this.comments,...e],this.offset+=w}catch(t){if(t.message==="cancel")return;this.error=y("comments","Unable to load the comments list"),b.error("Error loading the comments list",{error:t})}finally{this.loading=!1}},onNewComment(t){this.comments.unshift(t)},onDelete(t){const o=this.comments.findIndex(e=>e.props.id===t);o>-1?this.comments.splice(o,1):b.error("Could not find the deleted comment in the list",{id:t})},resetState(){this.error="",this.loading=!1,this.done=!1,this.offset=0,this.comments=[]}}},ge={key:1},fe={key:2,class:"comments__info icon-loading"},ye={key:3,class:"comments__info"};function Ce(t,o,e,a,i,n){const l=c("Comment"),V=c("IconMessageReplyTextOutline"),k=c("NcEmptyContent"),R=c("IconAlertCircleOutline"),A=c("IconRefresh"),T=c("NcButton"),x=z("element-visibility");return L((s(),r("div",{class:F(["comments",{"icon-loading":n.isFirstLoading}])},[m(l,h(t.editorData,{editor:"",autoComplete:t.autoComplete,resourceType:t.resourceType,userData:i.userData,resourceId:t.currentResourceId,class:"comments__writer",onNew:n.onNewComment}),null,16,["autoComplete","resourceType","userData","resourceId","onNew"]),n.isFirstLoading?d("",!0):(s(),r(C,{key:0},[!n.hasComments&&i.done?(s(),_(k,{key:0,class:"comments__empty",name:n.t("comments","No comments yet, start the conversation!")},{icon:g(()=>[m(V)]),_:1},8,["name"])):(s(),r("ul",ge,[(s(!0),r(C,null,O(i.comments,u=>(s(),_(l,h({key:u.props.id,modelValue:u.props.message,"onUpdate:modelValue":D=>u.props.message=D,tag:"li"},{ref_for:!0},u.props,{autoComplete:t.autoComplete,resourceType:t.resourceType,resourceId:t.currentResourceId,userData:t.genMentionsData(u.props.mentions),class:"comments__list",onDelete:n.onDelete}),null,16,["modelValue","onUpdate:modelValue","autoComplete","resourceType","resourceId","userData","onDelete"]))),128))])),i.loading&&!n.isFirstLoading?(s(),r("div",fe)):n.hasComments&&i.done?(s(),r("div",ye,p(n.t("comments","No more messages")),1)):i.error?(s(),r(C,{key:4},[m(k,{class:"comments__error",name:i.error},{icon:g(()=>[m(R)]),_:1},8,["name"]),m(T,{class:"comments__retry",onClick:n.getComments},{icon:g(()=>[m(A)]),default:g(()=>[B(" "+p(n.t("comments","Retry")),1)]),_:1},8,["onClick"])],64)):d("",!0)],64))],2)),[[x,n.onVisibilityChange]])}const _e=f(he,[["render",Ce],["__scopeId","data-v-2295a278"]]),Ie=$({__name:"FilesSidebarTab",props:{node:{},active:{type:Boolean},folder:{},view:{}},setup(t){const o=t,e=q(()=>o.node?.fileid);return(a,i)=>e.value!==void 0?(s(),_(_e,{key:e.value,resourceId:e.value,resourceType:"files"},null,8,["resourceId"])):d("",!0)}}),He=Object.freeze(Object.defineProperty({__proto__:null,default:Ie},Symbol.toStringTag,{value:"Module"}));export{_e as C,He as F};
//# sourceMappingURL=FilesSidebarTab-DzQL5sEP.chunk.mjs.map
//# sourceMappingURL=FilesSidebarTab-AdygL6xw.chunk.mjs.map

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

View file

@ -28,5 +28,5 @@ This file is generated from multiple sources. Included packages:
- version: 1.0.0
- license: ISC
- webdav
- version: 5.9.0
- version: 5.10.0
- license: MIT

File diff suppressed because one or more lines are too long

View file

@ -28,5 +28,5 @@ This file is generated from multiple sources. Included packages:
- version: 1.0.0
- license: ISC
- webdav
- version: 5.9.0
- version: 5.10.0
- license: MIT

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

View file

@ -1,4 +1,4 @@
import{c as u}from"./index-COpU9qvO.chunk.mjs";import{g as y,f as c,c as f}from"./index-CziSTDUD.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as h}from"./index-Cogf4PrN.chunk.mjs";import{g as b}from"./dav-C7DVqzVQ.chunk.mjs";const r=y().setApp("systemtags").detectUser().build(),O={userVisible:!0,userAssignable:!0,canAssign:!0},x=Object.freeze({"display-name":"displayName","user-visible":"userVisible","user-assignable":"userAssignable","can-assign":"canAssign"});function p(t){return t.map(({props:s})=>Object.fromEntries(Object.entries(s).map(([e,a])=>(e=x[e]??e,a=e==="displayName"?String(a):a,[e,a]))))}function w(t){const s=t.indexOf("?");s>0&&(t=t.substring(0,s));const e=t.split("/");let a;do a=e[e.length-1],e.pop();while(!a&&e.length>0);return Number(a)}function v(t){if("name"in t&&!("displayName"in t))return{...t};const s={...t};return s.name=s.displayName,delete s.displayName,s}function V(t){const s=t.attributes?.["system-tags"]?.["system-tag"];return s===void 0?[]:[s].flat().map(e=>typeof e=="string"?e:e.text)}function N(t,s){t.attributes["system-tags"]={"system-tag":s},c("files:node:updated",t)}const n=b(),l=`<?xml version="1.0"?>
import{c as u}from"./index-COpU9qvO.chunk.mjs";import{g as y,f as c,c as f}from"./index-CziSTDUD.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as h}from"./index-Cogf4PrN.chunk.mjs";import{g as b}from"./dav-CyDaXJUZ.chunk.mjs";const r=y().setApp("systemtags").detectUser().build(),O={userVisible:!0,userAssignable:!0,canAssign:!0},x=Object.freeze({"display-name":"displayName","user-visible":"userVisible","user-assignable":"userAssignable","can-assign":"canAssign"});function p(t){return t.map(({props:s})=>Object.fromEntries(Object.entries(s).map(([e,a])=>(e=x[e]??e,a=e==="displayName"?String(a):a,[e,a]))))}function w(t){const s=t.indexOf("?");s>0&&(t=t.substring(0,s));const e=t.split("/");let a;do a=e[e.length-1],e.pop();while(!a&&e.length>0);return Number(a)}function v(t){if("name"in t&&!("displayName"in t))return{...t};const s={...t};return s.name=s.displayName,delete s.displayName,s}function V(t){const s=t.attributes?.["system-tags"]?.["system-tag"];return s===void 0?[]:[s].flat().map(e=>typeof e=="string"?e:e.text)}function N(t,s){t.attributes["system-tags"]={"system-tag":s},c("files:node:updated",t)}const n=b(),l=`<?xml version="1.0"?>
<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
<d:prop>
<oc:id />
@ -40,4 +40,4 @@ import{c as u}from"./index-COpU9qvO.chunk.mjs";import{g as y,f as c,c as f}from"
</d:prop>
</d:remove>
</d:propertyupdate>`),await n.customRequest(i,{method:"PROPPATCH",data:d,headers:{"if-match":a}})}async function k(t){const s=t?"1":"0",e=f("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"systemtags",key:"restrict_creation_to_admin"});await h();const{data:a}=await u.post(e,{value:s});return a}export{T as a,k as b,C as c,O as d,V as e,P as f,_ as g,N as h,D as i,r as l,q as s,R as u};
//# sourceMappingURL=api-Cs4q0j27.chunk.mjs.map
//# sourceMappingURL=api-CnLEK7Ep.chunk.mjs.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{l as o}from"./activity-CS_yDSTQ.chunk.mjs";import{a as m,t as s}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as n}from"./pinia-CjL5y06H.chunk.mjs";import{e as r}from"./preload-helper-BByimXjD.chunk.mjs";import{C as a}from"./FilesSidebarTab-DzQL5sEP.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./index-COpU9qvO.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";import"./NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs";import"./CommentView-BviNYZ77.chunk.mjs";/* empty css */import"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import"./GetComments-Di3IqcIJ.chunk.mjs";import"./index-D74jx3re.chunk.mjs";class e{app;instance;constructor(t="files",i={}){const p=n();this.app=r(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-CS_yDSTQ.chunk.mjs";import{a as m,t as s}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as n}from"./pinia-CjL5y06H.chunk.mjs";import{e as r}from"./preload-helper-BByimXjD.chunk.mjs";import{C as a}from"./FilesSidebarTab-AdygL6xw.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./index-COpU9qvO.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";import"./NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs";import"./CommentView-BWs00COP.chunk.mjs";/* empty css */import"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import"./GetComments-Dy7uLqLM.chunk.mjs";import"./index-dJbKiCqw.chunk.mjs";class e{app;instance;constructor(t="files",i={}){const p=n();this.app=r(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

View file

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/ActivityCommentAction-4Z_gsB_Z.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-DNp_1D6N.chunk.mjs'),window.OC.filePath('', '', 'dist/preload-helper-BByimXjD.chunk.mjs'),window.OC.filePath('', '', 'dist/index-B78e9rzX.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-DgB87uF-.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-CSo1f5Mo.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-CPJIGC2H.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CziSTDUD.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/common-Web-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/common-ArrowRight-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/common-NcModal-kyWZ3UFC-CBh34man.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DeYHYTy2.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-BWzBLGOK.chunk.mjs'),window.OC.filePath('', '', 'dist/common-mdi-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/CommentView-BviNYZ77.chunk.mjs'),window.OC.filePath('', '', 'dist/pinia-CjL5y06H.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-Bd3gXgSl.chunk.mjs'),window.OC.filePath('', '', 'dist/common-PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs'),window.OC.filePath('', '', 'dist/index-COpU9qvO.chunk.mjs'),window.OC.filePath('', '', 'dist/util-BUyb4W9M.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-BfjxNgsx-J-p3roax.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserStatusIcon-JWiuiAXe-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/common-NcAvatar-ruClKRzS-D_G6wUEW.chunk.css'),window.OC.filePath('', '', 'dist/NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserBubble-BE6yD-R0-f2DD9EAL.chunk.css'),window.OC.filePath('', '', 'dist/activity-CS_yDSTQ.chunk.mjs'),window.OC.filePath('', '', 'dist/GetComments-Di3IqcIJ.chunk.mjs'),window.OC.filePath('', '', 'dist/index-D74jx3re.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-CfTf0_m2.chunk.mjs'),window.OC.filePath('', '', 'dist/comments-ActivityCommentEntry-CVfnMLz5.chunk.css'),window.OC.filePath('', '', 'dist/FilesSidebarTab-DzQL5sEP.chunk.mjs'),window.OC.filePath('', '', 'dist/NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcEmptyContent-CDgWCt_m-DoZPzs7J.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"./preload-helper-BByimXjD.chunk.mjs";import{r as _}from"./index-CsvAZXm-.chunk.mjs";import{t as g}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as l}from"./pinia-CjL5y06H.chunk.mjs";import{l as r,i as A}from"./activity-CS_yDSTQ.chunk.mjs";import{g as v}from"./GetComments-Di3IqcIJ.chunk.mjs";import"./folder-29HuacU_-DJN0TjDe.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./index-D74jx3re.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-4Z_gsB_Z.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]),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-CfTf0_m2.chunk.mjs");return{default:n}},__vite__mapDeps([39,7,8,18,2,19,20,5,6,9,10,11,4,12,21,22,23,24,25,26,27,28,29,13,14,30,31,32,1,3,15,16,17,33,34,35,36,37,40]),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-DzQL5sEP.chunk.mjs").then(i=>i.F);return{default:e}},__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,22,23,24,25,26,27,20,21,28,29,30,42,43,18,19,31,32,33,34,35,36,37,44]),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-BvYUJtzY.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-BhXb8nZF.chunk.mjs'),window.OC.filePath('', '', 'dist/preload-helper-BByimXjD.chunk.mjs'),window.OC.filePath('', '', 'dist/index-B78e9rzX.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-DgB87uF-.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-CSo1f5Mo.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-CPJIGC2H.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CziSTDUD.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/common-Web-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/common-ArrowRight-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/common-NcModal-kyWZ3UFC-CBh34man.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DeYHYTy2.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-BWzBLGOK.chunk.mjs'),window.OC.filePath('', '', 'dist/common-mdi-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/CommentView-BWs00COP.chunk.mjs'),window.OC.filePath('', '', 'dist/pinia-CjL5y06H.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-Bd3gXgSl.chunk.mjs'),window.OC.filePath('', '', 'dist/common-PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs'),window.OC.filePath('', '', 'dist/index-COpU9qvO.chunk.mjs'),window.OC.filePath('', '', 'dist/util-BUyb4W9M.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-BfjxNgsx-J-p3roax.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserStatusIcon-JWiuiAXe-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/common-NcAvatar-ruClKRzS-D_G6wUEW.chunk.css'),window.OC.filePath('', '', 'dist/NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserBubble-BE6yD-R0-f2DD9EAL.chunk.css'),window.OC.filePath('', '', 'dist/activity-CS_yDSTQ.chunk.mjs'),window.OC.filePath('', '', 'dist/GetComments-Dy7uLqLM.chunk.mjs'),window.OC.filePath('', '', 'dist/index-dJbKiCqw.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-U_TnZbQ7.chunk.mjs'),window.OC.filePath('', '', 'dist/comments-ActivityCommentEntry-CVfnMLz5.chunk.css'),window.OC.filePath('', '', 'dist/FilesSidebarTab-AdygL6xw.chunk.mjs'),window.OC.filePath('', '', 'dist/NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcEmptyContent-CDgWCt_m-DoZPzs7J.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"./preload-helper-BByimXjD.chunk.mjs";import{r as _}from"./index-CsvAZXm-.chunk.mjs";import{t as g}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as l}from"./pinia-CjL5y06H.chunk.mjs";import{l as r,i as A}from"./activity-CS_yDSTQ.chunk.mjs";import{g as v}from"./GetComments-Dy7uLqLM.chunk.mjs";import"./folder-29HuacU_-DJN0TjDe.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./index-dJbKiCqw.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-BvYUJtzY.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]),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-U_TnZbQ7.chunk.mjs");return{default:n}},__vite__mapDeps([39,7,8,18,2,19,20,5,6,9,10,11,4,12,21,22,23,24,25,26,27,28,29,13,14,30,31,32,1,3,15,16,17,33,34,35,36,37,40]),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-AdygL6xw.chunk.mjs").then(i=>i.F);return{default:e}},__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,22,23,24,25,26,27,20,21,28,29,30,42,43,18,19,31,32,33,34,35,36,37,44]),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

View file

@ -1,9 +1,9 @@
import{a as m,h as E,o as q,e as D}from"./index-CziSTDUD.chunk.mjs";import{l as y}from"./public-C1mLBHT3.chunk.mjs";import{l as P,_ as T}from"./index-D74jx3re.chunk.mjs";import{s as i,l as u,N as x,a as R,b as S,P as o}from"./folder-29HuacU_-DJN0TjDe.chunk.mjs";function f(){return y("files_sharing","isPublic",null)??document.querySelector('input#isPublic[type="hidden"][name="isPublic"][value="1"]')!==null}function A(){return y("files_sharing","sharingToken",null)??document.querySelector('input#sharingToken[type="hidden"]')?.value??null}function k(e=""){let r=o.NONE;return e&&(e.includes("G")&&(r|=o.READ),e.includes("W")&&(r|=o.WRITE),e.includes("CK")&&(r|=o.CREATE),e.includes("NV")&&(r|=o.UPDATE),e.includes("D")&&(r|=o.DELETE),e.includes("R")&&(r|=o.SHARE)),r}const w=["d:getcontentlength","d:getcontenttype","d:getetag","d:getlastmodified","d:creationdate","d:displayname","d:quota-available-bytes","d:resourcetype","nc:has-preview","nc:is-encrypted","nc:mount-type","oc:comments-unread","oc:favorite","oc:fileid","oc:owner-display-name","oc:owner-id","oc:permissions","oc:size"],$={d:"DAV:",nc:"http://nextcloud.org/ns",oc:"http://owncloud.org/ns",ocs:"http://open-collaboration-services.org/ns"};function F(e,r={nc:"http://nextcloud.org/ns"}){i.davNamespaces??={...$},i.davProperties??=[...w];const s={...i.davNamespaces,...r};if(i.davProperties.find(t=>t===e))return u.warn(`${e} already registered`,{prop:e}),!1;if(e.startsWith("<")||e.split(":").length!==2)return u.error(`${e} is not valid. See example: 'oc:fileid'`,{prop:e}),!1;const n=e.split(":")[0];return s[n]?(i.davProperties.push(e),i.davNamespaces=s,!0):(u.error(`${e} namespace unknown`,{prop:e,namespaces:s}),!1)}function h(){return i.davProperties??=[...w],i.davProperties.map(e=>`<${e} />`).join(" ")}function g(){return i.davNamespaces??={...$},Object.keys(i.davNamespaces).map(e=>`xmlns:${e}="${i.davNamespaces?.[e]}"`).join(" ")}function U(){return`<?xml version="1.0"?>
import{a as m,h as E,o as q,e as D}from"./index-CziSTDUD.chunk.mjs";import{l as y}from"./public-C1mLBHT3.chunk.mjs";import{z as P,L as T}from"./index-dJbKiCqw.chunk.mjs";import{s as i,l as u,N as x,a as R,b as S,P as o}from"./folder-29HuacU_-DJN0TjDe.chunk.mjs";function f(){return y("files_sharing","isPublic",null)??document.querySelector('input#isPublic[type="hidden"][name="isPublic"][value="1"]')!==null}function A(){return y("files_sharing","sharingToken",null)??document.querySelector('input#sharingToken[type="hidden"]')?.value??null}function k(e=""){let r=o.NONE;return e&&(e.includes("G")&&(r|=o.READ),e.includes("W")&&(r|=o.WRITE),e.includes("CK")&&(r|=o.CREATE),e.includes("NV")&&(r|=o.UPDATE),e.includes("D")&&(r|=o.DELETE),e.includes("R")&&(r|=o.SHARE)),r}const w=["d:getcontentlength","d:getcontenttype","d:getetag","d:getlastmodified","d:creationdate","d:displayname","d:quota-available-bytes","d:resourcetype","nc:has-preview","nc:is-encrypted","nc:mount-type","oc:comments-unread","oc:favorite","oc:fileid","oc:owner-display-name","oc:owner-id","oc:permissions","oc:size"],$={d:"DAV:",nc:"http://nextcloud.org/ns",oc:"http://owncloud.org/ns",ocs:"http://open-collaboration-services.org/ns"};function F(e,r={nc:"http://nextcloud.org/ns"}){i.davNamespaces??={...$},i.davProperties??=[...w];const s={...i.davNamespaces,...r};if(i.davProperties.find(t=>t===e))return u.warn(`${e} already registered`,{prop:e}),!1;if(e.startsWith("<")||e.split(":").length!==2)return u.error(`${e} is not valid. See example: 'oc:fileid'`,{prop:e}),!1;const n=e.split(":")[0];return s[n]?(i.davProperties.push(e),i.davNamespaces=s,!0):(u.error(`${e} namespace unknown`,{prop:e,namespaces:s}),!1)}function h(){return i.davProperties??=[...w],i.davProperties.map(e=>`<${e} />`).join(" ")}function g(){return i.davNamespaces??={...$},Object.keys(i.davNamespaces).map(e=>`xmlns:${e}="${i.davNamespaces?.[e]}"`).join(" ")}function U(){return`<?xml version="1.0"?>
<d:propfind ${g()}>
<d:prop>
${h()}
</d:prop>
</d:propfind>`}function j(){return`<?xml version="1.0"?>
</d:propfind>`}function z(){return`<?xml version="1.0"?>
<oc:filter-files ${g()}>
<d:prop>
${h()}
@ -11,7 +11,7 @@ import{a as m,h as E,o as q,e as D}from"./index-CziSTDUD.chunk.mjs";import{l as
<oc:filter-rules>
<oc:favorite>1</oc:favorite>
</oc:filter-rules>
</oc:filter-files>`}function _(e){return`<?xml version="1.0" encoding="UTF-8"?>
</oc:filter-files>`}function X(e){return`<?xml version="1.0" encoding="UTF-8"?>
<d:searchrequest ${g()}
xmlns:ns="https://github.com/icewind1991/SearchDAV/ns">
<d:basicsearch>
@ -65,5 +65,5 @@ import{a as m,h as E,o as q,e as D}from"./index-CziSTDUD.chunk.mjs";import{l as
<ns:firstresult>0</ns:firstresult>
</d:limit>
</d:basicsearch>
</d:searchrequest>`}function z(){return f()?`/files/${A()}`:`/files/${m()?.uid}`}const b=z();function W(){const e=E("dav");return f()?e.replace("remote.php","public.php"):e}const N=W();function C(e=N,r={}){const s=P(e,{headers:r});function n(t){s.setHeaders({...r,"X-Requested-With":"XMLHttpRequest",requesttoken:t??""})}return q(n),n(D()),T().patch("fetch",(t,d)=>{const a=d.headers;return a?.method&&(d.method=a.method,delete a.method),fetch(t,d)}),s}async function X(e={}){const r=e.client??C(),s=e.path??"/",n=e.davRoot??b;return(await r.getDirectoryContents(`${n}${s}`,{signal:e.signal,details:!0,data:j(),headers:{method:"REPORT"},includeSelf:!0})).data.filter(t=>t.filename!==s).map(t=>H(t,n))}function H(e,r=b,s=N){let n=m()?.uid;if(f())n=n??"anonymous";else if(!n)throw new Error("No user id found");const t=e.props,d=k(t?.permissions),a=String(t?.["owner-id"]||n),v=t.fileid||0,c=new Date(Date.parse(e.lastmod)),p=new Date(Date.parse(t.creationdate)),l={id:v,source:`${s}${e.filename}`,mtime:!isNaN(c.getTime())&&c.getTime()!==0?c:void 0,crtime:!isNaN(p.getTime())&&p.getTime()!==0?p:void 0,mime:e.mime||"application/octet-stream",displayname:t.displayname!==void 0?String(t.displayname):void 0,size:t?.size||Number.parseInt(t.getcontentlength||"0"),status:v<0?x.FAILED:void 0,permissions:d,owner:a,root:r,attributes:{...e,...t,hasPreview:t?.["has-preview"]}};return delete l.attributes?.props,e.type==="file"?new R(l):new S(l)}export{g as a,h as b,F as c,N as d,W as e,z as f,C as g,X as h,b as i,_ as j,U as k,H as r};
//# sourceMappingURL=dav-C7DVqzVQ.chunk.mjs.map
</d:searchrequest>`}function j(){return f()?`/files/${A()}`:`/files/${m()?.uid}`}const b=j();function L(){const e=E("dav");return f()?e.replace("remote.php","public.php"):e}const N=L();function W(e=N,r={}){const s=P(e,{headers:r});function n(t){s.setHeaders({...r,"X-Requested-With":"XMLHttpRequest",requesttoken:t??""})}return q(n),n(D()),T().patch("fetch",(t,d)=>{const a=d.headers;return a?.method&&(d.method=a.method,delete a.method),fetch(t,d)}),s}async function _(e={}){const r=e.client??W(),s=e.path??"/",n=e.davRoot??b;return(await r.getDirectoryContents(`${n}${s}`,{signal:e.signal,details:!0,data:z(),headers:{method:"REPORT"},includeSelf:!0})).data.filter(t=>t.filename!==s).map(t=>C(t,n))}function C(e,r=b,s=N){let n=m()?.uid;if(f())n=n??"anonymous";else if(!n)throw new Error("No user id found");const t=e.props,d=k(t?.permissions),a=String(t?.["owner-id"]||n),v=t.fileid||0,c=new Date(Date.parse(e.lastmod)),p=new Date(Date.parse(t.creationdate)),l={id:v,source:`${s}${e.filename}`,mtime:!isNaN(c.getTime())&&c.getTime()!==0?c:void 0,crtime:!isNaN(p.getTime())&&p.getTime()!==0?p:void 0,mime:e.mime||"application/octet-stream",displayname:t.displayname!==void 0?String(t.displayname):void 0,size:t?.size||Number.parseInt(t.getcontentlength||"0"),status:v<0?x.FAILED:void 0,permissions:d,owner:a,root:r,attributes:{...e,...t,hasPreview:t?.["has-preview"]}};return delete l.attributes?.props,e.type==="file"?new R(l):new S(l)}export{g as a,h as b,F as c,N as d,L as e,j as f,W as g,_ as h,b as i,X as j,U as k,C as r};
//# sourceMappingURL=dav-CyDaXJUZ.chunk.mjs.map

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

View file

@ -1,2 +1,2 @@
import{a as o,b as i}from"./index-CziSTDUD.chunk.mjs";import{c as r}from"./index-COpU9qvO.chunk.mjs";import{s as a}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import"./preload-helper-BByimXjD.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";window.addEventListener("DOMContentLoaded",async function(){if(o()===null)return;const{data:t}=await r.get(i("/apps/encryption/ajax/getStatus"));t.status==="interactionNeeded"&&a(t.data.message)});
import{a as o,b as i}from"./index-CziSTDUD.chunk.mjs";import{c as r}from"./index-COpU9qvO.chunk.mjs";import{s as a}from"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import"./preload-helper-BByimXjD.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";window.addEventListener("DOMContentLoaded",async function(){if(o()===null)return;const{data:t}=await r.get(i("/apps/encryption/ajax/getStatus"));t.status==="interactionNeeded"&&a(t.data.message)});
//# sourceMappingURL=encryption-encryption.mjs.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{c as d,i as _}from"./index-COpU9qvO.chunk.mjs";import{b as y,a as u}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import{s as b,b as m}from"./index-CziSTDUD.chunk.mjs";import{_ as R,l as v}from"./public-C1mLBHT3.chunk.mjs";import{t}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{N as D,s as S}from"./index-B78e9rzX.chunk.mjs";import{N as O}from"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import{b as F,o as f,c as h,w as k,g as C,t as P,u as i,y as q,h as x,l as N,v as E}from"./preload-helper-BByimXjD.chunk.mjs";import{l as M}from"./logger-DfoPw1q-.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";const T=F({__name:"RemoteShareDialog",props:{name:{},owner:{},remote:{},passwordRequired:{type:Boolean}},emits:["close"],setup(e,{emit:r}){const s=e,a=r,o=N(""),n=E(()=>[{label:t("federatedfilesharing","Cancel"),callback:()=>a("close",!1)},{label:t("federatedfilesharing","Add remote share"),type:s.passwordRequired?"submit":void 0,variant:"primary",callback:()=>a("close",!0,o.value)}]);return(p,l)=>(f(),h(i(D),{buttons:n.value,isForm:e.passwordRequired,name:i(t)("federatedfilesharing","Remote share"),onSubmit:l[1]||(l[1]=w=>a("close",!0,o.value))},{default:k(()=>[C("p",null,P(i(t)("federatedfilesharing","Do you want to add the remote share {name} from {owner}@{remote}?",{name:e.name,owner:e.owner,remote:e.remote})),1),e.passwordRequired?(f(),h(i(O),{key:0,modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=w=>o.value=w),class:q(p.$style.remoteShareDialog__password),label:i(t)("federatedfilesharing","Remote share password")},null,8,["modelValue","class","label"])):x("",!0)]),_:1},8,["buttons","isForm","name"]))}}),U="_remoteShareDialog__password_1ccpy_2",V={remoteShareDialog__password:U},$={$style:V},j=R(T,[["__cssModules",$]]);async function I(e,r,s,a=!1){const[o,n]=await S(j,{name:e,owner:r,remote:s,passwordRequired:a});if(a&&o)return n;if(!o)throw new Error("Dialog was cancelled")}window.addEventListener("DOMContentLoaded",()=>{L(),v("federatedfilesharing","notificationsEnabled",!0)!==!0&&A(),b("notifications:action:executed",({action:e,notification:r})=>{r.app==="files_sharing"&&r.object_type==="remote_share"&&e.type==="POST"&&c()})});function c(){if(!window?.OCP?.Files?.Router?.goToRoute){window.location.reload();return}window.OCP.Files.Router.goToRoute(null,{...window.OCP.Files.Router.params,fileid:void 0},{...window.OCP.Files.Router.query,dir:"/",openfile:void 0})}function L(){const e=window.OC.Util.History.parseUrlQuery();if(e.remote&&e.token&&e.name){const r=(s,a)=>{s!==!1&&d.post(m("apps/federatedfilesharing/askForFederatedShare"),{remote:a.remote,token:a.token,owner:a.owner,ownerDisplayName:a.ownerDisplayName||a.owner,name:a.name,password:a.password||""}).then(({data:o})=>{Object.hasOwn(o,"legacyMount")?c():y(o.message)}).catch(o=>{M.error("Error while processing incoming share",{error:o}),_(o)&&o.response.data.message?u(o.response.data.message):u(t("federatedfilesharing","Incoming share could not be processed"))})};location.hash="",e.passwordProtected=parseInt(e.protected,10)===1,g(e,e.passwordProtected,r)}}async function A(){const{data:e}=await d.get(m("/apps/files_sharing/api/externalShares"));for(let r=0;r<e.length;++r)g(e[r],!1,function(s,a){s===!1?d.delete(m("/apps/files_sharing/api/externalShares/"+a.id)):d.post(m("/apps/files_sharing/api/externalShares"),{id:a.id}).then(()=>c())})}function g(e,r,s){const a=e.ownerDisplayName||e.owner,o=e.name,n=e.remote.replace(/^https?:\/\//,"").replace(/\/$/,"");I(o,a,n,r).then(p=>s(!0,{...e,password:p})).catch(()=>s(!1,e))}
import{c as d,i as _}from"./index-COpU9qvO.chunk.mjs";import{b as y,a as u}from"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import{s as b,b as m}from"./index-CziSTDUD.chunk.mjs";import{_ as R,l as v}from"./public-C1mLBHT3.chunk.mjs";import{t}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{N as D,s as S}from"./index-B78e9rzX.chunk.mjs";import{N as O}from"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import{b as F,o as f,c as h,w as k,g as C,t as P,u as i,y as q,h as x,l as N,v as E}from"./preload-helper-BByimXjD.chunk.mjs";import{l as M}from"./logger-DfoPw1q-.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";const T=F({__name:"RemoteShareDialog",props:{name:{},owner:{},remote:{},passwordRequired:{type:Boolean}},emits:["close"],setup(e,{emit:r}){const s=e,a=r,o=N(""),n=E(()=>[{label:t("federatedfilesharing","Cancel"),callback:()=>a("close",!1)},{label:t("federatedfilesharing","Add remote share"),type:s.passwordRequired?"submit":void 0,variant:"primary",callback:()=>a("close",!0,o.value)}]);return(p,l)=>(f(),h(i(D),{buttons:n.value,isForm:e.passwordRequired,name:i(t)("federatedfilesharing","Remote share"),onSubmit:l[1]||(l[1]=w=>a("close",!0,o.value))},{default:k(()=>[C("p",null,P(i(t)("federatedfilesharing","Do you want to add the remote share {name} from {owner}@{remote}?",{name:e.name,owner:e.owner,remote:e.remote})),1),e.passwordRequired?(f(),h(i(O),{key:0,modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=w=>o.value=w),class:q(p.$style.remoteShareDialog__password),label:i(t)("federatedfilesharing","Remote share password")},null,8,["modelValue","class","label"])):x("",!0)]),_:1},8,["buttons","isForm","name"]))}}),U="_remoteShareDialog__password_1ccpy_2",V={remoteShareDialog__password:U},$={$style:V},j=R(T,[["__cssModules",$]]);async function I(e,r,s,a=!1){const[o,n]=await S(j,{name:e,owner:r,remote:s,passwordRequired:a});if(a&&o)return n;if(!o)throw new Error("Dialog was cancelled")}window.addEventListener("DOMContentLoaded",()=>{L(),v("federatedfilesharing","notificationsEnabled",!0)!==!0&&A(),b("notifications:action:executed",({action:e,notification:r})=>{r.app==="files_sharing"&&r.object_type==="remote_share"&&e.type==="POST"&&c()})});function c(){if(!window?.OCP?.Files?.Router?.goToRoute){window.location.reload();return}window.OCP.Files.Router.goToRoute(null,{...window.OCP.Files.Router.params,fileid:void 0},{...window.OCP.Files.Router.query,dir:"/",openfile:void 0})}function L(){const e=window.OC.Util.History.parseUrlQuery();if(e.remote&&e.token&&e.name){const r=(s,a)=>{s!==!1&&d.post(m("apps/federatedfilesharing/askForFederatedShare"),{remote:a.remote,token:a.token,owner:a.owner,ownerDisplayName:a.ownerDisplayName||a.owner,name:a.name,password:a.password||""}).then(({data:o})=>{Object.hasOwn(o,"legacyMount")?c():y(o.message)}).catch(o=>{M.error("Error while processing incoming share",{error:o}),_(o)&&o.response.data.message?u(o.response.data.message):u(t("federatedfilesharing","Incoming share could not be processed"))})};location.hash="",e.passwordProtected=parseInt(e.protected,10)===1,g(e,e.passwordProtected,r)}}async function A(){const{data:e}=await d.get(m("/apps/files_sharing/api/externalShares"));for(let r=0;r<e.length;++r)g(e[r],!1,function(s,a){s===!1?d.delete(m("/apps/files_sharing/api/externalShares/"+a.id)):d.post(m("/apps/files_sharing/api/externalShares"),{id:a.id}).then(()=>c())})}function g(e,r,s){const a=e.ownerDisplayName||e.owner,o=e.name,n=e.remote.replace(/^https?:\/\//,"").replace(/\/$/,"");I(o,a,n,r).then(p=>s(!0,{...e,password:p})).catch(()=>s(!1,e))}
//# sourceMappingURL=federatedfilesharing-init-files.mjs.map

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{o as l,f as g,g as r,t as i,h as F,m as A,b as H,c as y,w as t,k as s,u as e,j as d,F as J,Q,l as N,v as C,e as W}from"./preload-helper-BByimXjD.chunk.mjs";import{d as L}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import{_ as S,l as c}from"./public-C1mLBHT3.chunk.mjs";import{t as a}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{k as _}from"./index-CziSTDUD.chunk.mjs";import{N as m}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as Z}from"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";import{I as q,N as E}from"./ContentCopy-dHKMl-yT.chunk.mjs";import{W as G}from"./Web-CSo1f5Mo.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";const K={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},X=["aria-hidden","aria-label"],ee=["fill","width","height"],ae={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},re={key:0};function te(b,u,o,w,h,x){return l(),g("span",A(b.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-icon",role:"img",onClick:u[0]||(u[0]=k=>b.$emit("click",k))}),[(l(),g("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[r("path",ae,[o.title?(l(),g("title",re,i(o.title),1)):F("",!0)])],8,ee))],16,X)}const oe=S(K,[["render",te]]),ie={class:"social-button"},le=["src"],ne=["src"],se=["src"],de={style:{margin:"10px 0"}},ce=["href"],ue=H({__name:"PersonalSettings",setup(b){const u=window.OC.theme.productName,o=c("federatedfilesharing","color"),w=c("federatedfilesharing","textColor"),h=c("federatedfilesharing","cloudId"),x=c("federatedfilesharing","docUrlFederated"),k=c("federatedfilesharing","logoPath"),f=c("federatedfilesharing","reference"),U=_("core","facebook"),z=_("core","mastodon"),D=_("core","bluesky"),B=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID, see {url}",{url:f}),M=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID"),R=`https://mastodon.social/?text=${encodeURIComponent(M)}&url=${encodeURIComponent(f)}`,T=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(f)}`,O=`https://bsky.app/intent/compose?text=${encodeURIComponent(B)}`,P=new URL(k,location.origin),v=N(!1),p=N(!1),I=C(()=>`
import{o as l,f as g,g as r,t as i,h as F,m as A,b as H,c as y,w as t,k as s,u as e,j as d,F as J,Q,l as N,v as C,e as W}from"./preload-helper-BByimXjD.chunk.mjs";import{d as L}from"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import{_ as S,l as c}from"./public-C1mLBHT3.chunk.mjs";import{t as a}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{k as _}from"./index-CziSTDUD.chunk.mjs";import{N as m}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as Z}from"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";import{I as q,N as E}from"./ContentCopy-dHKMl-yT.chunk.mjs";import{W as G}from"./Web-CSo1f5Mo.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";const K={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},X=["aria-hidden","aria-label"],ee=["fill","width","height"],ae={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},re={key:0};function te(b,u,o,w,h,x){return l(),g("span",A(b.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-icon",role:"img",onClick:u[0]||(u[0]=k=>b.$emit("click",k))}),[(l(),g("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[r("path",ae,[o.title?(l(),g("title",re,i(o.title),1)):F("",!0)])],8,ee))],16,X)}const oe=S(K,[["render",te]]),ie={class:"social-button"},le=["src"],ne=["src"],se=["src"],de={style:{margin:"10px 0"}},ce=["href"],ue=H({__name:"PersonalSettings",setup(b){const u=window.OC.theme.productName,o=c("federatedfilesharing","color"),w=c("federatedfilesharing","textColor"),h=c("federatedfilesharing","cloudId"),x=c("federatedfilesharing","docUrlFederated"),k=c("federatedfilesharing","logoPath"),f=c("federatedfilesharing","reference"),U=_("core","facebook"),z=_("core","mastodon"),D=_("core","bluesky"),B=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID, see {url}",{url:f}),M=a("federatedfilesharing","Share with me through my #Nextcloud Federated Cloud ID"),R=`https://mastodon.social/?text=${encodeURIComponent(M)}&url=${encodeURIComponent(f)}`,T=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(f)}`,O=`https://bsky.app/intent/compose?text=${encodeURIComponent(B)}`,P=new URL(k,location.origin),v=N(!1),p=N(!1),I=C(()=>`
padding:10px;
background-color:${o};
color:${w};

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/AuthMechanismRsa-Cy8KY8Lf.chunk.mjs'),window.OC.filePath('', '', 'dist/preload-helper-BByimXjD.chunk.mjs'),window.OC.filePath('', '', 'dist/index-COpU9qvO.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CziSTDUD.chunk.mjs'),window.OC.filePath('', '', 'dist/util-BUyb4W9M.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-DNp_1D6N.chunk.mjs'),window.OC.filePath('', '', 'dist/index-B78e9rzX.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-DgB87uF-.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-CSo1f5Mo.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-CPJIGC2H.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/common-Web-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/common-ArrowRight-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/common-NcModal-kyWZ3UFC-CBh34man.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DeYHYTy2.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-BWzBLGOK.chunk.mjs'),window.OC.filePath('', '', 'dist/common-mdi-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-C8_Me_Lb.chunk.mjs'),window.OC.filePath('', '', 'dist/common-index-B9mkBKAR.chunk.css'),window.OC.filePath('', '', 'dist/NcCheckboxRadioSwitch-D0gFwEVl-CVdipCjx.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcCheckboxRadioSwitch-D0gFwEVl-CQwJiKOs.chunk.css'),window.OC.filePath('', '', 'dist/NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcInputField-CPL-a_MM-Bsffit-T.chunk.css'),window.OC.filePath('', '', 'dist/common-NcPasswordField-BOLzDHBJ-DxPSRxK-.chunk.css'),window.OC.filePath('', '', 'dist/NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-B-_jVAzM.chunk.mjs'),window.OC.filePath('', '', 'dist/types-Tl0syaH7.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-DHe_YI70.chunk.mjs')])))=>i.map(i=>d[i]);
import{d as a,a as t,_ as i}from"./preload-helper-BByimXjD.chunk.mjs";const s=t(()=>i(()=>import("./AuthMechanismRsa-Cy8KY8Lf.chunk.mjs").then(e=>e.A),__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]),import.meta.url)),r=a(s,{shadowRoot:!1});customElements.define("files_external-auth-mechanism-rsa",r),window.OCA.FilesExternal.AuthMechanism.registerHandler({id:"rsa",tagName:"files_external-auth-mechanism-rsa",enabled(e){return e.scheme==="publickey"&&e.identifier==="publickey::rsa"}});
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/AuthMechanismRsa-BmOnw34B.chunk.mjs'),window.OC.filePath('', '', 'dist/preload-helper-BByimXjD.chunk.mjs'),window.OC.filePath('', '', 'dist/index-COpU9qvO.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CziSTDUD.chunk.mjs'),window.OC.filePath('', '', 'dist/util-BUyb4W9M.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-BhXb8nZF.chunk.mjs'),window.OC.filePath('', '', 'dist/index-B78e9rzX.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-DgB87uF-.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-CSo1f5Mo.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-CPJIGC2H.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/common-Web-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/common-ArrowRight-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/common-NcModal-kyWZ3UFC-CBh34man.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DeYHYTy2.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-BWzBLGOK.chunk.mjs'),window.OC.filePath('', '', 'dist/common-mdi-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-C8_Me_Lb.chunk.mjs'),window.OC.filePath('', '', 'dist/common-index-B9mkBKAR.chunk.css'),window.OC.filePath('', '', 'dist/NcCheckboxRadioSwitch-D0gFwEVl-CVdipCjx.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcCheckboxRadioSwitch-D0gFwEVl-CQwJiKOs.chunk.css'),window.OC.filePath('', '', 'dist/NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcInputField-CPL-a_MM-Bsffit-T.chunk.css'),window.OC.filePath('', '', 'dist/common-NcPasswordField-BOLzDHBJ-DxPSRxK-.chunk.css'),window.OC.filePath('', '', 'dist/NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-B-_jVAzM.chunk.mjs'),window.OC.filePath('', '', 'dist/types-Tl0syaH7.chunk.mjs'),window.OC.filePath('', '', 'dist/logger-DHe_YI70.chunk.mjs')])))=>i.map(i=>d[i]);
import{d as a,a as t,_ as i}from"./preload-helper-BByimXjD.chunk.mjs";const s=t(()=>i(()=>import("./AuthMechanismRsa-BmOnw34B.chunk.mjs").then(e=>e.A),__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]),import.meta.url)),r=a(s,{shadowRoot:!1});customElements.define("files_external-auth-mechanism-rsa",r),window.OCA.FilesExternal.AuthMechanism.registerHandler({id:"rsa",tagName:"files_external-auth-mechanism-rsa",enabled(e){return e.scheme==="publickey"&&e.identifier==="publickey::rsa"}});
//# sourceMappingURL=files_external-auth_rsa.mjs.map

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

View file

@ -1,4 +1,4 @@
import{C as c,V as _,b as v,c as x,a as V}from"./index-CsvAZXm-.chunk.mjs";import{a as o,b as H,i as A,g as C,h as N,j as E,f as h}from"./index-CziSTDUD.chunk.mjs";import{c as u,i as S}from"./index-COpU9qvO.chunk.mjs";import{a as b,d as $,g as I}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import{P as D}from"./folder-29HuacU_-DJN0TjDe.chunk.mjs";import{g as y,b as f,t as n}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{g as L,a as M,b as T,r as k,d as F}from"./dav-C7DVqzVQ.chunk.mjs";import{f as B}from"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import{e as U}from"./preload-helper-BByimXjD.chunk.mjs";import{N as P}from"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import{l as O}from"./public-C1mLBHT3.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./index-D74jx3re.chunk.mjs";import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";const R='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-history" viewBox="0 0 24 24"><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg>',j='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-trash-can-outline" viewBox="0 0 24 24"><path d="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z" /></svg>',w=`/trashbin/${o()?.uid}/trash`,q=L(),z=`<?xml version="1.0"?>
import{C as c,V as _,b as v,c as x,a as V}from"./index-CsvAZXm-.chunk.mjs";import{a as o,b as H,i as A,g as C,h as N,j as E,f as h}from"./index-CziSTDUD.chunk.mjs";import{c as u,i as S}from"./index-COpU9qvO.chunk.mjs";import{a as b,d as $,g as I}from"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import{P as D}from"./folder-29HuacU_-DJN0TjDe.chunk.mjs";import{g as y,b as f,t as n}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{g as L,a as M,b as T,r as k,d as F}from"./dav-CyDaXJUZ.chunk.mjs";import{f as B}from"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import{e as U}from"./preload-helper-BByimXjD.chunk.mjs";import{N as P}from"./NcUserBubble-BE6yD-R0-ClcDBpx3.chunk.mjs";import{l as O}from"./public-C1mLBHT3.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./index-dJbKiCqw.chunk.mjs";import"./NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs";import"./colors-BfjxNgsx-J-p3roax.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs";import"./PencilOutline-Bd3gXgSl.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs";const R='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-history" viewBox="0 0 24 24"><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg>',j='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-trash-can-outline" viewBox="0 0 24 24"><path d="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z" /></svg>',w=`/trashbin/${o()?.uid}/trash`,q=L(),z=`<?xml version="1.0"?>
<d:propfind ${M()}>
<d:prop>
<nc:trashbin-deletion-time />

View file

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/FilesVersionsSidebarTab-BBoWQihL.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-DNp_1D6N.chunk.mjs'),window.OC.filePath('', '', 'dist/preload-helper-BByimXjD.chunk.mjs'),window.OC.filePath('', '', 'dist/index-B78e9rzX.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-DgB87uF-.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-CSo1f5Mo.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-CPJIGC2H.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CziSTDUD.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/common-Web-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/common-ArrowRight-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/common-NcModal-kyWZ3UFC-CBh34man.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DeYHYTy2.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-BWzBLGOK.chunk.mjs'),window.OC.filePath('', '', 'dist/common-mdi-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-CsvAZXm-.chunk.mjs'),window.OC.filePath('', '', 'dist/folder-29HuacU_-DJN0TjDe.chunk.mjs'),window.OC.filePath('', '', 'dist/util-BUyb4W9M.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-Bd3gXgSl.chunk.mjs'),window.OC.filePath('', '', 'dist/common-PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs'),window.OC.filePath('', '', 'dist/index-COpU9qvO.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-BfjxNgsx-J-p3roax.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserStatusIcon-JWiuiAXe-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/common-NcAvatar-ruClKRzS-D_G6wUEW.chunk.css'),window.OC.filePath('', '', 'dist/TrayArrowDown-CnFJ32oN.chunk.mjs'),window.OC.filePath('', '', 'dist/common-TrayArrowDown-D79n0IQ6.chunk.css'),window.OC.filePath('', '', 'dist/NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-B-_jVAzM.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcInputField-CPL-a_MM-Bsffit-T.chunk.css'),window.OC.filePath('', '', 'dist/dav-C7DVqzVQ.chunk.mjs'),window.OC.filePath('', '', 'dist/index-D74jx3re.chunk.mjs'),window.OC.filePath('', '', 'dist/files_versions-FilesVersionsSidebarTab-Cjl2hr1y.chunk.css')])))=>i.map(i=>d[i]);
import{d as i,a as r,_ as e}from"./preload-helper-BByimXjD.chunk.mjs";import{r as t}from"./index-CsvAZXm-.chunk.mjs";import{t as m}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{i as n}from"./public-C1mLBHT3.chunk.mjs";import{F as a}from"./folder-29HuacU_-DJN0TjDe.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";const d='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-backup-restore" viewBox="0 0 24 24"><path d="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z" /></svg>',s="files-versions_sidebar-tab";t({id:"files_versions",tagName:s,order:90,displayName:m("files_versions","Versions"),iconSvgInline:d,enabled({node:o}){return!(n()||o.type!==a.File)},async onInit(){const o=r(()=>e(()=>import("./FilesVersionsSidebarTab-BBoWQihL.chunk.mjs"),__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]),import.meta.url));window.customElements.define(s,i(o,{shadowRoot:!1}))}});
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('', '', 'dist/FilesVersionsSidebarTab-BjVGncpx.chunk.mjs'),window.OC.filePath('', '', 'dist/index-C1xmmKTZ-BhXb8nZF.chunk.mjs'),window.OC.filePath('', '', 'dist/preload-helper-BByimXjD.chunk.mjs'),window.OC.filePath('', '', 'dist/index-B78e9rzX.chunk.mjs'),window.OC.filePath('', '', 'dist/NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs'),window.OC.filePath('', '', 'dist/ArrowRight-DgB87uF-.chunk.mjs'),window.OC.filePath('', '', 'dist/Web-CSo1f5Mo.chunk.mjs'),window.OC.filePath('', '', 'dist/translation-DoG5ZELJ-CPJIGC2H.chunk.mjs'),window.OC.filePath('', '', 'dist/index-CziSTDUD.chunk.mjs'),window.OC.filePath('', '', 'dist/public-C1mLBHT3.chunk.mjs'),window.OC.filePath('', '', 'dist/common-Web-C_oBIsvc.chunk.css'),window.OC.filePath('', '', 'dist/common-ArrowRight-D7L4ZBkR.chunk.css'),window.OC.filePath('', '', 'dist/common-NcModal-kyWZ3UFC-CBh34man.chunk.css'),window.OC.filePath('', '', 'dist/TrashCanOutline-DeYHYTy2.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-BWzBLGOK.chunk.mjs'),window.OC.filePath('', '', 'dist/common-mdi-Jq77EThs.chunk.css'),window.OC.filePath('', '', 'dist/index-CsvAZXm-.chunk.mjs'),window.OC.filePath('', '', 'dist/folder-29HuacU_-DJN0TjDe.chunk.mjs'),window.OC.filePath('', '', 'dist/util-BUyb4W9M.chunk.mjs'),window.OC.filePath('', '', 'dist/PencilOutline-Bd3gXgSl.chunk.mjs'),window.OC.filePath('', '', 'dist/common-PencilOutline-DdQinVMt.chunk.css'),window.OC.filePath('', '', 'dist/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcDateTime-DS-ziNw6.chunk.css'),window.OC.filePath('', '', 'dist/NcAvatar-ruClKRzS-CpNPWscr.chunk.mjs'),window.OC.filePath('', '', 'dist/index-COpU9qvO.chunk.mjs'),window.OC.filePath('', '', 'dist/colors-BfjxNgsx-J-p3roax.chunk.mjs'),window.OC.filePath('', '', 'dist/NcUserStatusIcon-JWiuiAXe-DKCNAxz8.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcUserStatusIcon-JWiuiAXe-Bq_6hmXG.chunk.css'),window.OC.filePath('', '', 'dist/common-NcAvatar-ruClKRzS-D_G6wUEW.chunk.css'),window.OC.filePath('', '', 'dist/TrayArrowDown-CnFJ32oN.chunk.mjs'),window.OC.filePath('', '', 'dist/common-TrayArrowDown-D79n0IQ6.chunk.css'),window.OC.filePath('', '', 'dist/NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-B-_jVAzM.chunk.mjs'),window.OC.filePath('', '', 'dist/NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs'),window.OC.filePath('', '', 'dist/common-NcInputField-CPL-a_MM-Bsffit-T.chunk.css'),window.OC.filePath('', '', 'dist/dav-CyDaXJUZ.chunk.mjs'),window.OC.filePath('', '', 'dist/index-dJbKiCqw.chunk.mjs'),window.OC.filePath('', '', 'dist/files_versions-FilesVersionsSidebarTab-Cjl2hr1y.chunk.css')])))=>i.map(i=>d[i]);
import{d as i,a as r,_ as e}from"./preload-helper-BByimXjD.chunk.mjs";import{r as t}from"./index-CsvAZXm-.chunk.mjs";import{t as m}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{i as n}from"./public-C1mLBHT3.chunk.mjs";import{F as a}from"./folder-29HuacU_-DJN0TjDe.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";const d='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-backup-restore" viewBox="0 0 24 24"><path d="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z" /></svg>',s="files-versions_sidebar-tab";t({id:"files_versions",tagName:s,order:90,displayName:m("files_versions","Versions"),iconSvgInline:d,enabled({node:o}){return!(n()||o.type!==a.File)},async onInit(){const o=r(()=>e(()=>import("./FilesVersionsSidebarTab-BjVGncpx.chunk.mjs"),__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]),import.meta.url));window.customElements.define(s,i(o,{shadowRoot:!1}))}});
//# sourceMappingURL=files_versions-sidebar-tab.mjs.map

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

9
dist/index-dJbKiCqw.chunk.mjs vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -3,5 +3,5 @@ SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
This file is generated from multiple sources. Included packages:
- webdav
- version: 5.9.0
- version: 5.10.0
- license: MIT

1
dist/index-dJbKiCqw.chunk.mjs.map vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -3,5 +3,5 @@ SPDX-FileCopyrightText: Perry Mitchell <perry@perrymitchell.net>
This file is generated from multiple sources. Included packages:
- webdav
- version: 5.9.0
- version: 5.10.0
- license: MIT

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
import{r as p,o as u,c as b,w as i,k as l,j as m,t as d,e as f}from"./preload-helper-BByimXjD.chunk.mjs";import{c as w}from"./index-COpU9qvO.chunk.mjs";import{a as g}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import{_ as S,l as c}from"./public-C1mLBHT3.chunk.mjs";import{t as h}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as I}from"./index-Cogf4PrN.chunk.mjs";import{g as k,c as M}from"./index-CziSTDUD.chunk.mjs";import{N}from"./NcCheckboxRadioSwitch-D0gFwEVl-CVdipCjx.chunk.mjs";import{N as R}from"./ContentCopy-dHKMl-yT.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";const T=k().detectLogLevel().setApp("sharebymail").build(),V={name:"AdminSettings",components:{NcCheckboxRadioSwitch:N,NcSettingsSection:R},setup(){return{t:h}},data(){return{sendPasswordMail:c("sharebymail","sendPasswordMail"),replyToInitiator:c("sharebymail","replyToInitiator")}},watch:{sendPasswordMail(t){this.update("sendpasswordmail",t)},replyToInitiator(t){this.update("replyToInitiator",t)}},methods:{async update(t,a){await I();const s=M("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:t}),o=a?"yes":"no";try{const{data:e}=await w.post(s,{value:o});this.handleResponse({status:e.ocs?.meta?.status})}catch(e){this.handleResponse({errorMessage:h("sharebymail","Unable to update share by mail config"),error:e})}},async handleResponse({status:t,errorMessage:a,error:s}){t!=="ok"&&(g(a),T.error(a,{error:s}))}}};function v(t,a,s,o,e,x){const n=p("NcCheckboxRadioSwitch"),y=p("NcSettingsSection");return u(),b(y,{name:o.t("sharebymail","Share by mail"),description:o.t("sharebymail","Allows people to share a personalized link to a file or folder by putting in an email address.")},{default:i(()=>[l(n,{modelValue:e.sendPasswordMail,"onUpdate:modelValue":a[0]||(a[0]=r=>e.sendPasswordMail=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Send password by mail")),1)]),_:1},8,["modelValue"]),l(n,{modelValue:e.replyToInitiator,"onUpdate:modelValue":a[1]||(a[1]=r=>e.replyToInitiator=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Reply to initiator")),1)]),_:1},8,["modelValue"])]),_:1},8,["name","description"])}const P=S(V,[["render",v]]),_=f(P);_.mount("#vue-admin-sharebymail");
import{r as p,o as u,c as b,w as i,k as l,j as m,t as d,e as f}from"./preload-helper-BByimXjD.chunk.mjs";import{c as w}from"./index-COpU9qvO.chunk.mjs";import{a as g}from"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import{_ as S,l as c}from"./public-C1mLBHT3.chunk.mjs";import{t as h}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as I}from"./index-Cogf4PrN.chunk.mjs";import{g as k,c as M}from"./index-CziSTDUD.chunk.mjs";import{N}from"./NcCheckboxRadioSwitch-D0gFwEVl-CVdipCjx.chunk.mjs";import{N as R}from"./ContentCopy-dHKMl-yT.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";const T=k().detectLogLevel().setApp("sharebymail").build(),V={name:"AdminSettings",components:{NcCheckboxRadioSwitch:N,NcSettingsSection:R},setup(){return{t:h}},data(){return{sendPasswordMail:c("sharebymail","sendPasswordMail"),replyToInitiator:c("sharebymail","replyToInitiator")}},watch:{sendPasswordMail(t){this.update("sendpasswordmail",t)},replyToInitiator(t){this.update("replyToInitiator",t)}},methods:{async update(t,a){await I();const s=M("/apps/provisioning_api/api/v1/config/apps/{appId}/{key}",{appId:"sharebymail",key:t}),o=a?"yes":"no";try{const{data:e}=await w.post(s,{value:o});this.handleResponse({status:e.ocs?.meta?.status})}catch(e){this.handleResponse({errorMessage:h("sharebymail","Unable to update share by mail config"),error:e})}},async handleResponse({status:t,errorMessage:a,error:s}){t!=="ok"&&(g(a),T.error(a,{error:s}))}}};function v(t,a,s,o,e,x){const n=p("NcCheckboxRadioSwitch"),y=p("NcSettingsSection");return u(),b(y,{name:o.t("sharebymail","Share by mail"),description:o.t("sharebymail","Allows people to share a personalized link to a file or folder by putting in an email address.")},{default:i(()=>[l(n,{modelValue:e.sendPasswordMail,"onUpdate:modelValue":a[0]||(a[0]=r=>e.sendPasswordMail=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Send password by mail")),1)]),_:1},8,["modelValue"]),l(n,{modelValue:e.replyToInitiator,"onUpdate:modelValue":a[1]||(a[1]=r=>e.replyToInitiator=r),type:"switch"},{default:i(()=>[m(d(o.t("sharebymail","Reply to initiator")),1)]),_:1},8,["modelValue"])]),_:1},8,["name","description"])}const P=S(V,[["render",v]]),_=f(P);_.mount("#vue-admin-sharebymail");
//# sourceMappingURL=sharebymail-admin-settings.mjs.map

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

View file

@ -1,3 +1,3 @@
import{d as U,c as A}from"./pinia-CjL5y06H.chunk.mjs";import{l as _,b as B,o as n,f as l,u as a,c as x,w as k,j as p,t as d,h as E,F as m,g as f,B as I,y as g,k as y,v as N,e as M}from"./preload-helper-BByimXjD.chunk.mjs";import{g as $,l as R,_ as j}from"./public-C1mLBHT3.chunk.mjs";import{a as P}from"./index-C1xmmKTZ-DNp_1D6N.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as F}from"./index-Cogf4PrN.chunk.mjs";import{N as w}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as G}from"./TrashCanOutline-DeYHYTy2.chunk.mjs";import{g as H,b as q}from"./index-CziSTDUD.chunk.mjs";import{c as z}from"./index-COpU9qvO.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";const D=H().detectLogLevel().setApp("twofactor_backupcodes").build();function J(r){const c=$().theming.name||"Nextcloud",e=window.open("",o("twofactor_backupcodes","{name} backup codes",{name:c}));if(!e)throw P(o("twofactor_backupcodes","Unable to open a new tab for printing")),new Error("Unable to open a new tab for printing");const t=e.document.createElement("h1");t.textContent=o("twofactor_backupcodes","{name} backup codes",{name:c});const s=e.document.createElement("pre");for(const b of r){const u=e.document.createTextNode(b);s.appendChild(u),s.appendChild(e.document.createElement("br"))}e.document.body.innerHTML="",e.document.body.appendChild(t),e.document.body.appendChild(s),e.print(),e.close()}async function K(){const r=q("/apps/twofactor_backupcodes/settings/create"),{data:c}=await z.post(r);return c}const v=R("twofactor_backupcodes","state"),O=U("twofactor_backupcodes",()=>{const r=_(v.enabled),c=_(v.total),e=_(v.used),t=_([]);async function s(){r.value=!1;const{codes:b,state:u}=await K();r.value=u.enabled,c.value=u.total,e.value=u.used,t.value=b}return{enabled:r,total:c,used:e,codes:t,generate:s}}),Q=["aria-label"],V=B({__name:"PersonalSettings",setup(r){const c=$().theming.name??"Nextcloud",e=O(),t=_(!1),s=N(()=>e.codes&&e.codes.length>0),b=c+"-backup-codes.txt",u=N(()=>s.value?"data:text/plain,"+encodeURIComponent(e.codes.reduce((i,C)=>i+C+`
import{d as U,c as A}from"./pinia-CjL5y06H.chunk.mjs";import{l as _,b as B,o as n,f as l,u as a,c as x,w as k,j as p,t as d,h as E,F as m,g as f,B as I,y as g,k as y,v as N,e as M}from"./preload-helper-BByimXjD.chunk.mjs";import{g as $,l as R,_ as j}from"./public-C1mLBHT3.chunk.mjs";import{a as P}from"./index-C1xmmKTZ-BhXb8nZF.chunk.mjs";import{t as o}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{c as F}from"./index-Cogf4PrN.chunk.mjs";import{N as w}from"./ArrowRight-DgB87uF-.chunk.mjs";import{N as G}from"./TrashCanOutline-DeYHYTy2.chunk.mjs";import{g as H,b as q}from"./index-CziSTDUD.chunk.mjs";import{c as z}from"./index-COpU9qvO.chunk.mjs";import"./index-B78e9rzX.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./mdi-BWzBLGOK.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Cz1Mh_NC.chunk.mjs";import"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";const D=H().detectLogLevel().setApp("twofactor_backupcodes").build();function J(r){const c=$().theming.name||"Nextcloud",e=window.open("",o("twofactor_backupcodes","{name} backup codes",{name:c}));if(!e)throw P(o("twofactor_backupcodes","Unable to open a new tab for printing")),new Error("Unable to open a new tab for printing");const t=e.document.createElement("h1");t.textContent=o("twofactor_backupcodes","{name} backup codes",{name:c});const s=e.document.createElement("pre");for(const b of r){const u=e.document.createTextNode(b);s.appendChild(u),s.appendChild(e.document.createElement("br"))}e.document.body.innerHTML="",e.document.body.appendChild(t),e.document.body.appendChild(s),e.print(),e.close()}async function K(){const r=q("/apps/twofactor_backupcodes/settings/create"),{data:c}=await z.post(r);return c}const v=R("twofactor_backupcodes","state"),O=U("twofactor_backupcodes",()=>{const r=_(v.enabled),c=_(v.total),e=_(v.used),t=_([]);async function s(){r.value=!1;const{codes:b,state:u}=await K();r.value=u.enabled,c.value=u.total,e.value=u.used,t.value=b}return{enabled:r,total:c,used:e,codes:t,generate:s}}),Q=["aria-label"],V=B({__name:"PersonalSettings",setup(r){const c=$().theming.name??"Nextcloud",e=O(),t=_(!1),s=N(()=>e.codes&&e.codes.length>0),b=c+"-backup-codes.txt",u=N(()=>s.value?"data:text/plain,"+encodeURIComponent(e.codes.reduce((i,C)=>i+C+`
`,"")):"");async function h(){await F(),t.value=!0;try{await e.generate()}catch(i){D.error("Error generating backup codes",{error:i}),P(o("twofactor_backupcodes","An error occurred while generating your backup codes"))}finally{t.value=!1}}function T(){J(!e.codes||e.codes.length===0?[]:e.codes)}return(i,C)=>(n(),l("div",{class:g(i.$style.backupcodesSettings)},[a(e).enabled?(n(),l(m,{key:1},[f("p",null,[s.value?(n(),l(m,{key:1},[p(d(a(o)("twofactor_backupcodes","These are your backup codes. Please save and/or print them as you will not be able to read the codes again later."))+" ",1),f("ul",{"aria-label":a(o)("twofactor_backupcodes","List of backup codes")},[(n(!0),l(m,null,I(a(e).codes,S=>(n(),l("li",{key:S,class:g(i.$style.backupcodesSettings__code)},d(S),3))),128))],8,Q)],64)):(n(),l(m,{key:0},[p(d(a(o)("twofactor_backupcodes","Backup codes have been generated. {used} of {total} codes have been used.",{used:a(e).used,total:a(e).total})),1)],64))]),f("p",{class:g(i.$style.backupcodesSettings__actions)},[y(a(w),{id:"generate-backup-codes",variant:"error",onClick:h},{default:k(()=>[p(d(a(o)("twofactor_backupcodes","Regenerate backup codes")),1)]),_:1}),s.value?(n(),l(m,{key:0},[y(a(w),{onClick:T},{default:k(()=>[p(d(a(o)("twofactor_backupcodes","Print backup codes")),1)]),_:1}),y(a(w),{href:u.value,download:b,variant:"primary"},{default:k(()=>[p(d(a(o)("twofactor_backupcodes","Save backup codes")),1)]),_:1},8,["href"])],64)):E("",!0)],2),f("p",null,[f("em",null,d(a(o)("twofactor_backupcodes","If you regenerate backup codes, you automatically invalidate old codes.")),1)])],64)):(n(),x(a(w),{key:0,disabled:t.value,variant:"primary",onClick:h},{icon:k(()=>[t.value?(n(),x(a(G),{key:0})):E("",!0)]),default:k(()=>[p(" "+d(a(o)("twofactor_backupcodes","Generate backup codes")),1)]),_:1},8,["disabled"]))],2))}}),W="_backupcodesSettings_bnkw8_2",X="_backupcodesSettings__code_bnkw8_7",Y="_backupcodesSettings__actions_bnkw8_13",Z={backupcodesSettings:W,backupcodesSettings__code:X,backupcodesSettings__actions:Y},ee={$style:Z},ae=j(V,[["__cssModules",ee]]),oe=A(),L=M(ae);L.use(oe),L.mount("#twofactor-backupcodes-settings");
//# sourceMappingURL=twofactor_backupcodes-settings-personal.mjs.map

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more