text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0daf50"],{"6e8c":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("AppBar",{attrs:{title:"文件管理"}},[i("v-menu",{attrs:{bottom:"",left:""},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on,l=e.attrs;return[i("v-btn",t._g(t._b({attrs:{dark:"",icon:""}},"v-btn",l,!1),n),[i("v-icon",[t._v("mdi-dots-vertical")])],1)]}}])},[i("v-list",[i("v-list-item",{on:{click:function(e){return t.showDialog("NewFile")}}},[i("v-list-item-title",[t._v("新建文件")])],1),i("v-list-item",{on:{click:function(e){return t.showDialog("NewFolder")}}},[i("v-list-item-title",[t._v("新建文件夹")])],1),i("v-list-item",{on:{click:function(e){return t.showDialog("UploadFile")}}},[i("v-list-item-title",[t._v("上传文件")])],1),i("v-list-item",{on:{click:function(e){return t.showDialog("UploadFolder")}}},[i("v-list-item-title",[t._v("上传文件夹")])],1),i("v-list-item",{on:{click:function(e){return t.showDialog("DownloadFile")}}},[i("v-list-item-title",[t._v("下载网络文件到此目录")])],1),t.isRoot?t._e():i("div",[i("v-divider"),i("v-list-item",{on:{click:function(e){return t.showDialog("RenameFolder")}}},[i("v-list-item-title",[t._v("重命名")])],1),i("v-list-item",{on:{click:t.deleteClick}},[i("v-list-item-title",[t._v("删除")])],1),i("v-list-item",[i("v-list-item-title",[t._v("移动")])],1),i("v-divider"),i("v-list-item",[i("v-list-item-title",[t._v("下载此目录到当前电脑")])],1),i("v-divider"),i("v-list-item",[i("v-list-item-title",[t._v("上传此目录到七牛云")])],1)],1)],1)],1),i("NewFile",{ref:"NewFile"}),i("NewFolder",{ref:"NewFolder"}),i("UploadFile",{ref:"UploadFile"}),i("UploadFolder",{ref:"UploadFolder"}),i("RenameFolder",{ref:"RenameFolder"}),i("DownloadFile",{ref:"DownloadFile"})],1)},l=[],o=i("5530"),r=(i("d3b7"),i("3ca3"),i("ddb0"),i("5880")),c={components:{NewFile:function(){return i.e("chunk-2d2248b2").then(i.bind(null,"e11a"))},NewFolder:function(){return i.e("chunk-2d229989").then(i.bind(null,"ddb5"))},UploadFile:function(){return i.e("chunk-2d0e88ff").then(i.bind(null,"8a99"))},UploadFolder:function(){return i.e("chunk-2d0b2007").then(i.bind(null,"21f8"))},RenameFolder:function(){return i.e("chunk-2d0c17b9").then(i.bind(null,"45df"))},DownloadFile:function(){return i.e("chunk-2d213ebd").then(i.bind(null,"af79"))}},data:function(){return{}},computed:Object(o["a"])(Object(o["a"])({},Object(r["mapState"])(["showSidebar","filePathList"])),{},{isRoot:function(){return 0===this.filePathList.length}}),methods:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(r["mapMutations"])(["toggleSidebar"])),Object(r["mapActions"])(["operationFile"])),{},{dockedClick:function(){window.ha.fire("hass-toggle-menu")},showDialog:function(t){this.$refs[t].show()},deleteClick:function(){if(0===this.filePathList.length)return this.$toast("不能删除根目录");top.confirm("确定删除当前文件夹？")&&this.operationFile({type:"delete"})}})},d=c,a=i("2877"),s=Object(a["a"])(d,n,l,!1,null,null,null);e["default"]=s.exports}}]);