"use strict";(self["webpackChunkcarabi_x2"]=self["webpackChunkcarabi_x2"]||[]).push([[1760],{2584:function(e,l,d){d.r(l),d.d(l,{default:function(){return a}});var o=function(){var e=this,l=e._self._c;return l("div",{staticClass:"flex-column flex-grow",staticStyle:{height:"100%"}},[l("Model",{ref:"model",attrs:{documentId:e.documentId,pluginId:e.pluginId},on:{"hook:mounted":function(l){e.model=e.$refs.model},"grid-clear-select":function(l){return e.$refs.grid.selectAll(!1)}}}),e.error?l("div",{domProps:{innerHTML:e._s(e.error)}}):e.loaded?[l("PanelOperation",{attrs:{model:e.model}}),e.model.searchMode?[l("PanelSearch",{attrs:{model:e.model}})]:[l("PanelUpload",{attrs:{model:e.model}}),l("PanelMain",{attrs:{model:e.model}}),l("PanelBreadcrumbs",{attrs:{model:e.model}})],l("FilesGrid",{ref:"grid",attrs:{curFolder:e.model.curFolder,files:e.model.files,showPath:e.model.searchMode,order:e.model.order},on:{enter:e.model.rowEnter,select:function(l){e.model.selected=l},edit:e.model.editFile,"sort-change":e.model.sortChange}}),e.model.edit?l("FilesEdit",{attrs:{params:e.model.edit},on:{change:e.model.editDone,closed:function(l){e.model.edit=null}}}):e._e(),e.model.editPermissions?l("Permissions",{attrs:{ids:e.model.editFilesIds},on:{change:e.model.editDone,closed:function(l){e.model.editPermissions=null}}}):e._e()]:l("Loader")],2)},r=[],n={name:"Files",components:{Loader:()=>d.e(8326).then(d.bind(d,1259)),Model:()=>Promise.all([d.e(5165),d.e(3575)]).then(d.bind(d,4937)),PanelOperation:()=>Promise.all([d.e(5165),d.e(921)]).then(d.bind(d,8078)),PanelUpload:()=>Promise.all([d.e(5165),d.e(2233)]).then(d.bind(d,8211)),PanelMain:()=>Promise.all([d.e(5165),d.e(4997)]).then(d.bind(d,6674)),PanelBreadcrumbs:()=>Promise.all([d.e(5165),d.e(3992)]).then(d.bind(d,754)),PanelSearch:()=>Promise.all([d.e(5165),d.e(6266)]).then(d.bind(d,3880)),FilesGrid:()=>Promise.all([d.e(3672),d.e(6160)]).then(d.bind(d,7234)),FilesEdit:()=>d.e(2844).then(d.bind(d,865)),Permissions:()=>d.e(7737).then(d.bind(d,5227))},props:{documentId:Number,pluginId:Number},data:()=>({model:null}),computed:{loaded(){return!!this.model?.loaded},error(){return this.model?.error?this.model.error:null}},methods:{}},t=n,i=d(1656),s=(0,i.A)(t,o,r,!1,null,null,null),a=s.exports}}]);
//# sourceMappingURL=Files.03d5212a.js.map