import{t as c}from"./configurationTranslater-333f12c8.js";import{n as l}from"./index-b54f5418.js";import"./three-dc46505d.js";var u=function(){var t=this,r=t.$createElement,n=t._self._c||r;return n("div",{staticClass:"CanvasTexture-container"},[t.config.url?n("de-collapse-layout",{attrs:{label:"画布配置",icon:"#iconvuejs","arrow-position":"left"}},t._l(t.controllers,function(e,s){return n(e.component,t._b({key:s,tag:"component",attrs:{slot:"container",label:e.label,keyframe:!1},slot:"container",model:{value:t.canvas[e.key],callback:function(a){t.$set(t.canvas,e.key,a)},expression:"canvas[item.key]"}},"component",e.props,!1))}),1):t._e()],1)},i=[];const _={props:{config:{type:Object,required:!0}},computed:{texture(){return this.$store.getters["texture/currentTexture"]},canvas(){return this.$store.getters["canvas/get"][this.texture.url]},configuration(){return this.texture.url?this.$store.getters["canvas/configuration"][this.texture.url]:null},controllers(){return this.texture.url?c(this.configuration):null}}},o={};var v=l(_,u,i,!1,p,"9452f12c",null,null);function p(t){for(let r in o)this[r]=o[r]}const d=function(){return v.exports}();export{d as default};
