import{n as o}from"./index-b54f5418.js";import{V as t,e as s}from"./index-cf27e902.js";import"./three-dc46505d.js";var c=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{directives:[{name:"tooltip",rawName:"v-tooltip.top",value:"视角切换",expression:"'视角切换'",modifiers:{top:!0}}],staticClass:"render-viewpoint-container"},[n("el-select",{attrs:{size:"mini",placeholder:"请选择"},model:{value:e.cameraView,callback:function(i){e.cameraView=i},expression:"cameraView"}},e._l(e.cameraViewList,function(i,l){return n("el-option",{key:l,attrs:{label:i.label,value:i.value}})}),1)],1)},u=[];const p={props:{viewpoint:{type:String,default:t.DEFAULT}},data(){return{cameraView:"",cameraViewList:[{label:"默认视图",value:t.DEFAULT},{label:"俯视图",value:t.TOP},{label:"右视图",value:t.RIGHT},{label:"正视图",value:t.FRONT},{label:"仰视图",value:t.BOTTOM},{label:"左视图",value:t.LEFT},{label:"后视图",value:t.BACK}]}},watch:{cameraView:{handler(e){s.setViewpoint(e),this.$emit("changeViewpoint",e)}},viewpoint:{handler(e){this.cameraView=e},immediate:!0}},mounted(){}},r={};var v=o(p,c,u,!1,_,"402792c9",null,null);function _(e){for(let a in r)this[a]=r[a]}const f=function(){return v.exports}();export{f as default};
