mirror of
https://github.com/nextcloud/server.git
synced 2026-05-22 10:06:37 -04:00
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
07215f7d3b
commit
2cd6d1722d
287 changed files with 247 additions and 247 deletions
2
dist/ActivityCommentAction-4Z_gsB_Z.chunk.mjs
vendored
Normal file
2
dist/ActivityCommentAction-4Z_gsB_Z.chunk.mjs
vendored
Normal file
|
|
@ -0,0 +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
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"ActivityCommentAction-CaBMEWuf.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-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"}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
import{a as t}from"./index-C1xmmKTZ-BdqLiU2K.chunk.mjs";import{t as e}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{C as m,a}from"./CommentView-bIFQcpqr.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-CX9gtE7n.chunk.mjs";import{_ as l}from"./public-C1mLBHT3.chunk.mjs";import"./index-C6zIcU-d.chunk.mjs";import"./NcModal-kyWZ3UFC-CV6Hvf6d.chunk.mjs";import"./ArrowRight-JDdFcric.chunk.mjs";import"./Web-lLWc6zap.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./TrashCanOutline-B-GxU5E3.chunk.mjs";import"./mdi-BjKyjJ9m.chunk.mjs";import"./pinia-Bx2CoJV6.chunk.mjs";import"./PencilOutline-Bexowggr.chunk.mjs";/* empty css */import"./NcAvatar-ruClKRzS-DbbQH8Qz.chunk.mjs";import"./index-BpWtOFbq.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-CknPG731.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-FPvdKWWr.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-CDStkW4e.chunk.mjs";import"./NcUserBubble-BE6yD-R0-BI6ZwX-N.chunk.mjs";import"./GetComments-B2KQKdVF.chunk.mjs";import"./index-COu4RIcm.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-CaBMEWuf.chunk.mjs.map
|
||||
2
dist/ActivityCommentEntry-B_giHO2y.chunk.mjs
vendored
2
dist/ActivityCommentEntry-B_giHO2y.chunk.mjs
vendored
|
|
@ -1,2 +0,0 @@
|
|||
import{t as s}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{C as p,a}from"./CommentView-bIFQcpqr.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-CX9gtE7n.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./pinia-Bx2CoJV6.chunk.mjs";import"./PencilOutline-Bexowggr.chunk.mjs";import"./ArrowRight-JDdFcric.chunk.mjs";import"./Web-lLWc6zap.chunk.mjs";import"./NcModal-kyWZ3UFC-CV6Hvf6d.chunk.mjs";/* empty css */import"./NcAvatar-ruClKRzS-DbbQH8Qz.chunk.mjs";import"./index-BpWtOFbq.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-CknPG731.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-FPvdKWWr.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-CDStkW4e.chunk.mjs";import"./TrashCanOutline-B-GxU5E3.chunk.mjs";import"./NcUserBubble-BE6yD-R0-BI6ZwX-N.chunk.mjs";import"./index-C1xmmKTZ-BdqLiU2K.chunk.mjs";import"./index-C6zIcU-d.chunk.mjs";import"./mdi-BjKyjJ9m.chunk.mjs";import"./activity-CS_yDSTQ.chunk.mjs";import"./GetComments-B2KQKdVF.chunk.mjs";import"./index-COu4RIcm.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-B_giHO2y.chunk.mjs.map
|
||||
2
dist/ActivityCommentEntry-CfTf0_m2.chunk.mjs
vendored
Normal file
2
dist/ActivityCommentEntry-CfTf0_m2.chunk.mjs
vendored
Normal file
|
|
@ -0,0 +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
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"ActivityCommentEntry-B_giHO2y.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-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"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -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-CX9gtE7n.chunk.mjs";import{c as q}from"./index-BpWtOFbq.chunk.mjs";import{a as L}from"./index-C1xmmKTZ-BdqLiU2K.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-JDdFcric.chunk.mjs";import{N as z}from"./index-Ck6YKth1.chunk.mjs";import{N as A}from"./NcCheckboxRadioSwitch-D0gFwEVl-DUWN1FjH.chunk.mjs";import{N as B}from"./NcPasswordField-BOLzDHBJ-Ocef6zuk.chunk.mjs";import{_ as C}from"./NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-CTxKDSgI.chunk.mjs";import{a as c,C as k}from"./types-CweMfxpQ.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-Czrnhtbo.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-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
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{r as u,z as h,_ as p,b as C}from"./Web-lLWc6zap.chunk.mjs";import{b as _,o as i,f as e,g as o,j as b,t as s,u as d,k,h as r,i as y,m}from"./preload-helper-CX9gtE7n.chunk.mjs";import{_ as H}from"./public-C1mLBHT3.chunk.mjs";const A={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},v=["aria-hidden","aria-label"],z=["fill","width","height"],V={d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},w={key:0};function M(a,l,t,c,f,g){return i(),e("span",m(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon help-circle-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(i(),e("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",V,[t.title?(i(),e("title",w,s(t.title),1)):r("",!0)])],8,z))],16,v)}const S=p(A,[["render",M]]);u(h);const x={class:"settings-section"},$={class:"settings-section__name"},I=["aria-label","href","title"],N={key:0,class:"settings-section__desc"},U=_({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=C("External documentation");return(t,c)=>(i(),e("div",x,[o("h2",$,[b(s(t.name)+" ",1),t.docUrl?(i(),e("a",{key:0,"aria-label":d(l),class:"settings-section__info",href:t.docUrl,rel:"noreferrer nofollow",target:"_blank",title:d(l)},[k(S,{size:20})],8,I)):r("",!0)]),t.description?(i(),e("p",N,s(t.description),1)):r("",!0),y(t.$slots,"default",{},void 0,!0)]))}}),T=p(U,[["__scopeId","data-v-9cedb949"]]),B={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},L=["aria-hidden","aria-label"],Z=["fill","width","height"],j={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},E={key:0};function q(a,l,t,c,f,g){return i(),e("span",m(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon content-copy-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(i(),e("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",j,[t.title?(i(),e("title",E,s(t.title),1)):r("",!0)])],8,Z))],16,L)}const G=H(B,[["render",q]]);export{G as I,T as N};
|
||||
//# sourceMappingURL=ContentCopy-DS0QzQtq.chunk.mjs.map
|
||||
import{r as u,z as h,_ as p,b as C}from"./Web-CSo1f5Mo.chunk.mjs";import{b as _,o as i,f as e,g as o,j as b,t as s,u as d,k,h as r,i as y,m}from"./preload-helper-BByimXjD.chunk.mjs";import{_ as H}from"./public-C1mLBHT3.chunk.mjs";const A={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},v=["aria-hidden","aria-label"],z=["fill","width","height"],V={d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},w={key:0};function M(a,l,t,c,f,g){return i(),e("span",m(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon help-circle-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(i(),e("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",V,[t.title?(i(),e("title",w,s(t.title),1)):r("",!0)])],8,z))],16,v)}const S=p(A,[["render",M]]);u(h);const x={class:"settings-section"},$={class:"settings-section__name"},I=["aria-label","href","title"],N={key:0,class:"settings-section__desc"},U=_({__name:"NcSettingsSection",props:{name:{},description:{default:""},docUrl:{default:""}},setup(a){const l=C("External documentation");return(t,c)=>(i(),e("div",x,[o("h2",$,[b(s(t.name)+" ",1),t.docUrl?(i(),e("a",{key:0,"aria-label":d(l),class:"settings-section__info",href:t.docUrl,rel:"noreferrer nofollow",target:"_blank",title:d(l)},[k(S,{size:20})],8,I)):r("",!0)]),t.description?(i(),e("p",N,s(t.description),1)):r("",!0),y(t.$slots,"default",{},void 0,!0)]))}}),T=p(U,[["__scopeId","data-v-9cedb949"]]),B={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},L=["aria-hidden","aria-label"],Z=["fill","width","height"],j={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},E={key:0};function q(a,l,t,c,f,g){return i(),e("span",m(a.$attrs,{"aria-hidden":t.title?null:"true","aria-label":t.title,class:"material-design-icon content-copy-icon",role:"img",onClick:l[0]||(l[0]=n=>a.$emit("click",n))}),[(i(),e("svg",{fill:t.fillColor,class:"material-design-icon__svg",width:t.size,height:t.size,viewBox:"0 0 24 24"},[o("path",j,[t.title?(i(),e("title",E,s(t.title),1)):r("",!0)])],8,Z))],16,L)}const G=H(B,[["render",q]]);export{G as I,T as N};
|
||||
//# sourceMappingURL=ContentCopy-dHKMl-yT.chunk.mjs.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{t}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{N as u}from"./index-C6zIcU-d.chunk.mjs";import{N as d}from"./mdi-BjKyjJ9m.chunk.mjs";import{N as p}from"./NcPasswordField-BOLzDHBJ-Ocef6zuk.chunk.mjs";import{_ as c}from"./NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-CTxKDSgI.chunk.mjs";import{b as g,o as f,c as h,w as x,k as s,u as e,l as n}from"./preload-helper-CX9gtE7n.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./NcModal-kyWZ3UFC-CV6Hvf6d.chunk.mjs";import"./ArrowRight-JDdFcric.chunk.mjs";import"./Web-lLWc6zap.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./TrashCanOutline-B-GxU5E3.chunk.mjs";import"./index-BpWtOFbq.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./NcInputField-CPL-a_MM-WQA5jsOf.chunk.mjs";const D=g({__name:"CredentialsDialog",emits:["close"],setup(_){const o=n(""),r=n(""),m=[{label:t("files_external","Confirm"),type:"submit",variant:"primary"}];return(i,a)=>(f(),h(e(u),{buttons:m,class:"external-storage-auth",closeOnClickOutside:"","data-cy-external-storage-auth":"",isForm:"",name:e(t)("files_external","Storage credentials"),outTransition:"",onSubmit:a[2]||(a[2]=l=>i.$emit("close",{login:o.value,password:r.value})),"onUpdate:open":a[3]||(a[3]=l=>i.$emit("close"))},{default:x(()=>[s(e(d),{class:"external-storage-auth__header",text:e(t)("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"},null,8,["text"]),s(e(c),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),autofocus:"",class:"external-storage-auth__login","data-cy-external-storage-auth-dialog-login":"",label:e(t)("files_external","Login"),placeholder:e(t)("files_external","Enter the storage login"),minlength:"2",name:"login",required:""},null,8,["modelValue","label","placeholder"]),s(e(p),{modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=l=>r.value=l),class:"external-storage-auth__password","data-cy-external-storage-auth-dialog-password":"",label:e(t)("files_external","Password"),placeholder:e(t)("files_external","Enter the storage password"),name:"password",required:""},null,8,["modelValue","label","placeholder"])]),_:1},8,["name"]))}});export{D as default};
|
||||
//# sourceMappingURL=CredentialsDialog-CAqWS2Tv.chunk.mjs.map
|
||||
import{t}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{N as u}from"./index-B78e9rzX.chunk.mjs";import{N as d}from"./mdi-BWzBLGOK.chunk.mjs";import{N as p}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{b as g,o as f,c as h,w as x,k as s,u as e,l as n}from"./preload-helper-BByimXjD.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import"./ArrowRight-DgB87uF-.chunk.mjs";import"./Web-CSo1f5Mo.chunk.mjs";import"./public-C1mLBHT3.chunk.mjs";import"./TrashCanOutline-DeYHYTy2.chunk.mjs";import"./index-COpU9qvO.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs";const D=g({__name:"CredentialsDialog",emits:["close"],setup(_){const o=n(""),r=n(""),m=[{label:t("files_external","Confirm"),type:"submit",variant:"primary"}];return(i,a)=>(f(),h(e(u),{buttons:m,class:"external-storage-auth",closeOnClickOutside:"","data-cy-external-storage-auth":"",isForm:"",name:e(t)("files_external","Storage credentials"),outTransition:"",onSubmit:a[2]||(a[2]=l=>i.$emit("close",{login:o.value,password:r.value})),"onUpdate:open":a[3]||(a[3]=l=>i.$emit("close"))},{default:x(()=>[s(e(d),{class:"external-storage-auth__header",text:e(t)("files_external","To access the storage, you need to provide the authentication credentials."),type:"info"},null,8,["text"]),s(e(c),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),autofocus:"",class:"external-storage-auth__login","data-cy-external-storage-auth-dialog-login":"",label:e(t)("files_external","Login"),placeholder:e(t)("files_external","Enter the storage login"),minlength:"2",name:"login",required:""},null,8,["modelValue","label","placeholder"]),s(e(p),{modelValue:r.value,"onUpdate:modelValue":a[1]||(a[1]=l=>r.value=l),class:"external-storage-auth__password","data-cy-external-storage-auth-dialog-password":"",label:e(t)("files_external","Password"),placeholder:e(t)("files_external","Enter the storage password"),name:"password",required:""},null,8,["modelValue","label","placeholder"])]),_:1},8,["name"]))}});export{D as default};
|
||||
//# sourceMappingURL=CredentialsDialog-DdRQTDVx.chunk.mjs.map
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"CredentialsDialog-CAqWS2Tv.chunk.mjs","sources":["../build/frontend/apps/files_external/src/views/CredentialsDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport { t } from '@nextcloud/l10n'\nimport { ref } from 'vue'\nimport NcDialog from '@nextcloud/vue/components/NcDialog'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\nimport NcPasswordField from '@nextcloud/vue/components/NcPasswordField'\nimport NcTextField from '@nextcloud/vue/components/NcTextField'\n\ndefineEmits<{\n\tclose: [payload?: { login: string, password: string }]\n}>()\n\nconst login = ref('')\nconst password = ref('')\n\nconst dialogButtons: InstanceType<typeof NcDialog>['buttons'] = [{\n\tlabel: t('files_external', 'Confirm'),\n\ttype: 'submit',\n\tvariant: 'primary',\n}]\n</script>\n\n<template>\n\t<NcDialog\n\t\t:buttons=\"dialogButtons\"\n\t\tclass=\"external-storage-auth\"\n\t\tcloseOnClickOutside\n\t\tdata-cy-external-storage-auth\n\t\tisForm\n\t\t:name=\"t('files_external', 'Storage credentials')\"\n\t\toutTransition\n\t\t@submit=\"$emit('close', { login, password })\"\n\t\t@update:open=\"$emit('close')\">\n\t\t<!-- Header -->\n\t\t<NcNoteCard\n\t\t\tclass=\"external-storage-auth__header\"\n\t\t\t:text=\"t('files_external', 'To access the storage, you need to provide the authentication credentials.')\"\n\t\t\ttype=\"info\" />\n\n\t\t<!-- Login -->\n\t\t<NcTextField\n\t\t\tv-model=\"login\"\n\t\t\tautofocus\n\t\t\tclass=\"external-storage-auth__login\"\n\t\t\tdata-cy-external-storage-auth-dialog-login\n\t\t\t:label=\"t('files_external', 'Login')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage login')\"\n\t\t\tminlength=\"2\"\n\t\t\tname=\"login\"\n\t\t\trequired />\n\n\t\t<!-- Password -->\n\t\t<NcPasswordField\n\t\t\tv-model=\"password\"\n\t\t\tclass=\"external-storage-auth__password\"\n\t\t\tdata-cy-external-storage-auth-dialog-password\n\t\t\t:label=\"t('files_external', 'Password')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage password')\"\n\t\t\tname=\"password\"\n\t\t\trequired />\n\t</NcDialog>\n</template>\n"],"names":["login","ref","password","dialogButtons","t","_createBlock","_unref","NcDialog","_cache","$event","$emit","_createVNode","NcNoteCard","NcTextField","NcPasswordField"],"mappings":"6zBAiBA,MAAMA,EAAQC,EAAI,EAAE,EACdC,EAAWD,EAAI,EAAE,EAEjBE,EAA0D,CAAC,CAChE,MAAOC,EAAE,iBAAkB,SAAS,EACpC,KAAM,SACN,QAAS,SAAA,CACT,oBAIAC,EAqCWC,EAAAC,CAAA,EAAA,CApCT,QAASJ,EACV,MAAM,wBACN,oBAAA,GACA,gCAAA,GACA,OAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,cAAA,GACC,SAAMI,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEC,EAAAA,MAAK,QAAA,CAAA,MAAYV,EAAA,eAAOE,EAAA,MAAQ,GACxC,+BAAaQ,EAAAA,MAAK,OAAA,EAAA,aAEnB,IAGe,CAHfC,EAGeL,EAAAM,CAAA,EAAA,CAFd,MAAM,gCACL,KAAMN,EAAAF,CAAA,EAAC,iBAAA,4EAAA,EACR,KAAK,MAAA,mBAGNO,EASYL,EAAAO,CAAA,EAAA,YARFb,EAAA,2CAAAA,EAAK,MAAAS,GACd,UAAA,GACA,MAAM,+BACN,6CAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,OAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,yBAAA,EACf,UAAU,IACV,KAAK,QACL,SAAA,EAAA,+CAGDO,EAOYL,EAAAQ,CAAA,EAAA,YANFZ,EAAA,2CAAAA,EAAQ,MAAAO,GACjB,MAAM,kCACN,gDAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,UAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,4BAAA,EACf,KAAK,WACL,SAAA,EAAA"}
|
||||
{"version":3,"file":"CredentialsDialog-DdRQTDVx.chunk.mjs","sources":["../build/frontend/apps/files_external/src/views/CredentialsDialog.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<script setup lang=\"ts\">\nimport { t } from '@nextcloud/l10n'\nimport { ref } from 'vue'\nimport NcDialog from '@nextcloud/vue/components/NcDialog'\nimport NcNoteCard from '@nextcloud/vue/components/NcNoteCard'\nimport NcPasswordField from '@nextcloud/vue/components/NcPasswordField'\nimport NcTextField from '@nextcloud/vue/components/NcTextField'\n\ndefineEmits<{\n\tclose: [payload?: { login: string, password: string }]\n}>()\n\nconst login = ref('')\nconst password = ref('')\n\nconst dialogButtons: InstanceType<typeof NcDialog>['buttons'] = [{\n\tlabel: t('files_external', 'Confirm'),\n\ttype: 'submit',\n\tvariant: 'primary',\n}]\n</script>\n\n<template>\n\t<NcDialog\n\t\t:buttons=\"dialogButtons\"\n\t\tclass=\"external-storage-auth\"\n\t\tcloseOnClickOutside\n\t\tdata-cy-external-storage-auth\n\t\tisForm\n\t\t:name=\"t('files_external', 'Storage credentials')\"\n\t\toutTransition\n\t\t@submit=\"$emit('close', { login, password })\"\n\t\t@update:open=\"$emit('close')\">\n\t\t<!-- Header -->\n\t\t<NcNoteCard\n\t\t\tclass=\"external-storage-auth__header\"\n\t\t\t:text=\"t('files_external', 'To access the storage, you need to provide the authentication credentials.')\"\n\t\t\ttype=\"info\" />\n\n\t\t<!-- Login -->\n\t\t<NcTextField\n\t\t\tv-model=\"login\"\n\t\t\tautofocus\n\t\t\tclass=\"external-storage-auth__login\"\n\t\t\tdata-cy-external-storage-auth-dialog-login\n\t\t\t:label=\"t('files_external', 'Login')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage login')\"\n\t\t\tminlength=\"2\"\n\t\t\tname=\"login\"\n\t\t\trequired />\n\n\t\t<!-- Password -->\n\t\t<NcPasswordField\n\t\t\tv-model=\"password\"\n\t\t\tclass=\"external-storage-auth__password\"\n\t\t\tdata-cy-external-storage-auth-dialog-password\n\t\t\t:label=\"t('files_external', 'Password')\"\n\t\t\t:placeholder=\"t('files_external', 'Enter the storage password')\"\n\t\t\tname=\"password\"\n\t\t\trequired />\n\t</NcDialog>\n</template>\n"],"names":["login","ref","password","dialogButtons","t","_createBlock","_unref","NcDialog","_cache","$event","$emit","_createVNode","NcNoteCard","NcTextField","NcPasswordField"],"mappings":"6zBAiBA,MAAMA,EAAQC,EAAI,EAAE,EACdC,EAAWD,EAAI,EAAE,EAEjBE,EAA0D,CAAC,CAChE,MAAOC,EAAE,iBAAkB,SAAS,EACpC,KAAM,SACN,QAAS,SAAA,CACT,oBAIAC,EAqCWC,EAAAC,CAAA,EAAA,CApCT,QAASJ,EACV,MAAM,wBACN,oBAAA,GACA,gCAAA,GACA,OAAA,GACC,KAAMG,EAAAF,CAAA,EAAC,iBAAA,qBAAA,EACR,cAAA,GACC,SAAMI,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAEC,EAAAA,MAAK,QAAA,CAAA,MAAYV,EAAA,eAAOE,EAAA,MAAQ,GACxC,+BAAaQ,EAAAA,MAAK,OAAA,EAAA,aAEnB,IAGe,CAHfC,EAGeL,EAAAM,CAAA,EAAA,CAFd,MAAM,gCACL,KAAMN,EAAAF,CAAA,EAAC,iBAAA,4EAAA,EACR,KAAK,MAAA,mBAGNO,EASYL,EAAAO,CAAA,EAAA,YARFb,EAAA,2CAAAA,EAAK,MAAAS,GACd,UAAA,GACA,MAAM,+BACN,6CAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,OAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,yBAAA,EACf,UAAU,IACV,KAAK,QACL,SAAA,EAAA,+CAGDO,EAOYL,EAAAQ,CAAA,EAAA,YANFZ,EAAA,2CAAAA,EAAQ,MAAAO,GACjB,MAAM,kCACN,gDAAA,GACC,MAAOH,EAAAF,CAAA,EAAC,iBAAA,UAAA,EACR,YAAaE,EAAAF,CAAA,EAAC,iBAAA,4BAAA,EACf,KAAK,WACL,SAAA,EAAA"}
|
||||
|
|
@ -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-CX9gtE7n.chunk.mjs";import{f as B,g as F,h as G,i as P}from"./mdi-BjKyjJ9m.chunk.mjs";import{t as n}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{N as f}from"./ArrowRight-JDdFcric.chunk.mjs";import{N as g}from"./Web-lLWc6zap.chunk.mjs";import{c as S,D as j,u as E}from"./DiscoverTypePost-CceEAg_E.chunk.mjs";import{_ as H}from"./public-C1mLBHT3.chunk.mjs";import"./index-CziSTDUD.chunk.mjs";import"./index-DZVjGEW7.chunk.mjs";import"./appstore-main.mjs";import"./pinia-Bx2CoJV6.chunk.mjs";import"./NcContent-D69ktIEB-D1gmP6xt.chunk.mjs";import"./NcModal-kyWZ3UFC-CV6Hvf6d.chunk.mjs";import"./PencilOutline-Bexowggr.chunk.mjs";import"./NcTextArea-CseOD9aM-Dr3vykGl.chunk.mjs";import"./index-Ck6YKth1.chunk.mjs";import"./TrashCanOutline-B-GxU5E3.chunk.mjs";import"./TrayArrowDown-rkgZntG8.chunk.mjs";import"./NcInputField-CPL-a_MM-WQA5jsOf.chunk.mjs";import"./index-C6zIcU-d.chunk.mjs";import"./NcAvatar-ruClKRzS-DbbQH8Qz.chunk.mjs";import"./index-BpWtOFbq.chunk.mjs";import"./util-BUyb4W9M.chunk.mjs";import"./colors-BfjxNgsx-CknPG731.chunk.mjs";import"./NcUserStatusIcon-JWiuiAXe-FPvdKWWr.chunk.mjs";import"./NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-CDStkW4e.chunk.mjs";import"./NcEmptyContent-CDgWCt_m-DHBOrQzP.chunk.mjs";import"./NcBreadcrumbs-5gl8Syfa-BJLyzFWC.chunk.mjs";import"./NcPasswordField-BOLzDHBJ-Ocef6zuk.chunk.mjs";import"./NcTextField.vue_vue_type_script_setup_true_lang-B-4HNjYH-CTxKDSgI.chunk.mjs";/* empty css */import"./NcCheckboxRadioSwitch-D0gFwEVl-DUWN1FjH.chunk.mjs";import"./Plus-BNgsg9Vm.chunk.mjs";import"./index-blkJtiu8.chunk.mjs";import"./index-CJNrZ-7b.chunk.mjs";import"./NcEmojiPicker-DGgqTnHp-BL4_K0PB.chunk.mjs";import"./emoji-V9hqFgPs-BoVPPNKM.chunk.mjs";import"./index-DziQfluU.chunk.mjs";/* empty css */import"./index-DIXoyWI1.chunk.mjs";import"./NcSelectTags-B3_tcJAf-CNiunM5T.chunk.mjs";import"./ContentCopy-DS0QzQtq.chunk.mjs";import"./NcUserBubble-BE6yD-R0-BI6ZwX-N.chunk.mjs";import"./modulepreload-polyfill-BxzAKjcf.chunk.mjs";import"./index-C1xmmKTZ-BdqLiU2K.chunk.mjs";import"./index-BeaM7LiW.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-BwKQ9_CZ.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-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
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{j as D}from"./mdi-BjKyjJ9m.chunk.mjs";import{c as E}from"./index-CziSTDUD.chunk.mjs";import{u as L,a as W}from"./index-DZVjGEW7.chunk.mjs";import{N as C}from"./Web-lLWc6zap.chunk.mjs";import{g as F}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{v as l,b as H,H as M,o as r,f as n,c as d,w as v,C as c,j as G,t as N,u as m,g as S,h as f,F as J,B as K,y as O,l as h}from"./preload-helper-CX9gtE7n.chunk.mjs";import{A as P}from"./appstore-main.mjs";import{_ as Q}from"./public-C1mLBHT3.chunk.mjs";function k(e){const t=F();return l(()=>e?.value?R(e.value,t):null)}function R(e,t){return e[t]??e[t.split("_")[0]]??e.en??null}const U={type:{type:String,required:!0,validator:e=>typeof e=="string"&&P.includes(e)},id:{type:String,required:!0},date:{type:Number,required:!1,default:void 0},expiryDate:{type:Number,required:!1,default:void 0},headline:{type:Object,required:!1,default:()=>null},link:{type:String,required:!1,default:()=>null}},V=["id"],X=["src","srcset","type"],Y=["src","alt"],Z={class:"app-discover-post__play-icon-wrapper"},$=H({__name:"DiscoverTypePost",props:{...U,text:{type:Object,required:!1,default:()=>null},media:{type:Object,required:!1,default:()=>null},inline:{type:Boolean,required:!1,default:!1},domId:{type:String,required:!1,default:null}},setup(e){const t=e,g=k(l(()=>t.headline)),b=k(l(()=>t.text)),s=k(l(()=>t.media?.content)),p=l(()=>s.value!==null?[s.value.src].flat():void 0),w=l(()=>s.value?.alt??""),i=l(()=>p.value?.[0]?.mime.startsWith("image/")===!0),A=l(()=>!g.value&&!b.value),q=l(()=>s.value?.link??t.link),_=h(!1),I=l(()=>s.value?.link&&_.value),j=h(),{width:T}=L(j),z=l(()=>T.value<600);function y(a){return a.startsWith("/")?a:E("/apps/appstore/api/v1/discover/media?fileName={fileName}",{fileName:a})}const o=h(),B=W(o,{threshold:.3});return M(()=>{if(!i.value&&o.value){const a=o.value;B.value?(a.muted=!0,a.play()):(a.pause(),a.ended&&(a.currentTime=0,_.value=!1))}}),(a,x)=>(r(),n("article",{id:e.domId,ref_key:"container",ref:j,class:O(["app-discover-post",{"app-discover-post--reverse":e.media&&e.media.alignment==="start","app-discover-post--small":z.value}])},[a.headline||e.text?(r(),d(c(a.link?"AppLink":"div"),{key:0,href:a.link,class:"app-discover-post__text"},{default:v(()=>[(r(),d(c(e.inline?"h4":"h3"),null,{default:v(()=>[G(N(m(g)),1)]),_:1})),S("p",null,N(m(b)),1)]),_:1},8,["href"])):f("",!0),p.value?(r(),d(c(q.value?"AppLink":"div"),{key:1,href:q.value,class:O(["app-discover-post__media",{"app-discover-post__media--fullwidth":A.value,"app-discover-post__media--start":e.media?.alignment==="start","app-discover-post__media--end":e.media?.alignment==="end"}])},{default:v(()=>[(r(),d(c(i.value?"picture":"video"),{ref_key:"mediaElement",ref:o,class:"app-discover-post__media-element",muted:!i.value,playsinline:!i.value,preload:!i.value&&"auto",onEnded:x[0]||(x[0]=u=>_.value=!0)},{default:v(()=>[(r(!0),n(J,null,K(p.value,u=>(r(),n("source",{key:u.src,src:i.value?void 0:y(u.src),srcset:i.value?y(u.src):void 0,type:u.mime},null,8,X))),128)),i.value?(r(),n("img",{key:0,src:y(p.value[0].src),alt:w.value},null,8,Y)):f("",!0)]),_:1},40,["muted","playsinline","preload"])),S("div",Z,[!i.value&&I.value?(r(),d(m(C),{key:0,class:"app-discover-post__play-icon",path:m(D),size:92},null,8,["path"])):f("",!0)])]),_:1},8,["href","class"])):f("",!0)],10,V))}}),ee=Q($,[["__scopeId","data-v-e48b0e2c"]]),pe=Object.freeze(Object.defineProperty({__proto__:null,default:ee},Symbol.toStringTag,{value:"Module"}));export{ee as D,pe as a,U as c,k as u};
|
||||
//# sourceMappingURL=DiscoverTypePost-CceEAg_E.chunk.mjs.map
|
||||
import{j as D}from"./mdi-BWzBLGOK.chunk.mjs";import{c as E}from"./index-CziSTDUD.chunk.mjs";import{u as L,a as W}from"./index-DHHu-vDL.chunk.mjs";import{N as C}from"./Web-CSo1f5Mo.chunk.mjs";import{g as F}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{v as l,b as H,H as M,o as r,f as n,c as d,w as v,C as c,j as G,t as N,u as m,g as S,h as f,F as J,B as K,y as O,l as h}from"./preload-helper-BByimXjD.chunk.mjs";import{A as P}from"./appstore-main.mjs";import{_ as Q}from"./public-C1mLBHT3.chunk.mjs";function k(e){const t=F();return l(()=>e?.value?R(e.value,t):null)}function R(e,t){return e[t]??e[t.split("_")[0]]??e.en??null}const U={type:{type:String,required:!0,validator:e=>typeof e=="string"&&P.includes(e)},id:{type:String,required:!0},date:{type:Number,required:!1,default:void 0},expiryDate:{type:Number,required:!1,default:void 0},headline:{type:Object,required:!1,default:()=>null},link:{type:String,required:!1,default:()=>null}},V=["id"],X=["src","srcset","type"],Y=["src","alt"],Z={class:"app-discover-post__play-icon-wrapper"},$=H({__name:"DiscoverTypePost",props:{...U,text:{type:Object,required:!1,default:()=>null},media:{type:Object,required:!1,default:()=>null},inline:{type:Boolean,required:!1,default:!1},domId:{type:String,required:!1,default:null}},setup(e){const t=e,g=k(l(()=>t.headline)),b=k(l(()=>t.text)),s=k(l(()=>t.media?.content)),p=l(()=>s.value!==null?[s.value.src].flat():void 0),w=l(()=>s.value?.alt??""),i=l(()=>p.value?.[0]?.mime.startsWith("image/")===!0),A=l(()=>!g.value&&!b.value),q=l(()=>s.value?.link??t.link),_=h(!1),I=l(()=>s.value?.link&&_.value),j=h(),{width:T}=L(j),z=l(()=>T.value<600);function y(a){return a.startsWith("/")?a:E("/apps/appstore/api/v1/discover/media?fileName={fileName}",{fileName:a})}const o=h(),B=W(o,{threshold:.3});return M(()=>{if(!i.value&&o.value){const a=o.value;B.value?(a.muted=!0,a.play()):(a.pause(),a.ended&&(a.currentTime=0,_.value=!1))}}),(a,x)=>(r(),n("article",{id:e.domId,ref_key:"container",ref:j,class:O(["app-discover-post",{"app-discover-post--reverse":e.media&&e.media.alignment==="start","app-discover-post--small":z.value}])},[a.headline||e.text?(r(),d(c(a.link?"AppLink":"div"),{key:0,href:a.link,class:"app-discover-post__text"},{default:v(()=>[(r(),d(c(e.inline?"h4":"h3"),null,{default:v(()=>[G(N(m(g)),1)]),_:1})),S("p",null,N(m(b)),1)]),_:1},8,["href"])):f("",!0),p.value?(r(),d(c(q.value?"AppLink":"div"),{key:1,href:q.value,class:O(["app-discover-post__media",{"app-discover-post__media--fullwidth":A.value,"app-discover-post__media--start":e.media?.alignment==="start","app-discover-post__media--end":e.media?.alignment==="end"}])},{default:v(()=>[(r(),d(c(i.value?"picture":"video"),{ref_key:"mediaElement",ref:o,class:"app-discover-post__media-element",muted:!i.value,playsinline:!i.value,preload:!i.value&&"auto",onEnded:x[0]||(x[0]=u=>_.value=!0)},{default:v(()=>[(r(!0),n(J,null,K(p.value,u=>(r(),n("source",{key:u.src,src:i.value?void 0:y(u.src),srcset:i.value?y(u.src):void 0,type:u.mime},null,8,X))),128)),i.value?(r(),n("img",{key:0,src:y(p.value[0].src),alt:w.value},null,8,Y)):f("",!0)]),_:1},40,["muted","playsinline","preload"])),S("div",Z,[!i.value&&I.value?(r(),d(m(C),{key:0,class:"app-discover-post__play-icon",path:m(D),size:92},null,8,["path"])):f("",!0)])]),_:1},8,["href","class"])):f("",!0)],10,V))}}),ee=Q($,[["__scopeId","data-v-e48b0e2c"]]),pe=Object.freeze(Object.defineProperty({__proto__:null,default:ee},Symbol.toStringTag,{value:"Module"}));export{ee as D,pe as a,U as c,k as u};
|
||||
//# sourceMappingURL=DiscoverTypePost-DV867n2W.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
|
|
@ -1,4 +1,4 @@
|
|||
import{a as H}from"./index-C1xmmKTZ-BdqLiU2K.chunk.mjs";import{t as y}from"./translation-DoG5ZELJ-CPJIGC2H.chunk.mjs";import{v as M}from"./NcAvatar-ruClKRzS-DbbQH8Qz.chunk.mjs";import{N}from"./ArrowRight-JDdFcric.chunk.mjs";import{N as S}from"./NcEmptyContent-CDgWCt_m-DHBOrQzP.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-CX9gtE7n.chunk.mjs";import{C as P,a as v}from"./CommentView-bIFQcpqr.chunk.mjs";import{l as b}from"./activity-CS_yDSTQ.chunk.mjs";import{c as j,g as U,D as w}from"./GetComments-B2KQKdVF.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-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"?>
|
||||
<d:propertyupdate
|
||||
xmlns:d="DAV:"
|
||||
xmlns:oc="http://owncloud.org/ns">
|
||||
|
|
@ -8,4 +8,4 @@ import{a as H}from"./index-C1xmmKTZ-BdqLiU2K.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-DFnb_1de.chunk.mjs.map
|
||||
//# sourceMappingURL=FilesSidebarTab-DzQL5sEP.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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
import{A as d}from"./PencilOutline-Bexowggr.chunk.mjs";import{d as _,p as C,q as S}from"./NcModal-kyWZ3UFC-CV6Hvf6d.chunk.mjs";import{_ as f}from"./Web-lLWc6zap.chunk.mjs";import{o as a,f as o,g as n,i as x,Q as g,y as k,t as l,h as y,r as I,k as v,w as h,b as w,u as T,v as m,a5 as p}from"./preload-helper-CX9gtE7n.chunk.mjs";const L={name:"NcActionLink",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{href:{type:String,required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null}}},M=["role"],U=["download","href","aria-label","target","title","role"],N={key:0,class:"action-link__longtext-wrapper"},$={class:"action-link__name"},j=["textContent"],q=["textContent"],A={key:2,class:"action-link__text"};function R(e,t,i,u,c,r){return a(),o("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[n("a",{download:i.download,href:i.href,"aria-label":e.ariaLabel,target:i.target,title:i.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...s)=>e.onClick&&e.onClick(...s))},[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:k(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:g({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(a(),o("span",N,[n("strong",$,l(e.name),1),t[1]||(t[1]=n("br",null,null,-1)),n("span",{class:"action-link__longtext",textContent:l(e.text)},null,8,j)])):e.isLongText?(a(),o("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,q)):(a(),o("span",A,l(e.text),1)),y("",!0)],8,U)],8,M)}const X=f(L,[["render",R],["__scopeId","data-v-32f01b7a"]]),W={name:"NcActionRouter",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{to:{type:[String,Object],required:!0}}},B=["role"],O={key:0,class:"action-router__longtext-wrapper"},D={class:"action-router__name"},Q=["textContent"],z=["textContent"],E={key:2,class:"action-router__text"};function F(e,t,i,u,c,r){const s=I("RouterLink");return a(),o("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[v(s,{"aria-label":e.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",title:e.title,to:i.to,onClick:e.onClick},{default:h(()=>[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:k(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:g({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(a(),o("span",O,[n("strong",D,l(e.name),1),t[0]||(t[0]=n("br",null,null,-1)),n("span",{class:"action-router__longtext",textContent:l(e.text)},null,8,Q)])):e.isLongText?(a(),o("span",{key:1,class:"action-router__longtext",textContent:l(e.text)},null,8,z)):(a(),o("span",E,l(e.text),1)),y("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,B)}const Y=f(W,[["render",F],["__scopeId","data-v-87267750"]]),G=["data-timestamp","title","textContent"],Z=w({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){const t=e,i=m(()=>({format:t.format})),u=m(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),c=S(p(()=>t.timestamp),i),r=C(p(()=>t.timestamp),u),s=m(()=>t.relativeTime?r.value:c.value);return(b,H)=>(a(),o("span",{class:"nc-datetime",dir:"auto","data-timestamp":b.timestamp,title:T(c),textContent:l(s.value)},null,8,G))}});export{X as N,Z as _,Y as a};
|
||||
//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-CDStkW4e.chunk.mjs.map
|
||||
import{A as d}from"./PencilOutline-Bd3gXgSl.chunk.mjs";import{d as _,p as C,q as S}from"./NcModal-kyWZ3UFC-Cl18TGtY.chunk.mjs";import{_ as f}from"./Web-CSo1f5Mo.chunk.mjs";import{o as a,f as o,g as n,i as x,Q as g,y as k,t as l,h as y,r as I,k as v,w as h,b as w,u as T,v as m,a5 as p}from"./preload-helper-BByimXjD.chunk.mjs";const L={name:"NcActionLink",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{href:{type:String,required:!0,validator:e=>{try{return new URL(e)}catch{return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:e=>e&&(!e.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(e)>-1)},title:{type:String,default:null}}},M=["role"],U=["download","href","aria-label","target","title","role"],N={key:0,class:"action-link__longtext-wrapper"},$={class:"action-link__name"},j=["textContent"],q=["textContent"],A={key:2,class:"action-link__text"};function R(e,t,i,u,c,r){return a(),o("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[n("a",{download:i.download,href:i.href,"aria-label":e.ariaLabel,target:i.target,title:i.title,class:"action-link focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",onClick:t[0]||(t[0]=(...s)=>e.onClick&&e.onClick(...s))},[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:k(["action-link__icon",[e.isIconUrl?"action-link__icon--url":e.icon]]),style:g({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(a(),o("span",N,[n("strong",$,l(e.name),1),t[1]||(t[1]=n("br",null,null,-1)),n("span",{class:"action-link__longtext",textContent:l(e.text)},null,8,j)])):e.isLongText?(a(),o("span",{key:1,class:"action-link__longtext",textContent:l(e.text)},null,8,q)):(a(),o("span",A,l(e.text),1)),y("",!0)],8,U)],8,M)}const X=f(L,[["render",R],["__scopeId","data-v-32f01b7a"]]),W={name:"NcActionRouter",mixins:[d],inject:{isInSemanticMenu:{from:_,default:!1}},props:{to:{type:[String,Object],required:!0}}},B=["role"],O={key:0,class:"action-router__longtext-wrapper"},D={class:"action-router__name"},Q=["textContent"],z=["textContent"],E={key:2,class:"action-router__text"};function F(e,t,i,u,c,r){const s=I("RouterLink");return a(),o("li",{class:"action",role:r.isInSemanticMenu&&"presentation"},[v(s,{"aria-label":e.ariaLabel,class:"action-router focusable",rel:"nofollow noreferrer noopener",role:r.isInSemanticMenu&&"menuitem",title:e.title,to:i.to,onClick:e.onClick},{default:h(()=>[x(e.$slots,"icon",{},()=>[n("span",{"aria-hidden":"true",class:k(["action-router__icon",[e.isIconUrl?"action-router__icon--url":e.icon]]),style:g({backgroundImage:e.isIconUrl?`url(${e.icon})`:null})},null,6)],!0),e.name?(a(),o("span",O,[n("strong",D,l(e.name),1),t[0]||(t[0]=n("br",null,null,-1)),n("span",{class:"action-router__longtext",textContent:l(e.text)},null,8,Q)])):e.isLongText?(a(),o("span",{key:1,class:"action-router__longtext",textContent:l(e.text)},null,8,z)):(a(),o("span",E,l(e.text),1)),y("",!0)]),_:3},8,["aria-label","role","title","to","onClick"])],8,B)}const Y=f(W,[["render",F],["__scopeId","data-v-87267750"]]),G=["data-timestamp","title","textContent"],Z=w({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){const t=e,i=m(()=>({format:t.format})),u=m(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),c=S(p(()=>t.timestamp),i),r=C(p(()=>t.timestamp),u),s=m(()=>t.relativeTime?r.value:c.value);return(b,H)=>(a(),o("span",{class:"nc-datetime",dir:"auto","data-timestamp":b.timestamp,title:T(c),textContent:l(s.value)},null,8,G))}});export{X as N,Z as _,Y as a};
|
||||
//# sourceMappingURL=NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL-BqrXIjDq.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
|
|
@ -1,2 +1,2 @@
|
|||
import{_ as l,c as p}from"./Web-lLWc6zap.chunk.mjs";import{b as r,o as s,f as o,i as a,h as n,u as e,j as c,t as d}from"./preload-helper-CX9gtE7n.chunk.mjs";const m=["aria-labelledby"],_={key:0,class:"empty-content__icon","aria-hidden":"true"},y=["id"],u={key:2,class:"empty-content__description"},$={key:3,class:"empty-content__action"},v=r({__name:"NcEmptyContent",props:{description:{default:""},name:{default:""}},setup(b){const i=p();return(t,f)=>(s(),o("div",{"aria-labelledby":e(i),class:"empty-content",role:"note"},[t.$slots.icon?(s(),o("div",_,[a(t.$slots,"icon",{},void 0,!0)])):n("",!0),t.name!==""||t.$slots.name?(s(),o("div",{key:1,id:e(i),class:"empty-content__name"},[a(t.$slots,"name",{},()=>[c(d(t.name),1)],!0)],8,y)):n("",!0),t.description!==""||t.$slots.description?(s(),o("p",u,[a(t.$slots,"description",{},()=>[c(d(t.description),1)],!0)])):n("",!0),t.$slots.action?(s(),o("div",$,[a(t.$slots,"action",{},void 0,!0)])):n("",!0)],8,m))}}),N=l(v,[["__scopeId","data-v-b101d636"]]);export{N};
|
||||
//# sourceMappingURL=NcEmptyContent-CDgWCt_m-DHBOrQzP.chunk.mjs.map
|
||||
import{_ as l,c as p}from"./Web-CSo1f5Mo.chunk.mjs";import{b as r,o as s,f as o,i as a,h as n,u as e,j as c,t as d}from"./preload-helper-BByimXjD.chunk.mjs";const m=["aria-labelledby"],_={key:0,class:"empty-content__icon","aria-hidden":"true"},y=["id"],u={key:2,class:"empty-content__description"},$={key:3,class:"empty-content__action"},v=r({__name:"NcEmptyContent",props:{description:{default:""},name:{default:""}},setup(b){const i=p();return(t,f)=>(s(),o("div",{"aria-labelledby":e(i),class:"empty-content",role:"note"},[t.$slots.icon?(s(),o("div",_,[a(t.$slots,"icon",{},void 0,!0)])):n("",!0),t.name!==""||t.$slots.name?(s(),o("div",{key:1,id:e(i),class:"empty-content__name"},[a(t.$slots,"name",{},()=>[c(d(t.name),1)],!0)],8,y)):n("",!0),t.description!==""||t.$slots.description?(s(),o("p",u,[a(t.$slots,"description",{},()=>[c(d(t.description),1)],!0)])):n("",!0),t.$slots.action?(s(),o("div",$,[a(t.$slots,"action",{},void 0,!0)])):n("",!0)],8,m))}}),N=l(v,[["__scopeId","data-v-b101d636"]]);export{N};
|
||||
//# sourceMappingURL=NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs.map
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"NcEmptyContent-CDgWCt_m-DHBOrQzP.chunk.mjs","sources":["../node_modules/@nextcloud/vue/dist/chunks/NcEmptyContent-CDgWCt_m.mjs"],"sourcesContent":["import '../assets/NcEmptyContent-CLjlZ-UT.css';\nimport { defineComponent, openBlock, createElementBlock, unref, renderSlot, createCommentVNode, createTextVNode, toDisplayString } from \"vue\";\nimport { c as createElementId } from \"./createElementId-DhjFt1I9.mjs\";\nimport { _ as _export_sfc } from \"./_plugin-vue_export-helper-1tPrXgE0.mjs\";\nconst _hoisted_1 = [\"aria-labelledby\"];\nconst _hoisted_2 = {\n key: 0,\n class: \"empty-content__icon\",\n \"aria-hidden\": \"true\"\n};\nconst _hoisted_3 = [\"id\"];\nconst _hoisted_4 = {\n key: 2,\n class: \"empty-content__description\"\n};\nconst _hoisted_5 = {\n key: 3,\n class: \"empty-content__action\"\n};\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"NcEmptyContent\",\n props: {\n description: { default: \"\" },\n name: { default: \"\" }\n },\n setup(__props) {\n const nameId = createElementId();\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n \"aria-labelledby\": unref(nameId),\n class: \"empty-content\",\n role: \"note\"\n }, [\n _ctx.$slots.icon ? (openBlock(), createElementBlock(\"div\", _hoisted_2, [\n renderSlot(_ctx.$slots, \"icon\", {}, void 0, true)\n ])) : createCommentVNode(\"\", true),\n _ctx.name !== \"\" || _ctx.$slots.name ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n id: unref(nameId),\n class: \"empty-content__name\"\n }, [\n renderSlot(_ctx.$slots, \"name\", {}, () => [\n createTextVNode(toDisplayString(_ctx.name), 1)\n ], true)\n ], 8, _hoisted_3)) : createCommentVNode(\"\", true),\n _ctx.description !== \"\" || _ctx.$slots.description ? (openBlock(), createElementBlock(\"p\", _hoisted_4, [\n renderSlot(_ctx.$slots, \"description\", {}, () => [\n createTextVNode(toDisplayString(_ctx.description), 1)\n ], true)\n ])) : createCommentVNode(\"\", true),\n _ctx.$slots.action ? (openBlock(), createElementBlock(\"div\", _hoisted_5, [\n renderSlot(_ctx.$slots, \"action\", {}, void 0, true)\n ])) : createCommentVNode(\"\", true)\n ], 8, _hoisted_1);\n };\n }\n});\nconst NcEmptyContent = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__scopeId\", \"data-v-b101d636\"]]);\nexport {\n NcEmptyContent as N\n};\n//# sourceMappingURL=NcEmptyContent-CDgWCt_m.mjs.map\n"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_sfc_main","defineComponent","__props","nameId","createElementId","_ctx","_cache","openBlock","createElementBlock","unref","renderSlot","createCommentVNode","createTextVNode","toDisplayString","NcEmptyContent","_export_sfc"],"mappings":"6JAIA,MAAMA,EAAa,CAAC,iBAAiB,EAC/BC,EAAa,CACjB,IAAK,EACL,MAAO,sBACP,cAAe,MACjB,EACMC,EAAa,CAAC,IAAI,EAClBC,EAAa,CACjB,IAAK,EACL,MAAO,4BACT,EACMC,EAAa,CACjB,IAAK,EACL,MAAO,uBACT,EACMC,EAA4BC,EAAgB,CAChD,OAAQ,iBACR,MAAO,CACL,YAAa,CAAE,QAAS,EAAE,EAC1B,KAAM,CAAE,QAAS,EAAE,CACvB,EACE,MAAMC,EAAS,CACb,MAAMC,EAASC,EAAe,EAC9B,MAAO,CAACC,EAAMC,KACLC,EAAS,EAAIC,EAAmB,MAAO,CAC5C,kBAAmBC,EAAMN,CAAM,EAC/B,MAAO,gBACP,KAAM,MACd,EAAS,CACDE,EAAK,OAAO,MAAQE,EAAS,EAAIC,EAAmB,MAAOZ,EAAY,CACrEc,EAAWL,EAAK,OAAQ,OAAQ,CAAA,EAAI,OAAQ,EAAI,CAC1D,CAAS,GAAKM,EAAmB,GAAI,EAAI,EACjCN,EAAK,OAAS,IAAMA,EAAK,OAAO,MAAQE,EAAS,EAAIC,EAAmB,MAAO,CAC7E,IAAK,EACL,GAAIC,EAAMN,CAAM,EAChB,MAAO,qBACjB,EAAW,CACDO,EAAWL,EAAK,OAAQ,OAAQ,CAAA,EAAI,IAAM,CACxCO,EAAgBC,EAAgBR,EAAK,IAAI,EAAG,CAAC,CACzD,EAAa,EAAI,CACjB,EAAW,EAAGR,CAAU,GAAKc,EAAmB,GAAI,EAAI,EAChDN,EAAK,cAAgB,IAAMA,EAAK,OAAO,aAAeE,IAAaC,EAAmB,IAAKV,EAAY,CACrGY,EAAWL,EAAK,OAAQ,cAAe,CAAA,EAAI,IAAM,CAC/CO,EAAgBC,EAAgBR,EAAK,WAAW,EAAG,CAAC,CAChE,EAAa,EAAI,CACjB,CAAS,GAAKM,EAAmB,GAAI,EAAI,EACjCN,EAAK,OAAO,QAAUE,EAAS,EAAIC,EAAmB,MAAOT,EAAY,CACvEW,EAAWL,EAAK,OAAQ,SAAU,CAAA,EAAI,OAAQ,EAAI,CAC5D,CAAS,GAAKM,EAAmB,GAAI,EAAI,CACzC,EAAS,EAAGhB,CAAU,EAEpB,CACF,CAAC,EACKmB,EAAiCC,EAAYf,EAAW,CAAC,CAAC,YAAa,iBAAiB,CAAC,CAAC","x_google_ignoreList":[0]}
|
||||
{"version":3,"file":"NcEmptyContent-CDgWCt_m-BbQM3A2Q.chunk.mjs","sources":["../node_modules/@nextcloud/vue/dist/chunks/NcEmptyContent-CDgWCt_m.mjs"],"sourcesContent":["import '../assets/NcEmptyContent-CLjlZ-UT.css';\nimport { defineComponent, openBlock, createElementBlock, unref, renderSlot, createCommentVNode, createTextVNode, toDisplayString } from \"vue\";\nimport { c as createElementId } from \"./createElementId-DhjFt1I9.mjs\";\nimport { _ as _export_sfc } from \"./_plugin-vue_export-helper-1tPrXgE0.mjs\";\nconst _hoisted_1 = [\"aria-labelledby\"];\nconst _hoisted_2 = {\n key: 0,\n class: \"empty-content__icon\",\n \"aria-hidden\": \"true\"\n};\nconst _hoisted_3 = [\"id\"];\nconst _hoisted_4 = {\n key: 2,\n class: \"empty-content__description\"\n};\nconst _hoisted_5 = {\n key: 3,\n class: \"empty-content__action\"\n};\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"NcEmptyContent\",\n props: {\n description: { default: \"\" },\n name: { default: \"\" }\n },\n setup(__props) {\n const nameId = createElementId();\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n \"aria-labelledby\": unref(nameId),\n class: \"empty-content\",\n role: \"note\"\n }, [\n _ctx.$slots.icon ? (openBlock(), createElementBlock(\"div\", _hoisted_2, [\n renderSlot(_ctx.$slots, \"icon\", {}, void 0, true)\n ])) : createCommentVNode(\"\", true),\n _ctx.name !== \"\" || _ctx.$slots.name ? (openBlock(), createElementBlock(\"div\", {\n key: 1,\n id: unref(nameId),\n class: \"empty-content__name\"\n }, [\n renderSlot(_ctx.$slots, \"name\", {}, () => [\n createTextVNode(toDisplayString(_ctx.name), 1)\n ], true)\n ], 8, _hoisted_3)) : createCommentVNode(\"\", true),\n _ctx.description !== \"\" || _ctx.$slots.description ? (openBlock(), createElementBlock(\"p\", _hoisted_4, [\n renderSlot(_ctx.$slots, \"description\", {}, () => [\n createTextVNode(toDisplayString(_ctx.description), 1)\n ], true)\n ])) : createCommentVNode(\"\", true),\n _ctx.$slots.action ? (openBlock(), createElementBlock(\"div\", _hoisted_5, [\n renderSlot(_ctx.$slots, \"action\", {}, void 0, true)\n ])) : createCommentVNode(\"\", true)\n ], 8, _hoisted_1);\n };\n }\n});\nconst NcEmptyContent = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__scopeId\", \"data-v-b101d636\"]]);\nexport {\n NcEmptyContent as N\n};\n//# sourceMappingURL=NcEmptyContent-CDgWCt_m.mjs.map\n"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_sfc_main","defineComponent","__props","nameId","createElementId","_ctx","_cache","openBlock","createElementBlock","unref","renderSlot","createCommentVNode","createTextVNode","toDisplayString","NcEmptyContent","_export_sfc"],"mappings":"6JAIA,MAAMA,EAAa,CAAC,iBAAiB,EAC/BC,EAAa,CACjB,IAAK,EACL,MAAO,sBACP,cAAe,MACjB,EACMC,EAAa,CAAC,IAAI,EAClBC,EAAa,CACjB,IAAK,EACL,MAAO,4BACT,EACMC,EAAa,CACjB,IAAK,EACL,MAAO,uBACT,EACMC,EAA4BC,EAAgB,CAChD,OAAQ,iBACR,MAAO,CACL,YAAa,CAAE,QAAS,EAAE,EAC1B,KAAM,CAAE,QAAS,EAAE,CACvB,EACE,MAAMC,EAAS,CACb,MAAMC,EAASC,EAAe,EAC9B,MAAO,CAACC,EAAMC,KACLC,EAAS,EAAIC,EAAmB,MAAO,CAC5C,kBAAmBC,EAAMN,CAAM,EAC/B,MAAO,gBACP,KAAM,MACd,EAAS,CACDE,EAAK,OAAO,MAAQE,EAAS,EAAIC,EAAmB,MAAOZ,EAAY,CACrEc,EAAWL,EAAK,OAAQ,OAAQ,CAAA,EAAI,OAAQ,EAAI,CAC1D,CAAS,GAAKM,EAAmB,GAAI,EAAI,EACjCN,EAAK,OAAS,IAAMA,EAAK,OAAO,MAAQE,EAAS,EAAIC,EAAmB,MAAO,CAC7E,IAAK,EACL,GAAIC,EAAMN,CAAM,EAChB,MAAO,qBACjB,EAAW,CACDO,EAAWL,EAAK,OAAQ,OAAQ,CAAA,EAAI,IAAM,CACxCO,EAAgBC,EAAgBR,EAAK,IAAI,EAAG,CAAC,CACzD,EAAa,EAAI,CACjB,EAAW,EAAGR,CAAU,GAAKc,EAAmB,GAAI,EAAI,EAChDN,EAAK,cAAgB,IAAMA,EAAK,OAAO,aAAeE,IAAaC,EAAmB,IAAKV,EAAY,CACrGY,EAAWL,EAAK,OAAQ,cAAe,CAAA,EAAI,IAAM,CAC/CO,EAAgBC,EAAgBR,EAAK,WAAW,EAAG,CAAC,CAChE,EAAa,EAAI,CACjB,CAAS,GAAKM,EAAmB,GAAI,EAAI,EACjCN,EAAK,OAAO,QAAUE,EAAS,EAAIC,EAAmB,MAAOT,EAAY,CACvEW,EAAWL,EAAK,OAAQ,SAAU,CAAA,EAAI,OAAQ,EAAI,CAC5D,CAAS,GAAKM,EAAmB,GAAI,EAAI,CACzC,EAAS,EAAGhB,CAAU,EAEpB,CACF,CAAC,EACKmB,EAAiCC,EAAYf,EAAW,CAAC,CAAC,YAAa,iBAAiB,CAAC,CAAC","x_google_ignoreList":[0]}
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
import{b as V,n as j,K as F,p as M,o as i,f as n,g as p,m as q,t as h,h as u,L as A,M as K,i as v,c as t,w as S,u as s,j as z,y as D,s as y,v as o}from"./preload-helper-CX9gtE7n.chunk.mjs";import{N as E,e as g,f as m,i as x}from"./ArrowRight-JDdFcric.chunk.mjs";import{_ as G,N as d,c as H}from"./Web-lLWc6zap.chunk.mjs";const J={class:"input-field__main-wrapper"},P=["id","aria-describedby","disabled","placeholder","type","value"],Q=["for"],R={class:"input-field__icon input-field__icon--leading"},U={key:2,class:"input-field__icon input-field__icon--trailing"},W=["id"],X=V({inheritAttrs:!1,__name:"NcInputField",props:y({class:{default:""},inputClass:{default:""},id:{default:()=>H()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:y(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:B,emit:k}){const r=j(c,"modelValue"),l=c,$=k;B({focus:N,select:O});const f=F(),b=M("input"),T=o(()=>l.showTrailingButton||l.success),w=o(()=>{if(l.placeholder)return l.placeholder;if(l.label)return x?l.label:""}),_=o(()=>l.label||l.labelOutside),C=o(()=>{const e=[];return l.helperText&&e.push(`${l.id}-helper-text`),f["aria-describedby"]&&e.push(String(f["aria-describedby"])),e.join(" ")||void 0});function N(e){b.value.focus(e)}function O(){b.value.select()}function I(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),n("div",{class:D(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!_.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":T.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":s(x)},e.$props.class]])},[p("div",J,[p("input",q(e.$attrs,{id:e.id,ref:"input","aria-describedby":C.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:w.value,type:e.type,value:r.value.toString(),onInput:I}),null,16,P),!e.labelOutside&&_.value?(i(),n("label",{key:0,class:"input-field__label",for:e.id},h(e.label),9,Q)):u("",!0),A(p("div",R,[v(e.$slots,"icon",{},void 0,!0)],512),[[K,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(E,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=L=>$("trailingButtonClick",L))},{icon:S(()=>[v(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),n("div",U,[e.success?(i(),t(d,{key:0,path:s(g)},null,8,["path"])):(i(),t(d,{key:1,path:s(m)},null,8,["path"]))])):u("",!0)]),e.helperText?(i(),n("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?(i(),t(d,{key:0,class:"input-field__helper-text-message__icon",path:s(g),inline:""},null,8,["path"])):e.error?(i(),t(d,{key:1,class:"input-field__helper-text-message__icon",path:s(m),inline:""},null,8,["path"])):u("",!0),z(" "+h(e.helperText),1)],8,W)):u("",!0)],2))}}),le=G(X,[["__scopeId","data-v-fccfce00"]]);export{le as N};
|
||||
//# sourceMappingURL=NcInputField-CPL-a_MM-WQA5jsOf.chunk.mjs.map
|
||||
import{b as V,n as j,K as F,p as M,o as i,f as n,g as p,m as q,t as h,h as u,L as A,M as K,i as v,c as t,w as S,u as s,j as z,y as D,s as y,v as o}from"./preload-helper-BByimXjD.chunk.mjs";import{N as E,e as g,f as m,i as x}from"./ArrowRight-DgB87uF-.chunk.mjs";import{_ as G,N as d,c as H}from"./Web-CSo1f5Mo.chunk.mjs";const J={class:"input-field__main-wrapper"},P=["id","aria-describedby","disabled","placeholder","type","value"],Q=["for"],R={class:"input-field__icon input-field__icon--leading"},U={key:2,class:"input-field__icon input-field__icon--trailing"},W=["id"],X=V({inheritAttrs:!1,__name:"NcInputField",props:y({class:{default:""},inputClass:{default:""},id:{default:()=>H()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:y(["trailingButtonClick"],["update:modelValue"]),setup(c,{expose:B,emit:k}){const r=j(c,"modelValue"),l=c,$=k;B({focus:N,select:O});const f=F(),b=M("input"),T=o(()=>l.showTrailingButton||l.success),w=o(()=>{if(l.placeholder)return l.placeholder;if(l.label)return x?l.label:""}),_=o(()=>l.label||l.labelOutside),C=o(()=>{const e=[];return l.helperText&&e.push(`${l.id}-helper-text`),f["aria-describedby"]&&e.push(String(f["aria-describedby"])),e.join(" ")||void 0});function N(e){b.value.focus(e)}function O(){b.value.select()}function I(e){const a=e.target;r.value=l.type==="number"&&typeof r.value=="number"?parseFloat(a.value):a.value}return(e,a)=>(i(),n("div",{class:D(["input-field",[{"input-field--disabled":e.disabled,"input-field--error":e.error,"input-field--label-outside":e.labelOutside||!_.value,"input-field--leading-icon":!!e.$slots.icon,"input-field--trailing-icon":T.value,"input-field--pill":e.pill,"input-field--success":e.success,"input-field--legacy":s(x)},e.$props.class]])},[p("div",J,[p("input",q(e.$attrs,{id:e.id,ref:"input","aria-describedby":C.value,"aria-live":"polite",class:["input-field__input",e.inputClass],disabled:e.disabled,placeholder:w.value,type:e.type,value:r.value.toString(),onInput:I}),null,16,P),!e.labelOutside&&_.value?(i(),n("label",{key:0,class:"input-field__label",for:e.id},h(e.label),9,Q)):u("",!0),A(p("div",R,[v(e.$slots,"icon",{},void 0,!0)],512),[[K,!!e.$slots.icon]]),e.showTrailingButton?(i(),t(E,{key:1,class:"input-field__trailing-button","aria-label":e.trailingButtonLabel,disabled:e.disabled,variant:"tertiary-no-background",onClick:a[0]||(a[0]=L=>$("trailingButtonClick",L))},{icon:S(()=>[v(e.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):e.success||e.error?(i(),n("div",U,[e.success?(i(),t(d,{key:0,path:s(g)},null,8,["path"])):(i(),t(d,{key:1,path:s(m)},null,8,["path"]))])):u("",!0)]),e.helperText?(i(),n("p",{key:0,id:`${e.id}-helper-text`,class:"input-field__helper-text-message"},[e.success?(i(),t(d,{key:0,class:"input-field__helper-text-message__icon",path:s(g),inline:""},null,8,["path"])):e.error?(i(),t(d,{key:1,class:"input-field__helper-text-message__icon",path:s(m),inline:""},null,8,["path"])):u("",!0),z(" "+h(e.helperText),1)],8,W)):u("",!0)],2))}}),le=G(X,[["__scopeId","data-v-fccfce00"]]);export{le as N};
|
||||
//# sourceMappingURL=NcInputField-CPL-a_MM-DbT1N8jl.chunk.mjs.map
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue