Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/dist/sidebar.js')
-rw-r--r--apps/files/js/dist/sidebar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/dist/sidebar.js b/apps/files/js/dist/sidebar.js
index d23afe56c66..2d6e75ffb76 100644
--- a/apps/files/js/dist/sidebar.js
+++ b/apps/files/js/dist/sidebar.js
@@ -275,7 +275,7 @@ e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
- */var h=function(e){return A.apply(this,arguments)};function A(){var e;return e=regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c()({method:"PROPFIND",url:t,data:'<?xml version="1.0"?>\n\t\t\t<d:propfind xmlns:d="DAV:"\n\t\t\t\txmlns:oc="http://owncloud.org/ns"\n\t\t\t\txmlns:nc="http://nextcloud.org/ns"\n\t\t\t\txmlns:ocs="http://open-collaboration-services.org/ns">\n\t\t\t<d:prop>\n\t\t\t\t<d:getlastmodified />\n\t\t\t\t<d:getetag />\n\t\t\t\t<d:getcontenttype />\n\t\t\t\t<d:resourcetype />\n\t\t\t\t<oc:fileid />\n\t\t\t\t<oc:permissions />\n\t\t\t\t<oc:size />\n\t\t\t\t<d:getcontentlength />\n\t\t\t\t<nc:has-preview />\n\t\t\t\t<nc:mount-type />\n\t\t\t\t<nc:is-encrypted />\n\t\t\t\t<ocs:share-permissions />\n\t\t\t\t<oc:tags />\n\t\t\t\t<oc:favorite />\n\t\t\t\t<oc:comments-unread />\n\t\t\t\t<oc:owner-id />\n\t\t\t\t<oc:owner-display-name />\n\t\t\t\t<oc:share-types />\n\t\t\t</d:prop>\n\t\t\t</d:propfind>'});case 2:return n=e.sent,r=OCA.Files.App.fileList.filesClient._client.parseMultiStatus(n.data),(i=OCA.Files.App.fileList.filesClient._parseFileInfo(r[0])).get=function(e){return i[e]},i.isDirectory=function(){return"httpd/unix-directory"===i.mimetype},e.abrupt("return",i);case 8:case"end":return e.stop()}}),e)})),(A=function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))}).apply(this,arguments)}var v=r(350),g={name:"LegacyTab",components:{AppSidebarTab:r.n(v).a},props:{component:{type:Object,required:!0},id:{type:String,required:!0},fileInfo:{type:Object,default:function(){},required:!0}},computed:{icon:function(){return this.component.getIcon()},name:function(){return this.component.getLabel()},order:function(){return this.component.order?this.component.order:0},activeTab:function(){return this.$parent.activeTab}},watch:{fileInfo:function(e){e&&this.setFileInfo(e)}},mounted:function(){this.component.$el.appendTo(this.$el)},beforeDestroy:function(){this.component.remove()},methods:{setFileInfo:function(e){this.component.setFileInfo(new OCA.Files.FileInfoModel(e))}}},m=r(22),y=Object(m.a)(g,(function(){var e=this.$createElement;return(this._self._c||e)("AppSidebarTab",{attrs:{id:this.id,icon:this.icon,name:this.name,"active-tab":this.activeTab}})}),[],!1,null,null,null).exports,b={name:"LegacyView",props:{component:{type:Object,required:!0},fileInfo:{type:Object,default:function(){},required:!0}},watch:{fileInfo:function(e){this.setFileInfo(e)}},mounted:function(){this.component.$el.replaceAll(this.$el),this.setFileInfo(this.fileInfo)},methods:{setFileInfo:function(e){this.component.setFileInfo(new OCA.Files.FileInfoModel(e))}}},w=Object(m.a)(b,(function(){var e=this.$createElement;return(this._self._c||e)("div")}),[],!1,null,null,null).exports,x=r(351);function E(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function _(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){E(o,r,i,a,s,"next",e)}function s(e){E(o,r,i,a,s,"throw",e)}a(void 0)}))}}var T,C,O={name:"Sidebar",components:{ActionButton:p.a,AppSidebar:l.a,LegacyView:w},data:function(){return{Sidebar:OCA.Files.Sidebar.state,error:null,fileInfo:null,starLoading:!1}},computed:{file:function(){return this.Sidebar.file},tabs:function(){return this.Sidebar.tabs},views:function(){return this.Sidebar.views},davPath:function(){var e=OC.getCurrentUser().uid;return OC.linkToRemote("dav/files/".concat(e).concat(Object(x.encodePath)(this.file)))},activeTab:function(){return this.Sidebar.activeTab},subtitle:function(){return"".concat(this.size,", ").concat(this.time)},time:function(){return OC.Util.relativeModifiedDate(this.fileInfo.mtime)},size:function(){return OC.Util.humanFileSize(this.fileInfo.size)},background:function(){return this.getPreviewIfAny(this.fileInfo)},appSidebar:function(){return this.fileInfo?{background:this.background,active:this.activeTab,class:{"has-preview":this.fileInfo.hasPreview},compact:!this.fileInfo.hasPreview,"star-loading":this.starLoading,starred:this.fileInfo.isFavourited,subtitle:this.subtitle,title:this.fileInfo.name,"data-mimetype":this.fileInfo.mimetype}:this.error?{key:"error",subtitle:"",title:""}:{class:"icon-loading",subtitle:"",title:""}},defaultAction:function(){return this.fileInfo&&OCA.Files&&OCA.Files.App&&OCA.Files.App.fileList&&OCA.Files.App.fileList.fileActions&&OCA.Files.App.fileList.fileActions.getDefaultFileAction&&OCA.Files.App.fileList.fileActions.getDefaultFileAction(this.fileInfo.mimetype,this.fileInfo.type,OC.PERMISSION_READ)},defaultActionListener:function(){return this.defaultAction?"figure-click":null},isSystemTagsEnabled:function(){return OCA&&"SystemTags"in OCA}},methods:{canDisplay:function(e){return e.isEnabled(this.fileInfo)},resetData:function(){var e=this;this.error=null,this.fileInfo=null,this.$nextTick((function(){e.$refs.sidebar&&e.$refs.sidebar.updateTabs()}))},getPreviewIfAny:function(e){return e.hasPreview?OC.generateUrl("/core/preview?fileId=".concat(e.id,"&x=").concat(screen.width,"&y=").concat(screen.height,"&a=true")):this.getIconUrl(e)},getIconUrl:function(e){var t=e.mimetype||"application/octet-stream";return"httpd/unix-directory"===t?"shared"===e.mountType||"shared-root"===e.mountType?OC.MimeType.getIconUrl("dir-shared"):"external-root"===e.mountType?OC.MimeType.getIconUrl("dir-external"):void 0!==e.mountType&&""!==e.mountType?OC.MimeType.getIconUrl("dir-"+e.mountType):e.shareTypes&&(e.shareTypes.indexOf(OC.Share.SHARE_TYPE_LINK)>-1||e.shareTypes.indexOf(OC.Share.SHARE_TYPE_EMAIL)>-1)?OC.MimeType.getIconUrl("dir-public"):e.shareTypes&&e.shareTypes.length>0?OC.MimeType.getIconUrl("dir-shared"):OC.MimeType.getIconUrl("dir"):OC.MimeType.getIconUrl(t)},tabComponent:function(e){return e.isLegacyTab?{is:y,component:e.component}:{is:e.component}},setActiveTab:function(e){OCA.Files.Sidebar.setActiveTab(e)},toggleStarred:(C=_(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.starLoading=!0,e.next=4,c()({method:"PROPPATCH",url:this.davPath,data:'<?xml version="1.0"?>\n\t\t\t\t\t\t<d:propertyupdate xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n\t\t\t\t\t\t'.concat(n?"<d:set>":"<d:remove>","\n\t\t\t\t\t\t\t<d:prop>\n\t\t\t\t\t\t\t\t<oc:favorite>1</oc:favorite>\n\t\t\t\t\t\t\t</d:prop>\n\t\t\t\t\t\t").concat(n?"</d:set>":"</d:remove>","\n\t\t\t\t\t\t</d:propertyupdate>")});case 4:OCA.Files&&OCA.Files.App&&OCA.Files.App.fileList&&OCA.Files.App.fileList.fileActions&&OCA.Files.App.fileList.fileActions.triggerAction("Favorite",OCA.Files.App.fileList.getModelForFile(this.fileInfo.name),OCA.Files.App.fileList),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),OC.Notification.showTemporary(t("files","Unable to change the favourite state of the file")),console.error("Unable to change favourite state",e.t0);case 11:this.starLoading=!1;case 12:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e){return C.apply(this,arguments)}),onDefaultAction:function(){this.defaultAction&&this.defaultAction.action(this.fileInfo.name,{fileInfo:this.fileInfo,dir:this.fileInfo.dir,fileList:OCA.Files.App.fileList,$file:a()("body")})},toggleTags:function(){OCA.SystemTags&&OCA.SystemTags.View&&OCA.SystemTags.View.toggle()},open:(T=_(regeneratorRuntime.mark((function e(n){var r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.Sidebar.file=n,this.resetData(),!n||""===n.trim()){e.next=17;break}return e.prev=3,e.next=6,h(this.davPath);case 6:this.fileInfo=e.sent,this.fileInfo.dir=this.file.split("/").slice(0,-1).join("/"),this.views.forEach((function(e){e.setFileInfo(r.fileInfo)})),this.$nextTick((function(){r.$refs.sidebar&&r.$refs.sidebar.updateTabs()})),e.next=17;break;case 12:throw e.prev=12,e.t0=e.catch(3),this.error=t("files","Error while loading the file data"),console.error("Error while loading the file data",e.t0),new Error(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,12]])}))),function(e){return T.apply(this,arguments)}),close:function(){this.Sidebar.file="",this.resetData()}}},I=(r(387),Object(m.a)(O,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.file?n("AppSidebar",e._b({ref:"sidebar",attrs:{"force-menu":!0},on:e._d({close:e.close,"update:active":e.setActiveTab,"update:starred":e.toggleStarred},[e.defaultActionListener,function(t){return t.stopPropagation(),t.preventDefault(),e.onDefaultAction(t)}]),scopedSlots:e._u([e.fileInfo?{key:"primary-actions",fn:function(){return e._l(e.views,(function(t){return n("LegacyView",{key:t.cid,attrs:{component:t,"file-info":e.fileInfo}})}))},proxy:!0}:null,e.fileInfo?{key:"secondary-actions",fn:function(){return[e.isSystemTagsEnabled?n("ActionButton",{attrs:{"close-after-click":!0,icon:"icon-tag"},on:{click:e.toggleTags}},[e._v("\n\t\t\t"+e._s(e.t("files","Tags"))+"\n\t\t")]):e._e()]},proxy:!0}:null],null,!0)},"AppSidebar",e.appSidebar,!1),[e._v(" "),e._v(" "),e.error?n("div",{staticClass:"emptycontent"},[n("div",{staticClass:"icon-error"}),e._v(" "),n("h2",[e._v(e._s(e.error))])]):e.fileInfo?e._l(e.tabs,(function(t){return[e.canDisplay(t)?n(e.tabComponent(t).is,{key:t.id,tag:"component",attrs:{id:t.id,component:e.tabComponent(t).component,name:t.name,"dav-path":e.davPath,"file-info":e.fileInfo}}):e._e()]})):e._e()],2):e._e()}),[],!1,null,"4b80cf50",null).exports);function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var k=0;function M(e){return"__private_"+k+++"_"+e}
+ */var h=function(e){return A.apply(this,arguments)};function A(){var e;return e=regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c()({method:"PROPFIND",url:t,data:'<?xml version="1.0"?>\n\t\t\t<d:propfind xmlns:d="DAV:"\n\t\t\t\txmlns:oc="http://owncloud.org/ns"\n\t\t\t\txmlns:nc="http://nextcloud.org/ns"\n\t\t\t\txmlns:ocs="http://open-collaboration-services.org/ns">\n\t\t\t<d:prop>\n\t\t\t\t<d:getlastmodified />\n\t\t\t\t<d:getetag />\n\t\t\t\t<d:getcontenttype />\n\t\t\t\t<d:resourcetype />\n\t\t\t\t<oc:fileid />\n\t\t\t\t<oc:permissions />\n\t\t\t\t<oc:size />\n\t\t\t\t<d:getcontentlength />\n\t\t\t\t<nc:has-preview />\n\t\t\t\t<nc:mount-type />\n\t\t\t\t<nc:is-encrypted />\n\t\t\t\t<ocs:share-permissions />\n\t\t\t\t<oc:tags />\n\t\t\t\t<oc:favorite />\n\t\t\t\t<oc:comments-unread />\n\t\t\t\t<oc:owner-id />\n\t\t\t\t<oc:owner-display-name />\n\t\t\t\t<oc:share-types />\n\t\t\t</d:prop>\n\t\t\t</d:propfind>'});case 2:return n=e.sent,r=OCA.Files.App.fileList.filesClient._client.parseMultiStatus(n.data),(i=OCA.Files.App.fileList.filesClient._parseFileInfo(r[0])).get=function(e){return i[e]},i.isDirectory=function(){return"httpd/unix-directory"===i.mimetype},e.abrupt("return",i);case 8:case"end":return e.stop()}}),e)})),(A=function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))}).apply(this,arguments)}var v=r(350),g={name:"LegacyTab",components:{AppSidebarTab:r.n(v).a},props:{component:{type:Object,required:!0},id:{type:String,required:!0},fileInfo:{type:Object,default:function(){},required:!0}},computed:{icon:function(){return this.component.getIcon()},name:function(){return this.component.getLabel()},order:function(){return this.component.order?this.component.order:0},activeTab:function(){return this.$parent.activeTab}},watch:{fileInfo:function(e){e&&this.setFileInfo(e)}},mounted:function(){this.component.$el.appendTo(this.$el),this.setFileInfo(this.fileInfo)},beforeDestroy:function(){this.component.remove()},methods:{setFileInfo:function(e){this.component.setFileInfo(new OCA.Files.FileInfoModel(e))}}},m=r(22),y=Object(m.a)(g,(function(){var e=this.$createElement;return(this._self._c||e)("AppSidebarTab",{attrs:{id:this.id,icon:this.icon,name:this.name,"active-tab":this.activeTab}})}),[],!1,null,null,null).exports,b={name:"LegacyView",props:{component:{type:Object,required:!0},fileInfo:{type:Object,default:function(){},required:!0}},watch:{fileInfo:function(e){this.setFileInfo(e)}},mounted:function(){this.component.$el.replaceAll(this.$el),this.setFileInfo(this.fileInfo)},methods:{setFileInfo:function(e){this.component.setFileInfo(new OCA.Files.FileInfoModel(e))}}},w=Object(m.a)(b,(function(){var e=this.$createElement;return(this._self._c||e)("div")}),[],!1,null,null,null).exports,x=r(351);function E(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function _(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){E(o,r,i,a,s,"next",e)}function s(e){E(o,r,i,a,s,"throw",e)}a(void 0)}))}}var T,C,O={name:"Sidebar",components:{ActionButton:p.a,AppSidebar:l.a,LegacyView:w},data:function(){return{Sidebar:OCA.Files.Sidebar.state,error:null,fileInfo:null,starLoading:!1}},computed:{file:function(){return this.Sidebar.file},tabs:function(){return this.Sidebar.tabs},views:function(){return this.Sidebar.views},davPath:function(){var e=OC.getCurrentUser().uid;return OC.linkToRemote("dav/files/".concat(e).concat(Object(x.encodePath)(this.file)))},activeTab:function(){return this.Sidebar.activeTab},subtitle:function(){return"".concat(this.size,", ").concat(this.time)},time:function(){return OC.Util.relativeModifiedDate(this.fileInfo.mtime)},size:function(){return OC.Util.humanFileSize(this.fileInfo.size)},background:function(){return this.getPreviewIfAny(this.fileInfo)},appSidebar:function(){return this.fileInfo?{background:this.background,active:this.activeTab,class:{"has-preview":this.fileInfo.hasPreview},compact:!this.fileInfo.hasPreview,"star-loading":this.starLoading,starred:this.fileInfo.isFavourited,subtitle:this.subtitle,title:this.fileInfo.name,"data-mimetype":this.fileInfo.mimetype}:this.error?{key:"error",subtitle:"",title:""}:{class:"icon-loading",subtitle:"",title:""}},defaultAction:function(){return this.fileInfo&&OCA.Files&&OCA.Files.App&&OCA.Files.App.fileList&&OCA.Files.App.fileList.fileActions&&OCA.Files.App.fileList.fileActions.getDefaultFileAction&&OCA.Files.App.fileList.fileActions.getDefaultFileAction(this.fileInfo.mimetype,this.fileInfo.type,OC.PERMISSION_READ)},defaultActionListener:function(){return this.defaultAction?"figure-click":null},isSystemTagsEnabled:function(){return OCA&&"SystemTags"in OCA}},methods:{canDisplay:function(e){return e.isEnabled(this.fileInfo)},resetData:function(){var e=this;this.error=null,this.fileInfo=null,this.$nextTick((function(){e.$refs.sidebar&&e.$refs.sidebar.updateTabs()}))},getPreviewIfAny:function(e){return e.hasPreview?OC.generateUrl("/core/preview?fileId=".concat(e.id,"&x=").concat(screen.width,"&y=").concat(screen.height,"&a=true")):this.getIconUrl(e)},getIconUrl:function(e){var t=e.mimetype||"application/octet-stream";return"httpd/unix-directory"===t?"shared"===e.mountType||"shared-root"===e.mountType?OC.MimeType.getIconUrl("dir-shared"):"external-root"===e.mountType?OC.MimeType.getIconUrl("dir-external"):void 0!==e.mountType&&""!==e.mountType?OC.MimeType.getIconUrl("dir-"+e.mountType):e.shareTypes&&(e.shareTypes.indexOf(OC.Share.SHARE_TYPE_LINK)>-1||e.shareTypes.indexOf(OC.Share.SHARE_TYPE_EMAIL)>-1)?OC.MimeType.getIconUrl("dir-public"):e.shareTypes&&e.shareTypes.length>0?OC.MimeType.getIconUrl("dir-shared"):OC.MimeType.getIconUrl("dir"):OC.MimeType.getIconUrl(t)},tabComponent:function(e){return e.isLegacyTab?{is:y,component:e.component}:{is:e.component}},setActiveTab:function(e){OCA.Files.Sidebar.setActiveTab(e)},toggleStarred:(C=_(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.starLoading=!0,e.next=4,c()({method:"PROPPATCH",url:this.davPath,data:'<?xml version="1.0"?>\n\t\t\t\t\t\t<d:propertyupdate xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n\t\t\t\t\t\t'.concat(n?"<d:set>":"<d:remove>","\n\t\t\t\t\t\t\t<d:prop>\n\t\t\t\t\t\t\t\t<oc:favorite>1</oc:favorite>\n\t\t\t\t\t\t\t</d:prop>\n\t\t\t\t\t\t").concat(n?"</d:set>":"</d:remove>","\n\t\t\t\t\t\t</d:propertyupdate>")});case 4:OCA.Files&&OCA.Files.App&&OCA.Files.App.fileList&&OCA.Files.App.fileList.fileActions&&OCA.Files.App.fileList.fileActions.triggerAction("Favorite",OCA.Files.App.fileList.getModelForFile(this.fileInfo.name),OCA.Files.App.fileList),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),OC.Notification.showTemporary(t("files","Unable to change the favourite state of the file")),console.error("Unable to change favourite state",e.t0);case 11:this.starLoading=!1;case 12:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e){return C.apply(this,arguments)}),onDefaultAction:function(){this.defaultAction&&this.defaultAction.action(this.fileInfo.name,{fileInfo:this.fileInfo,dir:this.fileInfo.dir,fileList:OCA.Files.App.fileList,$file:a()("body")})},toggleTags:function(){OCA.SystemTags&&OCA.SystemTags.View&&OCA.SystemTags.View.toggle()},open:(T=_(regeneratorRuntime.mark((function e(n){var r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.Sidebar.file=n,this.resetData(),!n||""===n.trim()){e.next=17;break}return e.prev=3,e.next=6,h(this.davPath);case 6:this.fileInfo=e.sent,this.fileInfo.dir=this.file.split("/").slice(0,-1).join("/"),this.views.forEach((function(e){e.setFileInfo(r.fileInfo)})),this.$nextTick((function(){r.$refs.sidebar&&r.$refs.sidebar.updateTabs()})),e.next=17;break;case 12:throw e.prev=12,e.t0=e.catch(3),this.error=t("files","Error while loading the file data"),console.error("Error while loading the file data",e.t0),new Error(e.t0);case 17:case"end":return e.stop()}}),e,this,[[3,12]])}))),function(e){return T.apply(this,arguments)}),close:function(){this.Sidebar.file="",this.resetData()}}},I=(r(387),Object(m.a)(O,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.file?n("AppSidebar",e._b({ref:"sidebar",attrs:{"force-menu":!0},on:e._d({close:e.close,"update:active":e.setActiveTab,"update:starred":e.toggleStarred},[e.defaultActionListener,function(t){return t.stopPropagation(),t.preventDefault(),e.onDefaultAction(t)}]),scopedSlots:e._u([e.fileInfo?{key:"primary-actions",fn:function(){return e._l(e.views,(function(t){return n("LegacyView",{key:t.cid,attrs:{component:t,"file-info":e.fileInfo}})}))},proxy:!0}:null,e.fileInfo?{key:"secondary-actions",fn:function(){return[e.isSystemTagsEnabled?n("ActionButton",{attrs:{"close-after-click":!0,icon:"icon-tag"},on:{click:e.toggleTags}},[e._v("\n\t\t\t"+e._s(e.t("files","Tags"))+"\n\t\t")]):e._e()]},proxy:!0}:null],null,!0)},"AppSidebar",e.appSidebar,!1),[e._v(" "),e._v(" "),e.error?n("div",{staticClass:"emptycontent"},[n("div",{staticClass:"icon-error"}),e._v(" "),n("h2",[e._v(e._s(e.error))])]):e.fileInfo?e._l(e.tabs,(function(t){return[e.canDisplay(t)?n(e.tabComponent(t).is,{key:t.id,tag:"component",attrs:{id:t.id,component:e.tabComponent(t).component,name:t.name,"dav-path":e.davPath,"file-info":e.fileInfo}}):e._e()]})):e._e()],2):e._e()}),[],!1,null,"4b80cf50",null).exports);function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var k=0;function M(e){return"__private_"+k+++"_"+e}
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
*