UNPKG

@kq_npm/client3d_webgl_vue

Version:

KQGIS Client3D for Vue.js

1 lines 42.2 kB
!function(e,i){"object"==typeof exports&&"object"==typeof module?module.exports=i(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/util"),require("@kq_npm/client_common_vue/_types/global-event")):"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/util","@kq_npm/client_common_vue/_types/global-event"],i):"object"==typeof exports?exports["@kq_npm/client3d_webgl_vue"]=i(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/util"),require("@kq_npm/client_common_vue/_types/global-event")):e["@kq_npm/client3d_webgl_vue"]=i(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/util"],e["@kq_npm/client_common_vue/_types/global-event"])}(this,(function(e,i,t,n,l){return function(){"use strict";var o={1705:function(e,i,t){var n=t(9389),l=t(7997),o=t.n(l);n.ElMessage.install=(e,i)=>{o()(e,i),e.component("KqMessage",n.ElMessage)},i.Z=n.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")},3536:function(e){e.exports=l},7135:function(e){e.exports=i},3458:function(e){e.exports=n},7997:function(e){e.exports=t},1895:function(i){i.exports=e}},a={};function s(e){var i=a[e];if(void 0!==i)return i.exports;var t=a[e]={exports:{}};return o[e](t,t.exports,s),t.exports}s.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(i,{a:i}),i},s.d=function(e,i){for(var t in i)s.o(i,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:i[t]})},s.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},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,{WindySlicingViewModel:function(){return l},default:function(){return h}});var e=s(1895),i=s(7135),t=s(348),n=s(1705);class l{_sceneView=null;_viewer=null;_layerManager=null;_options=null;_windySlicingDrawManager=null;_windySlicingLayerconfig=null;_windySlicingPolylineHandler=null;_isDrawPolyline=!1;_pointSlicingHtmlTag=null;_volumePrimitives=[];_volumePrimitive=null;_volumePrimitiveVoxels=null;_currentVolumeOption=null;_currentVolumePosition=null;callbackParams=null;volumelines=null;constructor(e,i,t){this._sceneView=e,this._layerManager=e._layerManager,this._viewer=e._viewer,this._options=i||{},this._windySlicingDrawManager=this._sceneView._drawManager,this._viewer.scene.globe.showGroundAtmosphere=!1,this._viewer.scene.screenSpaceCameraController.maximumZoomDistance=2e7,this.callbackParams=t,this._windySlicingPolylineHandler=new window.Cesium.ScreenSpaceEventHandler(this._viewer.canvas)}paramsChanged(e,i){let t=this;if(this._windySlicingLayerconfig||this.getWindySlicingLayer(this._windySlicingLayerconfig?.guid??""),this._windySlicingLayerconfig)switch(e){case"mode":this.removeInputAction(),this.removeVolumePrimitive(),"point"===this._options.mode?(this._windySlicingDrawManager.stopDraw(),this.drawPolylineHandler()):"line"===this._options.mode?(this.drawPolylineHandler((function(e){t._isDrawPolyline=!1,t.windySlicingPolylineSlicing(e)})),this._isDrawPolyline=!0,this._windySlicingDrawManager.startDraw("polyline",{clampToGround:!0},null,"windySlicingDraw")):"polygon"===this._options.mode?this._windySlicingDrawManager.startDraw("rectangle",{clampToGround:!0},((e,{shape:i})=>{i.groupName&&"windySlicingDraw"===i.groupName&&(i&&"rectangle"===i.type&&(t.windySlicingRectangleSlicing(i.bounds),this.callbackParams&&this.callbackParams("showSlicingSetting",!0)),t._windySlicingDrawManager.clearDrawGroup("windySlicingDraw"))}),"windySlicingDraw"):"clear"===this._options.mode&&this.clear();break;case"slicingType":this.removeVolumePrimitive(),1==this._options.slicingType?"1"==this._options.styleType&&this._currentVolumePosition&&this.windySlicingRectangleSlicing(this._currentVolumePosition):this.windyVoxelsSingleSlicing();break;case"styleType":this.removeVolumePrimitive(),"1"==this._options.styleType?this._currentVolumePosition&&this.windySlicingRectangleSlicing(this._currentVolumePosition):this._currentVolumePosition&&this.windySlicingSurfaceSection(this._currentVolumePosition,this._windySlicingLayerconfig);break;case"showAxis":this._volumePrimitive&&this._volumePrimitive.showAxis(this._options[e]);break;case"enableLayering":case"enableLayerings":this._volumePrimitive&&this.setEnableLayeringVisible();break;case"layerScale":this._volumePrimitive&&(this._volumePrimitive.scale=this._options[e]);break;case"altitudeControl":if(this.removeVolumePrimitive(),this._currentVolumePosition){let e=JSON.parse(JSON.stringify(this._windySlicingLayerconfig));this.windySlicingSurfaceSection(this._currentVolumePosition,Object.assign(e,{zValues:i}))}break;case"enableLongSection":case"longSectionValue":this._volumePrimitive1&&(this._viewer.scene.primitives.remove(this._volumePrimitive1),this._volumePrimitive1=null),this._options[e]&&this.setjdVolumeVisible();break;case"enableLatSection":case"latSectionValue":this._volumePrimitive2&&(this._viewer.scene.primitives.remove(this._volumePrimitive2),this._volumePrimitive2=null),this._options[e]&&this.setwdVolumeVisible();break;case"enableHeightSection":case"heightSectionValue":this.setgdVolumeVisible();break;case"bodyDissectionAxis":this._volumePrimitiveVoxels&&this._volumePrimitiveVoxels.showAxis(this._options[e]);break;case"bodyDissectionAlpha":this._volumePrimitiveVoxels&&(this._volumePrimitiveVoxels.alpha=this._options[e]);break;case"bodyDissectionXClipping":if(this._volumePrimitiveVoxels){var n=this._volumePrimitiveVoxels._minX,l=n+(this._volumePrimitiveVoxels._maxX-n)*this._options[e];this._volumePrimitiveVoxels.xClipping(l)}break;case"bodyDissectionYClipping":if(this._volumePrimitiveVoxels){var o=this._volumePrimitiveVoxels._minY,a=o+(this._volumePrimitiveVoxels._maxY-o)*this._options[e];this._volumePrimitiveVoxels.yClipping(a)}break;case"bodyDissectionZClipping":this._volumePrimitiveVoxels&&this._volumePrimitiveVoxels.zIndexClipping(this._options[e]-1||0);break;case"destroy":this.destroy()}}setjdVolumeVisible(){let e=this,i=JSON.parse(JSON.stringify(e.volumelines?.volumeLine1));i.forEach((i=>{i.x=i.x-Number(e._options.longSectionValue)}));let t=this._options?.enableLayerings?.slice(0,this._options?.altitudeControl);this._volumePrimitive1=this.getSlicingParams({showAxis:!1,zValues:t}),this._volumePrimitive1&&this._volumePrimitive1.readyPromise&&this._volumePrimitive1.readyPromise.then((()=>{e._volumePrimitive1.showSection(i)}))}setwdVolumeVisible(){let e=this,i=JSON.parse(JSON.stringify(e.volumelines?.volumeLine2));i.forEach((i=>{i.y=i.y-Number(e._options.latSectionValue)}));let t=this._options?.enableLayerings?.slice(0,this._options?.altitudeControl);this._volumePrimitive2=this.getSlicingParams({showAxis:!1,zValues:t}),this._volumePrimitive2&&this._volumePrimitive2.readyPromise&&this._volumePrimitive2.readyPromise.then((()=>{e._volumePrimitive2.showSection(i)}))}setgdVolumeVisible(){let e=this._options?.enableLayerings?.slice(0,this._options?.altitudeControl),i=[];if(this._options.enableHeightSection){for(let t=0;t<e.length;t++)t==this._options.heightSectionValue-1?i.push(!0):i.push(!1);"hpa"==this._windySlicingLayerconfig.unit&&(i=i.reverse()),this._volumePrimitive&&this._volumePrimitive.updateVisibles(i)}else{for(let t=0;t<e.length;t++)i.push(!1);this._volumePrimitive&&this._volumePrimitive.updateVisibles(i)}}setEnableLayeringVisible(){let e=this._windySlicingLayerconfig?.zValues,i=[];if(this._options?.enableLayering){for(let t=0;t<e.length;t++)this._options?.enableLayerings?.includes(e[t])?i.push(!0):i.push(!1);this._volumePrimitive.updateVisibles("hpa"==this._windySlicingLayerconfig.unit?i.reverse():i)}else{for(let t=e.length;t>0;t--)i.push(!1);this._volumePrimitive.updateVisibles(i)}}getWindySlicingLayer(e){const i="string"==typeof e&&""!==e.trim();if(this._windySlicingLayerconfig=i?this._layerManager.getLayerDataByGuid(e)||null:this._layerManager._layerListData?.find((e=>"kqgisweatherserver"===e?.addType&&e.params&&e.params.zValues&&e.params.zValues.length))||null,this._windySlicingLayerconfig)return this._windySlicingLayerconfig.colors=this._windySlicingLayerconfig?.params?.colorTable??[],this._windySlicingLayerconfig.ranges=this._windySlicingLayerconfig?.params?.rangeTable??[],this._windySlicingLayerconfig.zValues=this._windySlicingLayerconfig?.zValues??this._windySlicingLayerconfig?.params?.zValues??[],this.callbackParams&&this.callbackParams("slicingLayerConfig",this._windySlicingLayerconfig),this._windySlicingLayerconfig;(0,n.Z)({message:this._sceneView._language.errorTips,type:"warning"})}removeVolumePrimitive(){this._volumePrimitive&&(this._viewer.scene.primitives.remove(this._volumePrimitive),this._volumePrimitive=null),this._volumePrimitiveVoxels&&(this._volumePrimitiveVoxels.destroy(),this._volumePrimitiveVoxels=null),this._volumePrimitive1&&(this._viewer.scene.primitives.remove(this._volumePrimitive1),this._volumePrimitive1=null),this._volumePrimitive2&&(this._viewer.scene.primitives.remove(this._volumePrimitive2),this._volumePrimitive2=null)}removeInputAction(){this._windySlicingPolylineHandler&&(this._windySlicingPolylineHandler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK),this._windySlicingPolylineHandler.removeInputAction(window.Cesium.ScreenSpaceEventType.RIGHT_CLICK)),this._pointSlicingHtmlTag&&this._pointSlicingHtmlTag.destroy()}drawPolylineHandler(e){let i=this,t=[];this._windySlicingPolylineHandler.setInputAction((function(n){if(i._isDrawPolyline){let o=i._viewer.scene.pickPosition(n.position);if(window.Cesium.defined(o)&&(t.push(o),2==t.length)){i._windySlicingDrawManager.stopDraw(),i.removeInputAction();var l=[];t.forEach((e=>{var t=i._windySlicingDrawManager.transformPosition(e);l.push({x:t[0],y:t[1]})})),e&&e(l)}}else{let e=i._viewer.scene.globe.ellipsoid.cartesianToCartographic(i._viewer.camera.pickEllipsoid(n.position,i._viewer.scene.globe.ellipsoid));i.getPointSlicingData(e)}}),window.Cesium.ScreenSpaceEventType.LEFT_CLICK),i._isDrawPolyline||i._windySlicingPolylineHandler.setInputAction((function(e){i.removeInputAction()}),window.Cesium.ScreenSpaceEventType.RIGHT_CLICK)}getPointSlicingData(e){let i=this,t=window.Cesium.Math.toDegrees(e.longitude),n=window.Cesium.Math.toDegrees(e.latitude),l=this._windySlicingLayerconfig.unit,o={collectionName:i._windySlicingLayerconfig?.params?.layer,point:{x:t,y:n},geoSRS:"EPSG:4326",type:1};this._pointSlicingHtmlTag&&this._pointSlicingHtmlTag.destroy();let a=this._windySlicingLayerconfig?.url.replaceAll("/wmts","").replace("/image","/image/identify");const s=new XMLHttpRequest;s.open("POST",a),s.setRequestHeader("Content-Type","application/json"),s.onload=function(){if(s.status>=200&&s.status<300){const t=JSON.parse(s.responseText);if(t){let n,o=t.result.RasterNameValue;if("wind_5"===i._windySlicingLayerconfig?.params?.layer||"current_global_5"===i._windySlicingLayerconfig?.params?.layer){let e=o[0].value,t=o[1].value,l=i.direction(e,t),a="wind_5"===i._windySlicingLayerconfig?.params?.layer?"风":"";n=l.direct+a+"&nbsp;&nbsp;"+l.speed.toFixed(2)}else if("hailang"===i._windySlicingLayerconfig?.params?.layer){let e=i.direction(null,null,o[4].value),t=Number(o[2].value).toFixed(),l=Number(o[0].value).toFixed();n=e.direct+"&nbsp;&nbsp;周期&nbsp;&nbsp;"+t+"s&nbsp;&nbsp;&nbsp;&nbsp;"+l}else n=Number(o[0].value);let a=n+"&nbsp;&nbsp;"+l;i.setWindySlicingPointData(a,e)}}},s.onerror=function(){},s.send(JSON.stringify(o))}setWindySlicingPointData(e,i){let t=window.Cesium.Cartesian3.fromRadians(i.longitude,i.latitude,i.height),n=`<div class="pickClass" style="">\n <div style="display: block;position: absolute;left: 0px;right: 0;width: 2px;height: 140px;background: rgba(68,65,65,.84)">\n <span style="background:rgba(68,65,65,.84);padding:5px 18px;text-align: center;line-height: 1.9;color: #fff;border-top-right-radius: 20px;border-bottom-right-radius: 20px;white-space: nowrap;cursor: move;display: inline-block;">${e}</span>\n </div>\n </div>`;this._pointSlicingHtmlTag=new window.Cesium.Kq3dHtmlTag(this._viewer,{html:n,position:t,anchor:[0,-140],noEvent:!1})}getSlicingParams(e){if(!this._windySlicingLayerconfig)return;let i=this._windySlicingLayerconfig?.colors??[],t=this._windySlicingLayerconfig?.ranges??[],n=i&&this.generateImage(i);if(!n)return;this._currentVolumeOption={viewer:this._viewer,url:this._windySlicingLayerconfig.url.replaceAll("/wmts",""),collectionName:this._windySlicingLayerconfig?.params?.layer,image:n,offset:1e4,scale:this._options.layerScale,unit:this._windySlicingLayerconfig.unit,attrRange:[t[0],t[t.length-1]],varName:this._windySlicingLayerconfig?.params?.varNames};let l=this._windySlicingLayerconfig.params.varNames.split(",");return l&&l.length>1&&Object.assign(this._currentVolumeOption,{pixelInterval:2,isRequestCompound:"true"}),Object.assign(this._currentVolumeOption,e||{}),new Cesium.Kq3dGridVolumeProvider(this._currentVolumeOption)}windySlicingPolylineSlicing(e){this._volumePrimitive=this.getSlicingParams();let i=this;this._volumePrimitive&&this._volumePrimitive.readyPromise&&(this._volumePrimitive.readyPromise.then((()=>{i._volumePrimitive.showSection(e)})),this.setViewEntity(function(e){let i=1/0,t=-1/0,n=1/0,l=-1/0;for(const o of e)i=Math.min(i,o.x),t=Math.max(t,o.x),n=Math.min(n,o.y),l=Math.max(l,o.y);return{minX:i,maxX:t,minY:n,maxY:l}}(e)))}windySlicingRectangleSlicing(e){this._currentVolumePosition=e,this._volumePrimitive=this.getSlicingParams();let i=this;this._volumePrimitive&&this._volumePrimitive.readyPromise&&(this._volumePrimitive.readyPromise.then((()=>{i._volumePrimitive.showSections(e)})),this.setViewEntity(e))}windySlicingSurfaceSection(e,i){let t={},n=JSON.parse(JSON.stringify(i.zValues));n&&0!=n?.length||(n=JSON.parse(JSON.stringify(i.ranges)));let l=n.length-1;"hpa"!=i.unit?(l=0,n=n.sort(((e,i)=>e-i))):n=n.sort(((e,i)=>i-e)),t.zValues=n,t.showAxis=!0,this._volumePrimitive=this.getSlicingParams(t);let o=this;if(!this._volumePrimitive||!this._volumePrimitive.readyPromise)return;this._volumePrimitive.readyPromise.then((()=>{void 0!==l?o._volumePrimitive.showPolygonSection(e,l):o._volumePrimitive.showPolygonSection(e)}));let a=JSON.parse(JSON.stringify(t));this.volumelines=this.createXYVolume(this.getRectangle(e)),a.showAxis=!1,this._volumePrimitive1=this.getSlicingParams(a),this._volumePrimitive1&&this._volumePrimitive1.readyPromise&&(this._volumePrimitive1.readyPromise.then((()=>{o._volumePrimitive1.showSection(o.volumelines?.volumeLine1)})),this._volumePrimitive2=this.getSlicingParams(a),this._volumePrimitive2&&this._volumePrimitive2.readyPromise&&(this._volumePrimitive2.readyPromise.then((()=>{o._volumePrimitive2.showSection(o.volumelines?.volumeLine2)})),this.callbackParams&&this.callbackParams("windySlicingSurfaceSection",n),this.setViewEntity(e)))}getRectangle(e){return"string"==typeof e&&(e=JSON.parse(e)),new Cesium.Rectangle(Cesium.Math.toRadians(e.minX),Cesium.Math.toRadians(e.minY),Cesium.Math.toRadians(e.maxX),Cesium.Math.toRadians(e.maxY))}createXYVolume(e){var i=Cesium.Rectangle.southwest(e),t=Cesium.Rectangle.northwest(e),n=Cesium.Rectangle.northeast(e),l=Cesium.Rectangle.southeast(e);let o=[],a=[],s=[],r=[];o.push({longitude:n.longitude/Math.PI*180,latitude:n.latitude/Math.PI*180}),o.push({longitude:t.longitude/Math.PI*180,latitude:t.latitude/Math.PI*180}),a.push({longitude:l.longitude/Math.PI*180,latitude:l.latitude/Math.PI*180}),a.push({longitude:i.longitude/Math.PI*180,latitude:i.latitude/Math.PI*180}),s.push({longitude:n.longitude/Math.PI*180,latitude:n.latitude/Math.PI*180}),s.push({longitude:l.longitude/Math.PI*180,latitude:l.latitude/Math.PI*180}),r.push({longitude:t.longitude/Math.PI*180,latitude:t.latitude/Math.PI*180}),r.push({longitude:i.longitude/Math.PI*180,latitude:i.latitude/Math.PI*180});let u=[],c=[];return u.push(this.getLineCenter(o[0],o[1])),u.push(this.getLineCenter(a[0],a[1])),c.push(this.getLineCenter(s[0],s[1])),c.push(this.getLineCenter(r[0],r[1])),{line1:o,line2:a,line3:s,line4:r,volumeLine1:u,volumeLine2:c}}getLineCenter(e,i){e=Cesium.Cartesian3.fromDegrees(e.longitude,e.latitude),i=Cesium.Cartesian3.fromDegrees(i.longitude,i.latitude);let t=Cesium.Cartesian3.add(e,i,new Cesium.Cartesian3);t=Cesium.Cartesian3.divideByScalar(t,2,new Cesium.Cartesian3);let n=Cesium.Cartographic.fromCartesian(t);return{y:Cesium.Math.toDegrees(n.latitude),x:Cesium.Math.toDegrees(n.longitude)}}windyVoxelsSingleSlicing(){if(Cesium.Kq3dGridVoxelsSingleProviderExt&&this._currentVolumeOption&&this._currentVolumePosition){let e=Object.assign({},this._currentVolumeOption,{showAxis:!0,scale:this._options.layerScale});this._volumePrimitiveVoxels=new Cesium.Kq3dGridVoxelsSingleProviderExt(e);let i=this;if(!this._volumePrimitiveVoxels||!this._volumePrimitiveVoxels.readyPromise)return;this._volumePrimitiveVoxels.readyPromise.then((()=>{i._volumePrimitiveVoxels.showVoxels(i._currentVolumePosition)})),this.callbackParams&&this.callbackParams("bodyDissectionZClipping",this._options.enableLayerings)}}setViewEntity(e){let i=this;var t=new Cesium.Rectangle(Cesium.Math.toRadians(e.minX),Cesium.Math.toRadians(e.minY),Cesium.Math.toRadians(e.maxX),Cesium.Math.toRadians(e.maxY));let n=this._viewer.entities.add({name:"Blue translucent, rotated, and extruded ellipse with outline",rectangle:{coordinates:t,material:Cesium.Color.RED.withAlpha(0)}});i._viewer.flyTo(n,{duration:1,offset:{heading:Cesium.Math.toRadians(-30),pitch:Cesium.Math.toRadians(-30),range:11e5}}),setTimeout((()=>{i._viewer.entities.remove(n)}),1e3)}generateImage(e){var i=document.createElement("canvas"),t=i.getContext("2d");i.width=434,i.height=27;var n=1/(e.length-1);const l=t.createLinearGradient(0,0,i.width,i.height);l.addColorStop(0,e[0]);for(let i=1;i<e.length;i++)l.addColorStop(i*n,e[i]);return t.fillStyle=l,t.fillRect(0,0,i.width,i.height),i.toDataURL("image/png")}clear(){this.removeVolumePrimitive(),this.removeInputAction(),this._isDrawPolyline=!1,this._windySlicingDrawManager.stopDraw(),this._windySlicingDrawManager.clearDrawGroup("windySlicingDraw"),this._currentVolumePosition=null,this._currentVolumeOption=null,this.volumelines=null}destroy(){this.clear(),this._options&&(this._options={}),this._viewer.scene.globe.showGroundAtmosphere=!0,this._viewer.scene.screenSpaceCameraController.maximumZoomDistance=Number.POSITIVE_INFINITY}}var o=s(3458),a=s(7080),u=s(3536),c=s.n(u);const d={class:"kq3d-windy-slicing-box"},m={name:"Kq3dWindySlicing"};var h=Object.assign(m,{props:{mapTarget:String,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:t.IconWindySlicing},isRight:{type:Boolean,default:!0},show:{type:Boolean,default:!0}},setup(n,{expose:s}){const r=n,{proxy:u}=(0,e.getCurrentInstance)();let m=(0,e.ref)(""),h=(0,e.ref)(u.$i18n.global.messages[u.$i18n.global.locale].webgl),g=(0,e.ref)([]),p=(0,e.ref)("m"),y=(0,e.ref)(!1),_=(0,e.ref)(r.show),f=(0,e.reactive)({collapseValue:r.settingParams?.collapseValue??"setting",mode:r.settingParams?.mode??"",slicingType:r.settingParams?.slicingType??1,showAxis:r.settingParams?.showAxis??!0,styleType:r.settingParams?.styleType??"1",enableLayering:r.settingParams?.enableLayering??!0,enableLayerings:r.settingParams?.enableLayerings??[],layerScale:r.settingParams?.layerScale??300,maxLayerScale:r.settingParams?.maxLayerScale??300,altitudeControl:r.settingParams?.altitudeControl??50,maxAltitudeControl:r.settingParams?.maxAltitudeControl??100,enableLongSection:r.settingParams?.enableLongSection??!0,longSectionValue:r.settingParams?.longSectionValue??50,longSectionValueStep:1,longSectionValueMin:1,longSectionValueMax:10,enableLatSection:r.settingParams?.enableLatSection??!0,latSectionValue:r.settingParams?.latSectionValue??50,latSectionValueStep:1,latSectionValueMin:1,latSectionValueMax:10,enableHeightSection:r.settingParams?.enableHeightSection??!0,heightSectionValueMax:10,heightSectionValue:r.settingParams?.heightSectionValue??50,bodyDissectionAxis:r.settingParams?.bodyDissectionAxis??!0,bodyDissectionAlpha:r.settingParams?.bodyDissectionAlpha??1,bodyDissectionXClipping:r.settingParams?.bodyDissectionXClipping??0,bodyDissectionYClipping:r.settingParams?.bodyDissectionYClipping??0,bodyDissectionZClipping:r.settingParams?.bodyDissectionZClipping??1,bodyDissectionZClippingMax:r.settingParams?.bodyDissectionZClippingMax??10}),v=JSON.parse(JSON.stringify(f));delete v.collapseValue;let V=null,w=(0,e.ref)(null),S=(0,e.ref)(),b=(0,e.ref)(),{locale:C,messages:x}=(0,a.useI18n)(),P=(0,e.ref)(null);P.value=h.value.windySlicingAnalysisTitle,(0,e.watch)((()=>C.value),((e,i)=>{h.value=x.value[e].webgl,P.value=h.value.windySlicingAnalysisTitle})),(0,e.onMounted)((()=>{(0,o.updatePosition)(w.value,r),(0,e.watch)((()=>r.position),((e,i)=>{(0,o.updatePosition)(w.value,r)})),N(),(0,e.watch)((()=>r.showHeaderTemp),((i,t)=>{(0,e.nextTick)((()=>{N()}))})),m.value=u.$i18n.locale,i.utils.getWebMap(r.mapTarget,(e=>{e&&(V=new l(e,f,k))})),setTimeout((()=>{c().on("windyTypeChange",D)}),100)}));const N=()=>{r.showHeaderTemp&&(S.value=(0,o.createHeaderTemp)(w.value,(0,e.toRefs)(r),b,P))},D=e=>{A(),Object.assign(f,v),"exit"!=e?.windyType?(_.value=!0,V&&V.getWindySlicingLayer(e?.guid??"")):_.value=!1};function k(e,i){switch(e){case"showSlicingSetting":y.value=i;break;case"slicingLayerConfig":Array.isArray(i.zValues)&&0!==i.zValues.length?(_.value=!0,g.value=i.zValues,f.enableLayerings=i.zValues,V._options.enableLayerings=i.zValues,f.altitudeControl=i.zValues.length,f.maxAltitudeControl=i.zValues.length,Object.assign(V._options,f)):_.value=!1,p.value=i.unit;break;case"windySlicingSurfaceSection":q(i);break;case"bodyDissectionZClipping":f.bodyDissectionAxis=!0,f.bodyDissectionAlpha=1,f.bodyDissectionXClipping=0,f.bodyDissectionYClipping=0,f.bodyDissectionZClipping=1,"hpa"==p.value?f.bodyDissectionZClipping=1:f.bodyDissectionZClipping=i.length,f.bodyDissectionZClippingMax=i.length,Object.assign(V._options,f)}}function L(e){V&&f.mode!==e&&(y.value=!1,f.mode=e,V._options.mode=f.mode,V&&V.paramsChanged("mode"),"delete"==e&&Object.assign(f,v))}function M(e){if(!V)return;V._options[e]=f[e];let i=null;switch(e){case"slicingType":T();const e={1:"1",3:"3"}[f.slicingType];e&&(V._options.styleType=f.styleType=e);break;case"styleType":T(),"2"==f.styleType&&q(g.value);break;case"altitudeControl":i=g.value.slice(0,f.altitudeControl),q(i)}V.paramsChanged?.(e,i)}function T(){f.showAxis=!0,f.enableLayering=!0,f.enableLayerings=g?.value??[],V._options.enableLayerings=g?.value??[],f.altitudeControl=g?.value?.length??0,f.maxAltitudeControl=g?.value?.length??0,f.enableHeightSection=!0,f.enableLatSection=!0,f.enableLongSection=!0,f.bodyDissectionAxis=!0,f.bodyDissectionAlpha=1,f.bodyDissectionXClipping=0,f.bodyDissectionYClipping=0,f.bodyDissectionZClipping=1,f.bodyDissectionZClippingMax=10,Object.assign(V._options,f)}function q(e){if(f.heightSectionValueMax=e.length,"hpa"!=p.value?f.heightSectionValue=1:f.heightSectionValue=e.length,!V?.volumelines)return;let i=Math.abs(V?.volumelines.line1[0].longitude-V?.volumelines.line1[1].longitude);i=i.toFixed(3),f.longSectionValueStep=i/100,f.longSectionValueMin=-i/2,f.longSectionValueMax=i/2,f.longSectionValue=0;let t=Math.abs(V?.volumelines.line4[0].latitude-V?.volumelines.line4[1].latitude);t=t.toFixed(3),f.latSectionValueStep=t/100,f.latSectionValueMin=-t/2,f.latSectionValueMax=t/2,f.latSectionValue=0,Object.assign(V._options,f)}function A(){y.value=!1,V&&V.clear()}function I(e){return g.value[e-1]+p.value}return(0,e.onBeforeUnmount)((()=>{c().off("windyTypeChange",D),V&&V.destroy()})),s({clear:A}),(i,l)=>{const o=(0,e.resolveComponent)("kq-button"),a=(0,e.resolveComponent)("kq-row"),s=(0,e.resolveComponent)("kq-radio-button"),r=(0,e.resolveComponent)("kq-radio-group"),u=(0,e.resolveComponent)("kq-form-item"),c=(0,e.resolveComponent)("kq-switch"),v=(0,e.resolveComponent)("kq-slider"),V=(0,e.resolveComponent)("kq-col"),C=(0,e.resolveComponent)("kq-input-number"),x=(0,e.resolveComponent)("kq-option"),P=(0,e.resolveComponent)("kq-select"),N=(0,e.resolveComponent)("kq-form"),D=(0,e.resolveComponent)("kq-collapse-item"),k=(0,e.resolveComponent)("kq-collapse");return(0,e.withDirectives)(((0,e.openBlock)(),(0,e.createElementBlock)("section",{class:(0,e.normalizeClass)(["kq3d-windy-slicing",{"kq-box-shadow":n.showShadow}]),ref_key:"boxRef",ref:w},[n.showHeaderTemp?((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)((0,e.unref)(S)),{key:0,ref_key:"headerTempRef",ref:b},null,512)):(0,e.createCommentVNode)("v-if",!0),(0,e.createElementVNode)("div",d,[(0,e.createVNode)(a,{gutter:20,class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(o,{icon:(0,e.unref)(t.IconLocation),class:(0,e.normalizeClass)(["kq3d-windy-slicing-btn","point"===(0,e.unref)(f).mode?"kq3d-windy-slicing-btn_active":""]),onClick:l[0]||(l[0]=e=>L("point")),title:(0,e.unref)(h).pointSlicing},null,8,["icon","class","title"]),(0,e.createVNode)(o,{icon:(0,e.unref)(t.IconLine),class:(0,e.normalizeClass)(["kq3d-windy-slicing-btn","line"===(0,e.unref)(f).mode?"kq3d-windy-slicing-btn_active":""]),onClick:l[1]||(l[1]=e=>L("line")),title:(0,e.unref)(h).lineSlicing},null,8,["icon","class","title"]),(0,e.createVNode)(o,{icon:(0,e.unref)(t.IconPolygon),class:(0,e.normalizeClass)(["kq3d-windy-slicing-btn","polygon"===(0,e.unref)(f).mode?"kq3d-windy-slicing-btn_active":""]),onClick:l[2]||(l[2]=e=>L("polygon")),title:(0,e.unref)(h).polygonSlicing},null,8,["icon","class","title"]),(0,e.createVNode)(o,{icon:(0,e.unref)(t.IconPlottingDelete),class:(0,e.normalizeClass)(["kq3d-windy-slicing-btn","delete"===(0,e.unref)(f).mode?"kq3d-windy-slicing-btn_active":""]),onClick:l[3]||(l[3]=e=>L("delete")),title:(0,e.unref)(h).clear},null,8,["icon","class","title"])])),_:1}),(0,e.createVNode)(a,{class:"kq3d-windy-slicing-tip"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("p",{style:(0,e.normalizeStyle)((0,e.unref)(y)?"margin-bottom:16px":"")},(0,e.toDisplayString)((0,e.unref)(h).windySlicingTips),5)])),_:1}),(0,e.withDirectives)((0,e.createVNode)(k,{"model-value":(0,e.unref)(f).collapseValue,class:"kq3d-windy-slicing-collapse"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(D,{title:(0,e.unref)(h).analysisSettings,name:"setting"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(N,{"label-width":"zh"===(0,e.unref)(m)?"110px":"160px","label-position":"left"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).slicingType},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(r,{modelValue:(0,e.unref)(f).slicingType,"onUpdate:modelValue":l[4]||(l[4]=i=>(0,e.unref)(f).slicingType=i),onChange:l[5]||(l[5]=e=>M("slicingType"))},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(s,{label:1},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(h).threeDimensionalSurface),1)])),_:1}),(0,e.createVNode)(s,{label:3},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(h).threeDimensional),1)])),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).slicingStyle},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(r,{modelValue:(0,e.unref)(f).styleType,"onUpdate:modelValue":l[6]||(l[6]=i=>(0,e.unref)(f).styleType=i),onChange:l[7]||(l[7]=e=>M("styleType"))},{default:(0,e.withCtx)((()=>[(0,e.withDirectives)((0,e.createVNode)(s,{label:"1"},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(h).surfaceStratification),1)])),_:1},512),[[e.vShow,1==(0,e.unref)(f).slicingType]]),(0,e.withDirectives)((0,e.createVNode)(s,{label:"2"},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(h).surfaceSection),1)])),_:1},512),[[e.vShow,1==(0,e.unref)(f).slicingType]]),(0,e.withDirectives)((0,e.createVNode)(s,{label:"3"},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(h).bodyDissection),1)])),_:1},512),[[e.vShow,3==(0,e.unref)(f).slicingType]])])),_:1},8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createCommentVNode)(" 面分层设置 "),"1"===(0,e.unref)(f).styleType?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:0},[(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).printlatlng},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(c,{modelValue:(0,e.unref)(f).showAxis,"onUpdate:modelValue":l[8]||(l[8]=i=>(0,e.unref)(f).showAxis=i),onChange:l[9]||(l[9]=e=>M("showAxis"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:(0,e.normalizeClass)((0,e.unref)(f).enableLayering?"rowclass":"")},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).layering},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(c,{modelValue:(0,e.unref)(f).enableLayering,"onUpdate:modelValue":l[10]||(l[10]=i=>(0,e.unref)(f).enableLayering=i),onChange:l[11]||(l[11]=e=>M("enableLayering"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1},8,["class"]),(0,e.withDirectives)((0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).hierarchicalScaling},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(V,{span:17},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{modelValue:(0,e.unref)(f).layerScale,"onUpdate:modelValue":l[12]||(l[12]=i=>(0,e.unref)(f).layerScale=i),"show-tooltip":!1,step:1,min:0,max:(0,e.unref)(f).maxLayerScale,onChange:l[13]||(l[13]=e=>M("layerScale"))},null,8,["modelValue","max"])])),_:1}),(0,e.createVNode)(V,{span:7},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{modelValue:(0,e.unref)(f).layerScale,"onUpdate:modelValue":l[14]||(l[14]=i=>(0,e.unref)(f).layerScale=i),min:0,max:(0,e.unref)(f).maxLayerScale,step:1,"controls-position":"right",onChange:l[15]||(l[15]=e=>M("layerScale"))},null,8,["modelValue","max"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1},512),[[e.vShow,(0,e.unref)(f).enableLayering]]),(0,e.withDirectives)((0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).stratifiedSelection},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(P,{modelValue:(0,e.unref)(f).enableLayerings,"onUpdate:modelValue":l[16]||(l[16]=i=>(0,e.unref)(f).enableLayerings=i),multiple:"","collapse-tags":"",placeholder:(0,e.unref)(h).pleaseselect,onChange:l[17]||(l[17]=e=>M("enableLayerings"))},{default:(0,e.withCtx)((()=>[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)((0,e.unref)(g),(i=>((0,e.openBlock)(),(0,e.createBlock)(x,{key:i,label:i+(0,e.unref)(p),value:i},null,8,["label","value"])))),128))])),_:1},8,["modelValue","placeholder"])])),_:1})])),_:1},8,["label"])])),_:1},512),[[e.vShow,(0,e.unref)(f).enableLayering]])],64)):(0,e.createCommentVNode)("v-if",!0),(0,e.createCommentVNode)(" 面剖设置 "),"2"===(0,e.unref)(f).styleType?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:1},[(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).altitudeControl},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(V,{span:17},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{modelValue:(0,e.unref)(f).altitudeControl,"onUpdate:modelValue":l[18]||(l[18]=i=>(0,e.unref)(f).altitudeControl=i),step:1,min:1,"format-tooltip":I,max:(0,e.unref)(f).maxAltitudeControl,onChange:l[19]||(l[19]=e=>M("altitudeControl"))},null,8,["modelValue","max"])])),_:1}),(0,e.createVNode)(V,{span:7},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{modelValue:(0,e.unref)(f).altitudeControl,"onUpdate:modelValue":l[20]||(l[20]=i=>(0,e.unref)(f).altitudeControl=i),min:1,max:(0,e.unref)(f).maxAltitudeControl,step:1,"controls-position":"right",onChange:l[21]||(l[21]=e=>M("altitudeControl"))},null,8,["modelValue","max"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).longSection},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(c,{modelValue:(0,e.unref)(f).enableLongSection,"onUpdate:modelValue":l[22]||(l[22]=i=>(0,e.unref)(f).enableLongSection=i),onChange:l[23]||(l[23]=e=>M("enableLongSection"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).longSection+(0,e.unref)(h).value},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(V,{span:17},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{modelValue:(0,e.unref)(f).longSectionValue,"onUpdate:modelValue":l[24]||(l[24]=i=>(0,e.unref)(f).longSectionValue=i),"show-tooltip":!1,step:(0,e.unref)(f).longSectionValueStep,min:(0,e.unref)(f).longSectionValueMin,max:(0,e.unref)(f).longSectionValueMax,onChange:l[25]||(l[25]=e=>M("longSectionValue"))},null,8,["modelValue","step","min","max"])])),_:1}),(0,e.createVNode)(V,{span:7},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{modelValue:(0,e.unref)(f).longSectionValue,"onUpdate:modelValue":l[26]||(l[26]=i=>(0,e.unref)(f).longSectionValue=i),step:(0,e.unref)(f).longSectionValueStep,min:(0,e.unref)(f).longSectionValueMin,max:(0,e.unref)(f).longSectionValueMax,"controls-position":"right",onChange:l[27]||(l[27]=e=>M("longSectionValue"))},null,8,["modelValue","step","min","max"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).latSection},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(c,{modelValue:(0,e.unref)(f).enableLatSection,"onUpdate:modelValue":l[28]||(l[28]=i=>(0,e.unref)(f).enableLatSection=i),onChange:l[29]||(l[29]=e=>M("enableLatSection"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).latSection+(0,e.unref)(h).value},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(V,{span:17},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{modelValue:(0,e.unref)(f).latSectionValue,"onUpdate:modelValue":l[30]||(l[30]=i=>(0,e.unref)(f).latSectionValue=i),"show-tooltip":!1,step:(0,e.unref)(f).latSectionValueStep,min:(0,e.unref)(f).latSectionValueMin,max:(0,e.unref)(f).latSectionValueMax,onChange:l[31]||(l[31]=e=>M("latSectionValue"))},null,8,["modelValue","step","min","max"])])),_:1}),(0,e.createVNode)(V,{span:7},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{modelValue:(0,e.unref)(f).latSectionValue,"onUpdate:modelValue":l[32]||(l[32]=i=>(0,e.unref)(f).latSectionValue=i),step:(0,e.unref)(f).latSectionValueStep,min:(0,e.unref)(f).latSectionValueMin,max:(0,e.unref)(f).latSectionValueMax,"controls-position":"right",onChange:l[33]||(l[33]=e=>M("latSectionValue"))},null,8,["modelValue","step","min","max"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).heightSection},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(c,{modelValue:(0,e.unref)(f).enableHeightSection,"onUpdate:modelValue":l[34]||(l[34]=i=>(0,e.unref)(f).enableHeightSection=i),onChange:l[35]||(l[35]=e=>M("enableHeightSection"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).heightSection+(0,e.unref)(h).value},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(V,{span:17},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{modelValue:(0,e.unref)(f).heightSectionValue,"onUpdate:modelValue":l[36]||(l[36]=i=>(0,e.unref)(f).heightSectionValue=i),"show-tooltip":!1,step:1,min:0,max:(0,e.unref)(f).heightSectionValueMax,onChange:l[37]||(l[37]=e=>M("heightSectionValue"))},null,8,["modelValue","max"])])),_:1}),(0,e.createVNode)(V,{span:7},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{modelValue:(0,e.unref)(f).heightSectionValue,"onUpdate:modelValue":l[38]||(l[38]=i=>(0,e.unref)(f).heightSectionValue=i),step:1,min:0,max:(0,e.unref)(f).heightSectionValueMax,"controls-position":"right",onChange:l[39]||(l[39]=e=>M("heightSectionValue"))},null,8,["modelValue","max"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1})],64)):(0,e.createCommentVNode)("v-if",!0),(0,e.createCommentVNode)(" 体剖切设置 "),3===(0,e.unref)(f).slicingType?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:2},[(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).printlatlng},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(c,{modelValue:(0,e.unref)(f).bodyDissectionAxis,"onUpdate:modelValue":l[40]||(l[40]=i=>(0,e.unref)(f).bodyDissectionAxis=i),onChange:l[41]||(l[41]=e=>M("bodyDissectionAxis"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).floodAlpha},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(V,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{modelValue:(0,e.unref)(f).bodyDissectionAlpha,"onUpdate:modelValue":l[42]||(l[42]=i=>(0,e.unref)(f).bodyDissectionAlpha=i),step:.01,min:0,max:1,onChange:l[43]||(l[43]=e=>M("bodyDissectionAlpha"))},null,8,["modelValue","step"])])),_:1}),(0,e.createVNode)(V,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{modelValue:(0,e.unref)(f).bodyDissectionAlpha,"onUpdate:modelValue":l[44]||(l[44]=i=>(0,e.unref)(f).bodyDissectionAlpha=i),min:0,max:1,step:.01,"controls-position":"right",onChange:l[45]||(l[45]=e=>M("bodyDissectionAlpha"))},null,8,["modelValue","step"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).longitude+(0,e.unref)(h).direction+(0,e.unref)(h).clip},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(V,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{modelValue:(0,e.unref)(f).bodyDissectionXClipping,"onUpdate:modelValue":l[46]||(l[46]=i=>(0,e.unref)(f).bodyDissectionXClipping=i),step:.1,min:0,max:1,onChange:l[47]||(l[47]=e=>M("bodyDissectionXClipping"))},null,8,["modelValue","step"])])),_:1}),(0,e.createVNode)(V,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{modelValue:(0,e.unref)(f).bodyDissectionXClipping,"onUpdate:modelValue":l[48]||(l[48]=i=>(0,e.unref)(f).bodyDissectionXClipping=i),min:0,max:1,step:.1,"controls-position":"right",onChange:l[49]||(l[49]=e=>M("bodyDissectionXClipping"))},null,8,["modelValue","step"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{class:"rowclass"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).latitude+(0,e.unref)(h).direction+(0,e.unref)(h).clip},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(V,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{modelValue:(0,e.unref)(f).bodyDissectionYClipping,"onUpdate:modelValue":l[50]||(l[50]=i=>(0,e.unref)(f).bodyDissectionYClipping=i),step:.1,min:0,max:1,onChange:l[51]||(l[51]=e=>M("bodyDissectionYClipping"))},null,8,["modelValue","step"])])),_:1}),(0,e.createVNode)(V,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{modelValue:(0,e.unref)(f).bodyDissectionYClipping,"onUpdate:modelValue":l[52]||(l[52]=i=>(0,e.unref)(f).bodyDissectionYClipping=i),min:0,max:1,step:.1,"controls-position":"right",onChange:l[53]||(l[53]=e=>M("bodyDissectionYClipping"))},null,8,["modelValue","step"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{label:(0,e.unref)(h).height+(0,e.unref)(h).direction+(0,e.unref)(h).clip},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(V,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(v,{modelValue:(0,e.unref)(f).bodyDissectionZClipping,"onUpdate:modelValue":l[54]||(l[54]=i=>(0,e.unref)(f).bodyDissectionZClipping=i),step:1,min:1,max:(0,e.unref)(f).bodyDissectionZClippingMax,onChange:l[55]||(l[55]=e=>M("bodyDissectionZClipping"))},null,8,["modelValue","max"])])),_:1}),(0,e.createVNode)(V,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(C,{modelValue:(0,e.unref)(f).bodyDissectionZClipping,"onUpdate:modelValue":l[56]||(l[56]=i=>(0,e.unref)(f).bodyDissectionZClipping=i),min:1,max:(0,e.unref)(f).bodyDissectionZClippingMax,step:1,"controls-position":"right",onChange:l[57]||(l[57]=e=>M("bodyDissectionZClipping"))},null,8,["modelValue","max"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1})],64)):(0,e.createCommentVNode)("v-if",!0)])),_:1},8,["label-width"])])),_:1},8,["title"])])),_:1},8,["model-value"]),[[e.vShow,(0,e.unref)(y)]])])],2)),[[e.vShow,(0,e.unref)(_)]])}}}),g=s(7997),p=s.n(g);h.install=(e,i)=>{p()(e,i),e.component(h.name,h)}}(),r}()}));