-
Notifications
You must be signed in to change notification settings - Fork 83
/
files-modal.js
2 lines (2 loc) 路 1000 Bytes
/
files-modal.js
1
2
"use strict";(self.webpackChunk_nextcloud_text=self.webpackChunk_nextcloud_text||[]).push([["files-modal"],{59537:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});const i={name:"PublicFilesEditor",components:{NcModal:l(15961).Jc,Editor:()=>Promise.all([l.e("vendors"),l.e("editor")]).then(l.bind(l,17478))},props:{fileId:{type:Number,default:null},relativePath:{type:String,default:null},active:{type:Boolean,default:!1},shareToken:{type:String,default:null},mimeType:{type:String,default:null}},computed:{fileName(){return this.relativePath.substring(this.relativePath.lastIndexOf("/")+1)}},methods:{close(){this.$emit("close")}}};const a=(0,l(51900).Z)(i,(function(){var e=this,t=e._self._c;return e.active?t("NcModal",{attrs:{title:e.fileName},on:{close:e.close}},[t("Editor",{attrs:{"file-id":e.fileId,"relative-path":e.relativePath,active:e.active,"share-token":e.shareToken,mime:e.mimeType}})],1):e._e()}),[],!1,null,null,null).exports}}]);
//# sourceMappingURL=files-modal.js.map?v=4c63da6e8638be7b42e8