import{n as l,ae as s}from"./index-b54f5418.js";import"./three-dc46505d.js";var c=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("div",{staticClass:"booleanModifier-container"},[o("de-controller-input",{attrs:{keyframe:!1,label:"名称"},model:{value:e.config.name,callback:function(t){e.$set(e.config,"name",t)},expression:"config.name"}}),o("de-controller-input",{attrs:{keyframe:!1,label:"类型",disabled:""},model:{value:e.config.type,callback:function(t){e.$set(e.config,"type",t)},expression:"config.type"}}),o("de-controller-select",{attrs:{keyframe:!1,label:"目标",options:e.objects},model:{value:e.config.target,callback:function(t){e.$set(e.config,"target",t)},expression:"config.target"}}),o("de-controller-select",{attrs:{keyframe:!1,label:"模式",options:e.modeOptions},model:{value:e.config.mode,callback:function(t){e.$set(e.config,"mode",t)},expression:"config.mode"}})],1)},r=[];const i={props:{config:{type:Object,required:!0}},data(){return{modeOptions:[{lable:"相减",value:"subtract"},{lable:"相交",value:"union"},{lable:"相加",value:"intersect"}]}},computed:{objects(){const e=Object.keys(s).map(o=>this.$store.getters[`${o}/get`]),n=[];for(const o of e)for(const t of Object.values(o))n.push({label:t.name,value:t.vid});return n}}},a={};var f=l(i,c,r,!1,u,null,null,null);function u(e){for(let n in a)this[n]=a[n]}const d=function(){return f.exports}();export{d as default};
