import{_ as s}from"./index-cf27e902.js";import{n as r}from"./index-b54f5418.js";import"./three-dc46505d.js";var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("el-dialog",{attrs:{title:"贴图库",visible:t.visible,width:"70vw","append-to-body":"",modal:!1},on:{"update:visible":function(o){t.visible=o}}},[e("div",{staticClass:"fileSystem-container"},[e("header-operation"),e("container-operation",{ref:"container"})],1),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{size:"mini"},on:{click:function(o){t.visible=!1}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.confirm}},[t._v("确 定")])],1)])},c=[];const l=()=>s(()=>import("./headerOperation-077c0c4d.js"),["assets/headerOperation-077c0c4d.js","assets/index-b54f5418.js","assets/three-dc46505d.js","assets/index-f59973e2.css","assets/headerOperation-d1013e2b.css"]),_=()=>s(()=>import("./containerOperation-ad21307f.js"),["assets/containerOperation-ad21307f.js","assets/index-b54f5418.js","assets/three-dc46505d.js","assets/index-f59973e2.css","assets/containerOperation-b6362a30.css"]),f={components:{headerOperation:l,containerOperation:_},data(){return{visible:!1,confirmFun:()=>{}}},created(){this.$store.commit("textureLibrary/request","")},methods:{open({confirm:t,exts:i=""}){this.$store.commit("textureLibrary/setExts",i),this.visible=!0,this.confirmFun=t},confirm(){this.visible=!1,this.confirmFun({files:[].concat(this.$refs.container.selected)}),this.$refs.container.selected=[]}}},n={};var m=r(f,a,c,!1,u,"418fe0b3",null,null);function u(t){for(let i in n)this[i]=n[i]}const h=function(){return m.exports}();export{h as default};
