import{_ as v}from"./index-M_JNBppB.js";/* empty css                  *//* empty css                   *//* empty css                  *//* empty css                   *//* empty css               *//* empty css                  *//* empty css                     *//* empty css                *//* empty css                    *//* empty css                       */import{ax as x,c as k,aA as y,y as h,z as w,F as a,D as i,O as l,K as d}from"./vue-BJk78QHK.js";import{j as V,X as _,y as b,f as g,I as E}from"./element-3_pOinej.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";const M={style:{display:"flex","flex-direction":"column",padding:"20px",gap:"5px"}},B={class:"w-[100%] flex justify-center p-[5px] m-t-[5px] rounded-[6px] cursor-pointer list-img-bg"},S={__name:"ModelShowEvent",props:{model:{type:Object,required:!0,default:()=>({near:{show:[],hide:[]},leave:{show:[],hide:[]}})},modelModifiers:{}},emits:["update:model"],setup(p){const m=x(),r=k(()=>m.state.modelMaterialList),t=y(p,"model");return(U,e)=>{const n=V,s=_,u=b,c=g,f=E;return w(),h(f,{style:{"margin-left":"10px"},placement:"left",width:"300",trigger:"click"},{reference:a(()=>[i("div",B,[l(c,{type:"primary",link:"",icon:"Edit"},{default:a(()=>e[10]||(e[10]=[d(" 模型隐藏/显示 ")])),_:1})])]),default:a(()=>[i("div",M,[e[8]||(e[8]=i("p",{style:{color:"#1e90ff",margin:"0"}}," 靠近时模型隐藏/显示： ",-1)),l(n,{type:"success"},{default:a(()=>e[4]||(e[4]=[d(" 选中显示模型： ")])),_:1}),l(s,{modelValue:t.value.near.hide,"onUpdate:modelValue":e[0]||(e[0]=o=>t.value.near.hide=o),data:r.value,multiple:"","render-after-expand":!1,teleported:!1,"show-checkbox":"","check-strictly":"","check-on-click-node":"","node-key":"name",props:{children:"children",label:"name"}},null,8,["modelValue","data"]),l(n,{type:"warning",class:"m-t-[5px]"},{default:a(()=>e[5]||(e[5]=[d(" 选中隐藏模型： ")])),_:1}),l(s,{modelValue:t.value.near.show,"onUpdate:modelValue":e[1]||(e[1]=o=>t.value.near.show=o),data:r.value,multiple:"","render-after-expand":!1,teleported:!1,"show-checkbox":"","check-strictly":"","check-on-click-node":"","node-key":"name",props:{children:"children",label:"name"}},null,8,["modelValue","data"]),l(u),e[9]||(e[9]=i("p",{style:{color:"#ff6b6b",margin:"0"}}," 离开时模型隐藏/显示 ",-1)),l(n,{type:"success"},{default:a(()=>e[6]||(e[6]=[d(" 选中显示模型： ")])),_:1}),l(s,{modelValue:t.value.leave.hide,"onUpdate:modelValue":e[2]||(e[2]=o=>t.value.leave.hide=o),data:r.value,multiple:"","render-after-expand":!1,teleported:!1,"show-checkbox":"","check-strictly":"","check-on-click-node":"","node-key":"name",props:{children:"children",label:"name"}},null,8,["modelValue","data"]),l(n,{type:"warning",class:"m-t-[5px]"},{default:a(()=>e[7]||(e[7]=[d(" 选中隐藏模型： ")])),_:1}),l(s,{modelValue:t.value.leave.show,"onUpdate:modelValue":e[3]||(e[3]=o=>t.value.leave.show=o),data:r.value,multiple:"","render-after-expand":!1,teleported:!1,"show-checkbox":"","check-strictly":"","check-on-click-node":"","node-key":"name",props:{children:"children",label:"name"}},null,8,["modelValue","data"])])]),_:1})}}},H=v(S,[["__scopeId","data-v-84ca512f"]]);export{H as default};
