@kq_npm/client3d_webgl_vue
Version:
KQGIS Client3D for Vue.js
1 lines • 28.1 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@kq_npm/client_common_vue/_utils/gis-utils"),require("@kq_npm/client_common_vue/init.js"),require("@kq_npm/client_common_vue/_utils/const-image"),require("@kq_npm/client_common_vue/_utils/util")):"function"==typeof define&&define.amd?define("@kq_npm/client3d_webgl_vue",["vue","@kq_npm/client_common_vue/_utils/gis-utils","@kq_npm/client_common_vue/init.js","@kq_npm/client_common_vue/_utils/const-image","@kq_npm/client_common_vue/_utils/util"],t):"object"==typeof exports?exports["@kq_npm/client3d_webgl_vue"]=t(require("vue"),require("@kq_npm/client_common_vue/_utils/gis-utils"),require("@kq_npm/client_common_vue/init.js"),require("@kq_npm/client_common_vue/_utils/const-image"),require("@kq_npm/client_common_vue/_utils/util")):e["@kq_npm/client3d_webgl_vue"]=t(e.Vue,e["@kq_npm/client_common_vue/_utils/gis-utils"],e["@kq_npm/client_common_vue/init.js"],e["@kq_npm/client_common_vue/_utils/const-image"],e["@kq_npm/client_common_vue/_utils/util"])}(this,(function(e,t,n,i,l){return function(){"use strict";var o={1705:function(e,t,n){var i=n(9389),l=n(7997),o=n.n(l);i.ElMessage.install=(e,t)=>{o()(e,t),e.component("KqMessage",i.ElMessage)},t.Z=i.ElMessage},348:function(e){e.exports=require("@kq_npm/client_icons_vue")},9389:function(e){e.exports=require("element-plus/dist/index.full.js")},7080:function(e){e.exports=require("vue-i18n/dist/vue-i18n.cjs.js")},6277:function(e){e.exports=i},7135:function(e){e.exports=t},3458:function(e){e.exports=l},7997:function(e){e.exports=n},1895:function(t){t.exports=e}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return o[e](n,n.exports,s),n.exports}s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){s.r(r),s.d(r,{ScanEffectViewModel:function(){return l},default:function(){return p}});var e=s(1895),t=s(7135),n=s(1705),i=s(6277);class l{_viewer=null;_options={scanMode:1,viewer:null,lineWidth:5,glowWidth:20,length:100,origin:null,direction:.25*Math.PI,color:window.Cesium.Color.fromCssColorString("#78f1fa"),speed:20,period:5,moveMode:0,lineColor:window.Cesium.Color.fromCssColorString("#78f1fa"),distance:0,times:0,whetherToAndFrom:0,ringMoveMode:0,ringColor:window.Cesium.Color.fromCssColorString("#78f1fa"),radius:2e3,ringScanType:0,image:i.ROUNDNESS_IMG,blendEnable:!1,textureStyle:1,lineScans:[],ringScans:[]};_drawManager=null;_lineScan=null;_ringScan=null;constructor(e,t){this._viewer=e._viewer,this._options.viewer=this._viewer,this._options=Object.assign(this._options,{scanMode:t.scanningStyle,radius:t.sweepRadius,whetherToAndFrom:t.whetherToAndFrom,blendEnable:0!=t.textureStyle,ringScanType:t.fillStyle,image:this.getImageUrl(t.fillStyle),ringColor:window.Cesium.Color.fromCssColorString(t.fillColor),speed:t.lineSpeed,lineWidth:t.lineWidth,glowWidth:t.luminosity,lineColor:window.Cesium.Color.fromCssColorString(t.lineColor),direction:t.scanningAngle,ringMoveMode:t.lineToAndFrom,period:t.cycleStyle,distance:t.lengthStyle}),this._viewer.scene.globe.depthTestAgainstTerrain=!0,this._drawManager=e._drawManager}addScaningLine(e){if(0==this._options.scanMode){var t={viewer:this._viewer,color:this._options.lineColor,lineWidth:this._options.lineWidth,speed:this._options.speed,period:this._options.period,distance:this._options.distance,direction:this._options.direction,origin:this._options.origin,glowWidth:this._options.glowWidth,moveMode:this._options.ringMoveMode,times:this._options.times};this._lineScan=new window.Cesium.Kq3dLineScanEffect(t),this._options.lineScans.length>=10&&(this._viewer.effects.remove(this._options.lineScans[0]),this._options.lineScans.splice(0,1)),this._viewer.effects.add(this._lineScan),this._options.lineScans.push(this._lineScan)}else if(1==this._options.scanMode){var n=window.Cesium.Cartographic.fromCartesian(e),i=window.Cesium.Math.toDegrees(n.longitude),l=window.Cesium.Math.toDegrees(n.latitude),o=window.Cesium.Math.toDegrees(n.height);this._ringScan=this.addRingScanLine([i,l,o]),this._options.ringScans.push(this._ringScan)}}addRingScanLine(e){var t={viewer:this._viewer,radius:Number(this._options.radius),moveMode:Number(this._options.whetherToAndFrom),fillStyle:this._options.blendEnable,image:this._options.image,color:this._options.ringColor,position:e||this._options.position};return 2==this._options.ringScanType?new function e(t){t=t||{},this.position=t.position,this.radius=t.radius,this.moveMode=window.Cesium.defined(t.moveMode)?t.moveMode:1,this.fillStyle=window.Cesium.defined(t.fillStyle)?t.fillStyle:0,this.image=t.image,this.color=t.color,this.show=!window.Cesium.defined(t.show)||t.show,this.customDataSource=new window.Cesium.CustomDataSource("CircleRotateScan"),this.viewer=t.viewer;var n=this,i=1,l=n.customDataSource.entities.add({position:window.Cesium.Cartesian3.fromDegrees(n.position[0],n.position[1],n.position[2]),name:"CircleRotateScan",ellipse:{semiMinorAxis:new window.Cesium.CallbackProperty((function(){return n.radius}),!1),semiMajorAxis:new window.Cesium.CallbackProperty((function(){return n.radius}),!1),heightReference:window.Cesium.HeightReference.CLAMP_TO_GROUND,show:new window.Cesium.CallbackProperty((function(){return n.show}),!1),material:new window.Cesium.ImageMaterialProperty({image:new window.Cesium.CallbackProperty((function(e){return 0==n.fillStyle?(n.image=n.image,n.image):n.image}),!1),transparent:!0,color:new window.Cesium.CallbackProperty((function(){return 0==n.fillStyle?void(n.image=n.image):n.color}),!1)}),stRotation:new window.Cesium.CallbackProperty((function(){return 0==n.moveMode&&(i=1),window.Cesium.defined(l.ellipse._stRotation2)||(l.ellipse._stRotation2=0),l.ellipse._stRotation2<0&&(1==n.moveMode?i=1:l.ellipse._stRotation2=0),l.ellipse._stRotation2>2*Math.PI&&(1==n.moveMode?i=-1:l.ellipse._stRotation2=l.ellipse._stRotation2-2*Math.PI),l.ellipse._stRotation2+=.04*i,l.ellipse._stRotation2}),!1),classificationType:window.Cesium.ClassificationType.BOTH,outline:!1}});this.viewer.dataSources.add(this.customDataSource),e.prototype.destroy=function(){this.viewer.dataSources.remove(this.customDataSource,!0)}}(t):new function e(t){t=t||{},this.position=t.position,this.radius=t.radius,this.moveMode=window.Cesium.defined(t.moveMode)?t.moveMode:1,this.fillStyle=window.Cesium.defined(t.fillStyle)?t.fillStyle:0,this.image=t.image,this.color=t.color,this.show=!window.Cesium.defined(t.show)||t.show,this.customDataSource=new window.Cesium.CustomDataSource("CircleRotateScan"),this.viewer=t.viewer;var n=1,i=this,l=i.customDataSource.entities.add({position:window.Cesium.Cartesian3.fromDegrees(i.position[0],i.position[1],i.position[2]),name:"CircleRotateScan",height:0,ellipse:{show:new window.Cesium.CallbackProperty((function(){return i.show}),!1),semiMinorAxis:new window.Cesium.CallbackProperty((function(){return window.Cesium.defined(l.ellipse._semiMinorAxis2)||(l.ellipse._semiMinorAxis2=0),i.moveMode?l.ellipse._semiMinorAxis2>i.radius?n=-1:l.ellipse._semiMinorAxis2<0&&(n=1):l.ellipse._semiMinorAxis2>i.radius?(n=1,l.ellipse._semiMinorAxis2=0):l.ellipse._semiMinorAxis2<0&&(n=1),l.ellipse._semiMinorAxis2+=15*n,l.ellipse._semiMinorAxis2}),!1),semiMajorAxis:new window.Cesium.CallbackProperty((function(){return window.Cesium.defined(l.ellipse._semiMajorAxis2)||(l.ellipse._semiMajorAxis2=0),i.moveMode?l.ellipse._semiMajorAxis2>i.radius?n=-1:l.ellipse._semiMajorAxis2<0&&(n=1):l.ellipse._semiMajorAxis2>i.radius?(n=1,l.ellipse._semiMajorAxis2=0):l.ellipse._semiMajorAxis2<0&&(n=1),l.ellipse._semiMajorAxis2+=15*n,l.ellipse._semiMajorAxis2}),!1),material:new window.Cesium.ImageMaterialProperty({image:new window.Cesium.CallbackProperty((function(e){return 0==i.fillStyle?(i.image=i.image,i.image):i.image}),!1),transparent:!0,color:new window.Cesium.CallbackProperty((function(e){return 0==i.fillStyle?void(i.image=i.image):i.color}),!1)}),classificationType:window.Cesium.ClassificationType.BOTH,outline:!1}});this.viewer.dataSources.add(this.customDataSource),e.prototype.destroy=function(){this.viewer.dataSources.remove(this.customDataSource,!0)}}(t)}paramsChanged(e,t){switch(e){case"linearScanning":case"ringScan":this._options.scanMode=t;break;case"Radius":this._options.radius=t,this._ringScan&&(this._ringScan.radius=this._options.radius);break;case"whetherToAndFrom":this._options.whetherToAndFrom=Number(t),this._ringScan&&(this._ringScan.moveMode=this._options.whetherToAndFrom);break;case"textureStyle":this._options.blendEnable=0!=t,this._ringScan&&(this._ringScan.fillStyle=Number(t));break;case"fillStyle":this._options.ringScanType=t,this._options.image=this.getImageUrl(t),this._ringScan&&(this._ringScan.destroy(),this._ringScan=this.addRingScanLine(this._ringScan.position),this._options.ringScans.push(this._ringScan));break;case"fillColor":this._options.ringColor=window.Cesium.Color.fromCssColorString(t),this._ringScan&&(this._ringScan.color=this._options.ringColor);break;case"lineSpeed":this._options.speed=Number(t),this._lineScan&&(this._lineScan.speed=this._options.speed);break;case"lineWidth":this._options.lineWidth=Number(t),this._lineScan&&(this._lineScan.lineWidth=this._options.lineWidth);break;case"scanningAngle":var n=Number(t/180*Math.PI);this._options.direction=n,this._lineScan&&(this._lineScan.direction=n);break;case"luminosity":this._options.glowWidth=Number(t),this._lineScan&&(this._lineScan.glowWidth=this._options.glowWidth);break;case"lineColor":this._options.lineColor=window.Cesium.Color.fromCssColorString(t),this._lineScan&&(this._lineScan.color=this._options.lineColor);break;case"lengthStyle":this._options.length=Number(t),this._lineScan&&(this._lineScan.distance=this._options.length);break;case"cycleStyle":this._options.period=Number(t),this._lineScan&&(this._lineScan.period=this._options.period);break;case"lineToAndFrom":this._options.ringMoveMode=Number(t),this._lineScan&&(this._lineScan.moveMode=this._options.ringMoveMode)}}getImageUrl(e){var t="";switch(e){case 0:t=i.ROUNDNESS_IMG;break;case 1:t=i.CIRCLE_IMG2;break;case 2:t=i.CIRCLE_IMG}return t}start(){let e=this;var t=!1,i=this._viewer.scene.primitives._primitives;for(let e=0;e<i.length;e++)i[e]._url&&(t=!0);t?this._drawManager&&this._drawManager.startDraw("point",{clampToGround:!0,image:null},((t,{shape:n})=>{n.groupName&&"ScanEffectDraw"===n.groupName&&(n&&(e._options.origin=n.position,e.addScaningLine(n.position)),e._drawManager&&e._drawManager.clearDrawGroup("ScanEffectDraw"))}),"ScanEffectDraw"):(0,n.Z)({message:this._language.addModelExtractionTips,type:"warning"})}removeScan(){this._ringScan&&this._ringScan.destroy(),this._lineScan&&this._viewer.effects.remove(this._lineScan);for(var e=0;e<this._options.lineScans.length;e++)this._viewer.effects.remove(this._options.lineScans[e]);for(var t=0;t<this._options.ringScans.length;t++)this._options.ringScans[t].destroy();this._lineScan=void 0,this._ringScan=void 0}clear(){this.removeScan(),this._options.origin=null,this._drawManager.stopDraw()}destroy(){this.clear()}}var o=s(348),a=s(3458),d=s(7080);const u={class:"kq3d-scan-effect-box"},c={class:"kq3d-scan-effect-footer"},m={name:"Kq3dScanEffect"};var p=Object.assign(m,{props:{settingParams:{type:Object},showShadow:{type:Boolean,default:!0},position:[String,Object],showHeaderTemp:{type:Boolean,default:!1},isCollapseHeaderTemp:{type:Boolean,default:!1},headerTempTitle:{type:String},headerTempIcon:{type:[Object,String],default:o.IconScanningLine},isRight:{type:Boolean,default:!0}},setup(n,{expose:i}){const o=n,{proxy:s}=(0,e.getCurrentInstance)();let r=(0,e.ref)(""),m=(0,e.ref)(s.$i18n.global.messages[s.$i18n.global.locale].webgl),p=(0,e.reactive)({collapseValue:o.settingParams&&o.settingParams.collapseValue||(""==(o.settingParams&&o.settingParams.collapseValue)?"":"setting"),scanningStyle:o.settingParams&&o.settingParams.scanningStyle||1,sweepRadius:o.settingParams&&o.settingParams.sweepRadius||2e3,maxSweepRadius:o.settingParams&&o.settingParams.maxSweepRadius||3e3,minSweepRadius:o.settingParams&&o.settingParams.minSweepRadius||0,whetherToAndFrom:o.settingParams&&o.settingParams.whetherToAndFrom||0,textureStyle:o.settingParams&&o.settingParams.textureStyle||0,fillStyle:o.settingParams&&o.settingParams.fillStyle||0,fillColor:o.settingParams&&o.settingParams.fillColor||"#78f1fa",lineSpeed:o.settingParams&&o.settingParams.lineSpeed||20,lineWidth:o.settingParams&&o.settingParams.lineWidth||5,luminosity:o.settingParams&&o.settingParams.luminosity||20,lineColor:o.settingParams&&o.settingParams.lineColor||"#78f1fa",scanningAngle:o.settingParams&&o.settingParams.scanningAngle||45,lineToAndFrom:o.settingParams&&o.settingParams.lineToAndFrom||0,modeStyle:o.settingParams&&o.settingParams.modeStyle||1,cycleStyle:o.settingParams&&o.settingParams.cycleStyle||5,lengthStyle:o.settingParams&&o.settingParams.lengthStyle||100}),h=null,f=(0,e.ref)(null),g=(0,e.ref)(),_=(0,e.ref)(),{locale:w,messages:C}=(0,d.useI18n)(),S=(0,e.ref)(null);S.value=m.value.scanningTitle,(0,e.watch)((()=>w.value),((e,t)=>{m.value=C.value[e].webgl,S.value=m.value.scanningTitle})),(0,e.onMounted)((()=>{(0,a.updatePosition)(f.value,o),(0,e.watch)((()=>o.position),((e,t)=>{(0,a.updatePosition)(f.value,o)})),y(),(0,e.watch)((()=>o.showHeaderTemp),((t,n)=>{(0,e.nextTick)((()=>{y()}))})),r.value=s.$i18n.locale,t.utils.getWebMap(null,(e=>{e&&(h=new l(e,p))}))}));const y=()=>{o.showHeaderTemp&&(g.value=(0,a.createHeaderTemp)(f.value,(0,e.toRefs)(o),_,S))};function V(e){switch(e){case"linearScanning":h&&h.paramsChanged("linearScanning",p.scanningStyle);break;case"ringScan":h&&h.paramsChanged("ringScan",p.scanningStyle);break;case"Radius":h&&h.paramsChanged("Radius",p.sweepRadius);break;case"whetherToAndFrom":h&&h.paramsChanged("whetherToAndFrom",p.whetherToAndFrom);break;case"textureStyle":h&&h.paramsChanged("textureStyle",p.textureStyle);break;case"fillStyle":h&&h.paramsChanged("fillStyle",p.fillStyle);break;case"fillColor":h&&h.paramsChanged("fillColor",p.fillColor);break;case"lineSpeed":h&&h.paramsChanged("lineSpeed",p.lineSpeed);break;case"lineWidth":h&&h.paramsChanged("lineWidth",p.lineWidth);break;case"luminosity":h&&h.paramsChanged("luminosity",p.luminosity);break;case"lineColor":h&&h.paramsChanged("lineColor",p.lineColor);break;case"scanningAngle":h&&h.paramsChanged("scanningAngle",p.scanningAngle);break;case"lineToAndFrom":h&&h.paramsChanged("lineToAndFrom",p.lineToAndFrom);break;case"cycleStyle":h&&h.paramsChanged("cycleStyle",p.cycleStyle),p.lengthStyle=Number(p.lineSpeed)*Number(p.cycleStyle);break;case"lengthStyle":h&&h.paramsChanged("lengthStyle",p.lengthStyle),p.cycleStyle=Number(p.lengthStyle)/Number(p.lineSpeed)}}function x(){h&&h.start()}function b(){h&&h.clear()}return(0,e.onBeforeUnmount)((()=>{h&&h.destroy()})),i({clear:b,paramsChanged:V,addAnalysis:x}),(t,i)=>{const l=(0,e.resolveComponent)("kq-radio"),o=(0,e.resolveComponent)("kq-row"),a=(0,e.resolveComponent)("kq-form-item"),s=(0,e.resolveComponent)("kq-form"),r=(0,e.resolveComponent)("kq-slider"),d=(0,e.resolveComponent)("kq-col"),h=(0,e.resolveComponent)("kq-input-number"),w=(0,e.resolveComponent)("kq-color-picker"),C=(0,e.resolveComponent)("kq-option"),S=(0,e.resolveComponent)("kq-select"),y=(0,e.resolveComponent)("kq-input"),v=(0,e.resolveComponent)("kq-collapse-item"),N=(0,e.resolveComponent)("kq-collapse"),k=(0,e.resolveComponent)("kq-button");return(0,e.openBlock)(),(0,e.createElementBlock)("section",{class:(0,e.normalizeClass)(["kq3d-scan-effect",{"kq-box-shadow":n.showShadow}]),ref_key:"boxRef",ref:f},[n.showHeaderTemp?((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)((0,e.unref)(g)),{key:0,ref_key:"headerTempRef",ref:_},null,512)):(0,e.createCommentVNode)("v-if",!0),(0,e.createElementVNode)("div",u,[(0,e.createVNode)(s,{"label-width":"100px","label-position":"left"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).scanningForm},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(l,{modelValue:(0,e.unref)(p).scanningStyle,"onUpdate:modelValue":i[0]||(i[0]=t=>(0,e.unref)(p).scanningStyle=t),label:0,onChange:i[1]||(i[1]=e=>V("linearScanning"))},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(m).linearScanning),1)])),_:1},8,["modelValue"]),(0,e.createVNode)(l,{modelValue:(0,e.unref)(p).scanningStyle,"onUpdate:modelValue":i[2]||(i[2]=t=>(0,e.unref)(p).scanningStyle=t),label:1,onChange:i[3]||(i[3]=e=>V("ringScan"))},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(m).ringScan),1)])),_:1},8,["modelValue"])])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,{class:"kq3d-scan-effect-tip"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("p",null,(0,e.toDisplayString)((0,e.unref)(m).scanTips),1)])),_:1})])),_:1}),(0,e.createVNode)(N,{"model-value":(0,e.unref)(p).collapseValue},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{title:(0,e.unref)(m).analysisSettings,name:"setting"},{default:(0,e.withCtx)((()=>[0===(0,e.unref)(p).scanningStyle?((0,e.openBlock)(),(0,e.createBlock)(s,{key:0,"label-width":"100px","label-position":"left"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).lineSpeed},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(d,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(r,{modelValue:(0,e.unref)(p).lineSpeed,"onUpdate:modelValue":i[4]||(i[4]=t=>(0,e.unref)(p).lineSpeed=t),step:1,min:0,max:100,onChange:i[5]||(i[5]=e=>V("lineSpeed"))},null,8,["modelValue"])])),_:1}),(0,e.createVNode)(d,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(h,{modelValue:(0,e.unref)(p).lineSpeed,"onUpdate:modelValue":i[6]||(i[6]=t=>(0,e.unref)(p).lineSpeed=t),min:.1,max:100,step:.1,"controls-position":"right",onChange:i[7]||(i[7]=e=>V("lineSpeed"))},null,8,["modelValue","min","step"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).lineWidth},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(d,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(r,{modelValue:(0,e.unref)(p).lineWidth,"onUpdate:modelValue":i[8]||(i[8]=t=>(0,e.unref)(p).lineWidth=t),min:.1,max:100,step:.1,onChange:i[9]||(i[9]=e=>V("lineWidth"))},null,8,["modelValue","min","step"])])),_:1}),(0,e.createVNode)(d,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(h,{modelValue:(0,e.unref)(p).lineWidth,"onUpdate:modelValue":i[10]||(i[10]=t=>(0,e.unref)(p).lineWidth=t),min:0,max:100,step:1,"controls-position":"right",onChange:i[11]||(i[11]=e=>V("lineWidth"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).luminosity},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(d,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(r,{modelValue:(0,e.unref)(p).luminosity,"onUpdate:modelValue":i[12]||(i[12]=t=>(0,e.unref)(p).luminosity=t),step:1,min:0,max:100,onChange:i[13]||(i[13]=e=>V("luminosity"))},null,8,["modelValue"])])),_:1}),(0,e.createVNode)(d,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(h,{modelValue:(0,e.unref)(p).luminosity,"onUpdate:modelValue":i[14]||(i[14]=t=>(0,e.unref)(p).luminosity=t),min:0,max:100,step:1,"controls-position":"right",onChange:i[15]||(i[15]=e=>V("luminosity"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).scanColor},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(w,{modelValue:(0,e.unref)(p).lineColor,"onUpdate:modelValue":i[16]||(i[16]=t=>(0,e.unref)(p).lineColor=t),onChange:i[17]||(i[17]=e=>V("lineColor"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).scanningAngle+"(°)"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(d,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(r,{modelValue:(0,e.unref)(p).scanningAngle,"onUpdate:modelValue":i[18]||(i[18]=t=>(0,e.unref)(p).scanningAngle=t),step:1,min:0,max:360,onChange:i[19]||(i[19]=e=>V("scanningAngle"))},null,8,["modelValue"])])),_:1}),(0,e.createVNode)(d,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(h,{modelValue:(0,e.unref)(p).scanningAngle,"onUpdate:modelValue":i[20]||(i[20]=t=>(0,e.unref)(p).scanningAngle=t),min:0,max:360,step:1,"controls-position":"right",onChange:i[21]||(i[21]=e=>V("scanningAngle"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).whetherToAndFrom},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(S,{modelValue:(0,e.unref)(p).lineToAndFrom,"onUpdate:modelValue":i[22]||(i[22]=t=>(0,e.unref)(p).lineToAndFrom=t),onChange:i[23]||(i[23]=e=>V("lineToAndFrom"))},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{label:(0,e.unref)(m).yes,value:1},null,8,["label"]),(0,e.createVNode)(C,{label:(0,e.unref)(m).no,value:0},null,8,["label"])])),_:1},8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).mode},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(l,{modelValue:(0,e.unref)(p).modeStyle,"onUpdate:modelValue":i[24]||(i[24]=t=>(0,e.unref)(p).modeStyle=t),label:1,onChange:i[25]||(i[25]=e=>V("cycleStyle"))},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(m).cycleStyle),1)])),_:1},8,["modelValue"]),(0,e.createVNode)(l,{modelValue:(0,e.unref)(p).modeStyle,"onUpdate:modelValue":i[26]||(i[26]=t=>(0,e.unref)(p).modeStyle=t),label:2,onChange:i[27]||(i[27]=e=>V("lengthStyle"))},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(m).lengthStyle),1)])),_:1},8,["modelValue"])])),_:1})])),_:1},8,["label"])])),_:1}),1===(0,e.unref)(p).modeStyle?((0,e.openBlock)(),(0,e.createBlock)(o,{key:0},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).cycleStyle+"(s)"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(y,{modelValue:(0,e.unref)(p).cycleStyle,"onUpdate:modelValue":i[28]||(i[28]=t=>(0,e.unref)(p).cycleStyle=t),"controls-position":"right",onChange:i[29]||(i[29]=e=>V("cycleStyle"))},null,8,["modelValue"])])),_:1})])),_:1},8,["label"])])),_:1})):(0,e.createCommentVNode)("v-if",!0),2===(0,e.unref)(p).modeStyle?((0,e.openBlock)(),(0,e.createBlock)(o,{key:1},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).lengthStyle+"(m)"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(y,{modelValue:(0,e.unref)(p).lengthStyle,"onUpdate:modelValue":i[30]||(i[30]=t=>(0,e.unref)(p).lengthStyle=t),"controls-position":"right",onChange:i[31]||(i[31]=e=>V("lengthStyle"))},null,8,["modelValue"])])),_:1})])),_:1},8,["label"])])),_:1})):(0,e.createCommentVNode)("v-if",!0)])),_:1})):(0,e.createCommentVNode)("v-if",!0),1===(0,e.unref)(p).scanningStyle?((0,e.openBlock)(),(0,e.createBlock)(s,{key:1,"label-width":"100px","label-position":"left"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).sweepRadius+"(m)"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(d,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(r,{modelValue:(0,e.unref)(p).sweepRadius,"onUpdate:modelValue":i[32]||(i[32]=t=>(0,e.unref)(p).sweepRadius=t),step:1,min:(0,e.unref)(p).minSweepRadius,max:(0,e.unref)(p).maxSweepRadius,onChange:i[33]||(i[33]=e=>V("Radius"))},null,8,["modelValue","min","max"])])),_:1}),(0,e.createVNode)(d,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(h,{modelValue:(0,e.unref)(p).sweepRadius,"onUpdate:modelValue":i[34]||(i[34]=t=>(0,e.unref)(p).sweepRadius=t),min:(0,e.unref)(p).minSweepRadius,max:(0,e.unref)(p).maxSweepRadius,step:1,"controls-position":"right",onChange:i[35]||(i[35]=e=>V("Radius"))},null,8,["modelValue","min","max"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).whetherToAndFrom},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(S,{modelValue:(0,e.unref)(p).whetherToAndFrom,"onUpdate:modelValue":i[36]||(i[36]=t=>(0,e.unref)(p).whetherToAndFrom=t),onChange:i[37]||(i[37]=e=>V("whetherToAndFrom"))},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{label:(0,e.unref)(m).yes,value:1},null,8,["label"]),(0,e.createVNode)(C,{label:(0,e.unref)(m).no,value:0},null,8,["label"])])),_:1},8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).textureStyle},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(S,{modelValue:(0,e.unref)(p).textureStyle,"onUpdate:modelValue":i[38]||(i[38]=t=>(0,e.unref)(p).textureStyle=t),onChange:i[39]||(i[39]=e=>V("textureStyle"))},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{label:(0,e.unref)(m).imageTitle,value:0},null,8,["label"]),(0,e.createVNode)(C,{label:(0,e.unref)(m).mixed,value:1},null,8,["label"])])),_:1},8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(o,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).fillStyle,style:{"margin-bottom":"0px"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(S,{modelValue:(0,e.unref)(p).fillStyle,"onUpdate:modelValue":i[40]||(i[40]=t=>(0,e.unref)(p).fillStyle=t),onChange:i[41]||(i[41]=e=>V("fillStyle"))},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{label:(0,e.unref)(m).roundness,value:0},null,8,["label"]),(0,e.createVNode)(C,{label:(0,e.unref)(m).toroidal,value:1},null,8,["label"]),(0,e.createVNode)(C,{label:(0,e.unref)(m).radarScanning,value:2},null,8,["label"])])),_:1},8,["modelValue"])])),_:1},8,["label"])])),_:1}),1===(0,e.unref)(p).textureStyle?((0,e.openBlock)(),(0,e.createBlock)(o,{key:0},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{label:(0,e.unref)(m).scanColor,style:{"margin-top":"8px","margin-bottom":"0px"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(w,{modelValue:(0,e.unref)(p).fillColor,"onUpdate:modelValue":i[42]||(i[42]=t=>(0,e.unref)(p).fillColor=t),onChange:i[43]||(i[43]=e=>V("fillColor"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1})):(0,e.createCommentVNode)("v-if",!0)])),_:1})):(0,e.createCommentVNode)("v-if",!0)])),_:1},8,["title"])])),_:1},8,["model-value"]),(0,e.createElementVNode)("div",c,[(0,e.createVNode)(k,{onClick:i[44]||(i[44]=(0,e.withModifiers)((e=>x()),["stop"])),title:(0,e.unref)(m).addBtn,type:"primary"},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(m).addBtn),1)])),_:1},8,["title"]),(0,e.createVNode)(k,{onClick:i[45]||(i[45]=(0,e.withModifiers)((e=>b()),["stop"])),title:(0,e.unref)(m).clear},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(m).clear),1)])),_:1},8,["title"])])])],2)}}}),h=s(7997),f=s.n(h);p.install=(e,t)=>{f()(e,t),e.component(p.name,p)}}(),r}()}));